├── src ├── tests │ └── source │ │ └── TestReadWrite.cc ├── utilities │ └── source │ │ └── SafeResult.cc ├── conv2d_memory_fusion │ ├── headers │ │ ├── ImageChunks.h │ │ └── Kernel.h │ └── source │ │ ├── PartialMatrix.cc │ │ ├── Image.cc │ │ ├── Kernel.cc │ │ ├── Matrix3D.cc │ │ ├── ImageBlock.cc │ │ ├── ImageChunk.cc │ │ ├── ImageToChunks.cc │ │ ├── KernelBiasJoin.cc │ │ ├── KernelToChunks.cc │ │ ├── ConvChunksToImage.cc │ │ ├── ConvResultToChunks.cc │ │ ├── ImageBlockToMatrix.cc │ │ └── ImageChunksToBlock.cc ├── linearAlgebraDSL │ ├── DSLSamples │ │ ├── test06.pdml │ │ ├── itest03.pdml │ │ ├── test07.pdml │ │ ├── test16.pdml │ │ ├── test17.pdml │ │ ├── test10.pdml │ │ ├── test11.pdml │ │ ├── test12.pdml │ │ ├── test13.pdml │ │ ├── test14.pdml │ │ ├── test15.pdml │ │ ├── test19.pdml │ │ ├── test08.pdml │ │ ├── test09.pdml │ │ ├── itest04.pdml │ │ ├── test01.pdml │ │ ├── test02.pdml │ │ ├── test03.pdml │ │ ├── itest02.pdml │ │ ├── itest01.pdml │ │ ├── sample01_Gram.pdml │ │ ├── test18.pdml │ │ ├── sample02_L2.pdml │ │ ├── Task02_L2_60000_50000_1000_1000.pdml │ │ ├── sample03_NN.pdml │ │ └── sample00_Parser.pdml │ ├── source │ │ ├── LALexer.os │ │ └── LAParser.os │ └── headers │ │ └── LAParser.h ├── sharedLibraries │ ├── source │ │ ├── Link.cc │ │ ├── RankedUrl.cc │ │ ├── LinkScanner.cc │ │ ├── LinkWithValue.cc │ │ ├── URLURLsRank.cc │ │ ├── RankedUrlWriter.cc │ │ ├── RankedUrlScanner.cc │ │ ├── DistinctProjection.cc │ │ ├── JoinRankedUrlWithLink.cc │ │ ├── RankUpdateAggregation.cc │ │ ├── URLRankMultiSelection.cc │ │ ├── MatrixData.cc │ │ ├── MatrixMeta.cc │ │ ├── MatrixBlock.cc │ │ ├── SillyJoin.cc │ │ ├── GMM │ │ │ ├── GmmModel.cc │ │ │ ├── GmmAggregateLazy.cc │ │ │ ├── GmmSampleSelection.cc │ │ │ ├── GmmAggregateNewComp.cc │ │ │ ├── GmmAggregateDatapoint.cc │ │ │ ├── GmmDataCountAggregate.cc │ │ │ └── GmmAggregateOutputLazy.cc │ │ ├── LeoQuery.cc │ │ ├── MethodJoin.cc │ │ ├── TopKTest.cc │ │ ├── IntAggregation.cc │ │ ├── LASingleMatrix.cc │ │ ├── AllSelection.cc │ │ ├── ScanIntSet.cc │ │ ├── SillyGroupBy.cc │ │ ├── CartesianJoin.cc │ │ ├── FinalSelection.cc │ │ ├── IntSillyJoin.cc │ │ ├── KMeansQuery.cc │ │ ├── LinkPartition.cc │ │ ├── RankPartition.cc │ │ ├── SillyAggregation.cc │ │ ├── SillySelection.cc │ │ ├── WriteIntSet.cc │ │ ├── SimpleAggregation.cc │ │ ├── WriteSumResultSet.cc │ │ ├── EmpWithVector.cc │ │ ├── EmployeeGroupBy.cc │ │ ├── KMeansCentroid.cc │ │ ├── PartialResult.cc │ │ ├── ScanStringSet.cc │ │ ├── SharedEmployee.cc │ │ ├── SimpleEmployee.cc │ │ ├── WriteKMeansSet.cc │ │ ├── LDA │ │ │ ├── DocAssignment.cc │ │ │ ├── TopicAssignment.cc │ │ │ ├── LDADocAssignmentMultiSelection.cc │ │ │ ├── LDATopicAssignmentMultiSelection.cc │ │ │ ├── LDATopicWordProb.cc │ │ │ ├── ScanTopicsPerWord.cc │ │ │ ├── LDADocWordTopicCount.cc │ │ │ ├── LDADocWordTopicJoin.cc │ │ │ ├── WriteTopicsPerWord.cc │ │ │ ├── LDADocTopicAggregate.cc │ │ │ ├── LDATopicWordAggregate.cc │ │ │ ├── LDAWordTopicAggregate.cc │ │ │ ├── LDADocTopicProbSelection.cc │ │ │ ├── WriteLDADocWordTopicAssignment.cc │ │ │ ├── LDADocTopicFromCountAggregate.cc │ │ │ ├── LDADocWordTopicMultiSelection.cc │ │ │ ├── LDATopicWordProbMultiSelection.cc │ │ │ ├── LDADocWordTopicAssignmentIdentity.cc │ │ │ ├── LDAInitialWordTopicProbSelection.cc │ │ │ ├── WriteLDADocWordTopicAssignmentSet.cc │ │ │ └── LDAInitialWordTopicProbMultiSelection.cc │ │ ├── WriteDoubleSet.cc │ │ ├── WriteStringSet.cc │ │ ├── EmployeeSelection.cc │ │ ├── ScanEmployeeSet.cc │ │ ├── WriteEmployeeSet.cc │ │ ├── ScanEmpWithVector.cc │ │ ├── OptimizedMethodJoin.cc │ │ ├── ScanDoubleArraySet.cc │ │ ├── ScanDoubleVectorSet.cc │ │ ├── ScanSupervisorSet.cc │ │ ├── WriteEmpWithVector.cc │ │ ├── DoubleVectorAggregation.cc │ │ ├── LAScanMatrixBlockSet.cc │ │ ├── LASillyColSumAggregate.cc │ │ ├── LASillyInverse2Selection.cc │ │ ├── LASillyRowSumAggregate.cc │ │ ├── LAWriteMaxElementSet.cc │ │ ├── LAWriteMinElementSet.cc │ │ ├── LAMaxElementValueType.cc │ │ ├── LAMinElementValueType.cc │ │ ├── LASillyAddJoin.cc │ │ ├── LASillyInverse1Aggregate.cc │ │ ├── LAWriteMatrixBlockSet.cc │ │ ├── WriteDoubleVectorSet.cc │ │ ├── KMeansAggregate.cc │ │ ├── LAMaxElementOutputType.cc │ │ ├── LAMinElementOutputType.cc │ │ ├── LASillyScaleMultiplyJoin.cc │ │ ├── ScanSimpleEmployeeSet.cc │ │ ├── ScanStringIntPairSet.cc │ │ ├── WriteBuiltinEmployeeSet.cc │ │ ├── LASillyColMaxAggregate.cc │ │ ├── LASillyColMinAggregate.cc │ │ ├── ScanBuiltinEmployeeSet.cc │ │ ├── SupervisorMultiSelection.cc │ │ ├── WriteStringIntPairSet.cc │ │ ├── AllSelectionWithCreation.cc │ │ ├── EmployeeIdentitySelection.cc │ │ ├── LASillyRowMaxAggregate.cc │ │ ├── LASillyRowMinAggregate.cc │ │ ├── LDADocument.cc │ │ ├── OptimizedEmployeeGroupBy.cc │ │ ├── KMeansAggregateOutputType.cc │ │ ├── KMeansDataCountAggregate.cc │ │ ├── LASillyMultiply1Join.cc │ │ ├── LASillySubstractJoin.cc │ │ ├── StringIntPairMultiSelection.cc │ │ ├── IntIntVectorPair.cc │ │ ├── ScanKMeansDoubleVectorSet.cc │ │ ├── IntSelectionOfStringIntPair.cc │ │ ├── LASillyInverse3MultiSelection.cc │ │ ├── WriteKMeansDoubleVectorSet.cc │ │ ├── ScanLDADocumentSet.cc │ │ ├── ScanOptimizedSupervisorSet.cc │ │ ├── IntDoubleVectorPair.cc │ │ ├── LDADocIDAggregate.cc │ │ ├── EmployeeBuiltInIdentitySelection.cc │ │ ├── LASillyMultiply2Aggregate.cc │ │ ├── LASillyTransposeSelection.cc │ │ ├── StringSelectionOfStringIntPair.cc │ │ ├── KMeansSampleSelection.cc │ │ ├── LASillyMaxElementAggregate.cc │ │ ├── LASillyMinElementAggregate.cc │ │ ├── KMeansNormVectorMap.cc │ │ ├── LASillyDuplicateColMultiSelection.cc │ │ ├── LASillyDuplicateRowMultiSelection.cc │ │ ├── LASillyTransposeMultiply1Join.cc │ │ ├── LDADocWordTopicAssignment.cc │ │ ├── WriteIntDoubleVectorPairSet.cc │ │ ├── ScanIntDoubleVectorPairSet.cc │ │ └── LDAInitialTopicProbSelection.cc │ └── headers │ │ ├── LinkScanner.h │ │ ├── RankedUrlWriter.h │ │ ├── RankedUrlScanner.h │ │ ├── ScanIntSet.h │ │ ├── ScanStringSet.h │ │ ├── WriteSumResultSet.h │ │ ├── WriteKMeansSet.h │ │ ├── LDA │ │ ├── WriteTopicsPerWord.h │ │ └── ScanTopicsPerWord.h │ │ ├── ScanEmployeeSet.h │ │ ├── ScanSupervisorSet.h │ │ ├── LinkWithValue.h │ │ ├── ScanEmpWithVector.h │ │ ├── ScanBuiltinEmployeeSet.h │ │ ├── ScanStringIntPairSet.h │ │ └── ScanSimpleEmployeeSet.h ├── logicalPlan │ ├── source │ │ ├── Lexer.os │ │ └── Parser.os │ └── headers │ │ └── Parser.h ├── word2vec │ ├── scripts │ │ └── tensor_list.npy │ └── source │ │ ├── EmbeddingSegment.cc │ │ └── EmbeddingLookupSparse.cc ├── dispatcher │ ├── source │ │ └── PartitionPolicy.cc │ └── headers │ │ ├── FairPolicy.h │ │ └── PartitionPolicyFactory.h ├── FF │ └── source │ │ ├── FFAggMatrix.cc │ │ ├── FFMatrixData.cc │ │ ├── FFMatrixMeta.cc │ │ ├── FFMatrixBlock.cc │ │ ├── FFOutputLayer.cc │ │ ├── FFRowAggregate.cc │ │ ├── FFSingleMatrix.cc │ │ ├── FFInputLayerJoin.cc │ │ ├── FFMatrixWriter.cc │ │ ├── FFReluBiasSum.cc │ │ ├── FFTransposeMult.cc │ │ ├── InferenceResult.cc │ │ ├── FFMatrixMultiSel.cc │ │ ├── FFMatrixBlockScanner.cc │ │ ├── FFMatrixPartitioner.cc │ │ ├── FFTransposeBiasSum.cc │ │ ├── FFAggMatrixToOneMatrix.cc │ │ └── InferenceResultPartition.cc ├── tpch │ └── source │ │ ├── Part.cc │ │ ├── Order.cc │ │ ├── Nation.cc │ │ ├── Region.cc │ │ ├── Customer.cc │ │ ├── LineItem.cc │ │ ├── Query01 │ │ ├── Q01Agg.cc │ │ ├── Q01AggOut.cc │ │ ├── Q01KeyClass.cc │ │ └── Q01ValueClass.cc │ │ ├── Query03 │ │ ├── Q03Agg.cc │ │ ├── Q03Join.cc │ │ ├── Q03AggOut.cc │ │ ├── Q03JoinOut.cc │ │ ├── Q03KeyClass.cc │ │ ├── Q03OrderSelection.cc │ │ ├── Q03CustomerSelection.cc │ │ └── Q03LineItemSelection.cc │ │ ├── Query04 │ │ ├── Q04Agg.cc │ │ ├── Q04Join.cc │ │ ├── Q04AggOut.cc │ │ └── Q04OrderSelection.cc │ │ ├── Query06 │ │ ├── Q06Agg.cc │ │ └── Q06LineItemSelection.cc │ │ ├── Query12 │ │ ├── Q12Agg.cc │ │ ├── Q12Join.cc │ │ ├── Q12AggOut.cc │ │ ├── Q12JoinOut.cc │ │ ├── Q12ValueClass.cc │ │ └── Q12LineItemSelection.cc │ │ ├── Query14 │ │ ├── Q14Agg.cc │ │ ├── Q14Join.cc │ │ ├── Q14AggOut.cc │ │ ├── Q14JoinOut.cc │ │ ├── Q14ValueClass.cc │ │ └── Q14LineItemSelection.cc │ │ ├── Supplier.cc │ │ ├── PartSupp.cc │ │ ├── Query02 │ │ ├── Q02MinAgg.cc │ │ ├── MinDouble.cc │ │ ├── Q02PartJoin.cc │ │ ├── Q02NationJoin.cc │ │ ├── Q02MinCostJoin.cc │ │ ├── Q02PartSuppJoin.cc │ │ ├── Q02SupplierJoin.cc │ │ ├── Q02PartSelection.cc │ │ ├── Q02MinCostPerPart.cc │ │ ├── Q02PartJoinOutput.cc │ │ ├── Q02RegionSelection.cc │ │ ├── Q02MinCostSelection.cc │ │ ├── Q02MinCostJoinOutput.cc │ │ ├── Q02PartSuppJoinOutput.cc │ │ ├── Q02SupplierJoinOutput.cc │ │ ├── Q02MinCostSelectionOutput.cc │ │ └── Q02PartJoinOutputIdentitySelection.cc │ │ ├── Query17 │ │ ├── Q17PriceSum.cc │ │ ├── Q17PartSelection.cc │ │ ├── Q17PartLineItemJoin.cc │ │ ├── Q17JoinedPartLineItem.cc │ │ ├── Q17LineItemAvgQuantity.cc │ │ ├── Q17PartLineItemAvgJoin.cc │ │ └── Q17PartLineItemIdentitySelection.cc │ │ ├── Query13 │ │ ├── Q13CountResult.cc │ │ ├── Q13CustomerOrders.cc │ │ ├── Q13OrderSelection.cc │ │ ├── Q13CustomerOrderJoin.cc │ │ ├── Q13OrdersPerCustomer.cc │ │ └── Q13CustomerDistribution.cc │ │ └── Query22 │ │ ├── Q22CntryBalAgg.cc │ │ ├── Q22CntryBalJoin.cc │ │ ├── Q22JoinedCntryBal.cc │ │ ├── Q22CustomerAccbalAvg.cc │ │ ├── Q22AggregatedCntryBal.cc │ │ ├── Q22OrderCountSelection.cc │ │ └── Q22OrderCountPerCustomer.cc ├── lambdas │ ├── headers │ │ ├── JoinTupleBase.h │ │ └── ComputeInfo.h │ └── source │ │ └── LambdaCreationFunctions.cc ├── tpchBench │ ├── source │ │ ├── AllParts.cc │ │ ├── TopJaccard.cc │ │ ├── SupplierInfo.cc │ │ ├── CountAggregation.cc │ │ ├── CustomerWriteSet.cc │ │ ├── CountCustomer.cc │ │ ├── ScanCustomerSet.cc │ │ ├── SumResultWriteSet.cc │ │ ├── SupplierData.cc │ │ ├── CustomerMultiSelection.cc │ │ ├── SupplierDataWriteSet.cc │ │ ├── SupplierInfoWriteSet.cc │ │ ├── CustomerStringSelection.cc │ │ ├── CustomerIntegerSelection.cc │ │ ├── Part.cc │ │ ├── CustomerSupplierPartFlat.cc │ │ ├── JaccardResultWriter.cc │ │ ├── Order.cc │ │ ├── CustomerStringSelectionNot.cc │ │ ├── CustomerIntegerSelectionNot.cc │ │ ├── CustomerSupplierPartGroupBy.cc │ │ ├── Customer.cc │ │ ├── LineItem.cc │ │ ├── Supplier.cc │ │ ├── CustomerStringSelectionVirtual.cc │ │ ├── CustomerIntegerSelectionVirtual.cc │ │ ├── VirtualCustomer.cc │ │ ├── CustomerStringSelectionVirtualNot.cc │ │ └── CustomerIntegerSelectionVirtualNot.cc │ └── headers │ │ ├── ScanCustomerSet.h │ │ └── JaccardResultWriter.h ├── reddit │ └── source │ │ ├── RedditSub.cc │ │ ├── RedditAuthor.cc │ │ ├── RedditComment.cc │ │ ├── RedditFeatures.cc │ │ ├── RedditJoin.cc │ │ ├── CommentFeatures.cc │ │ ├── CommentsChunk.cc │ │ ├── CommentPartition.cc │ │ ├── CommentsToChunks.cc │ │ ├── RedditFullFeatures.cc │ │ ├── SubsCommentsPartition.cc │ │ ├── LabelCommentsPartition.cc │ │ ├── RedditThreeWayJoin.cc │ │ ├── AuthorCommentsPartition.cc │ │ ├── CommentsToFeatures.cc │ │ ├── CommentBlockToMatrix.cc │ │ ├── MatrixBlockPartition.cc │ │ ├── RedditSubsAndComments.cc │ │ ├── CommentChunksToBlocks.cc │ │ ├── CommentFeatureChunks.cc │ │ ├── RedditCommentLabelJoin.cc │ │ ├── RedditLabelProjection.cc │ │ ├── RedditLabelSelection0_1.cc │ │ ├── RedditLabelSelection0_2.cc │ │ ├── RedditLabelSelection0_3.cc │ │ ├── RedditLabelSelection0_4.cc │ │ ├── RedditLabelSelection0_5.cc │ │ ├── RedditLabelSelection0_6.cc │ │ ├── RedditLabelSelection0_7.cc │ │ ├── RedditLabelSelection0_8.cc │ │ ├── RedditLabelSelection0_9.cc │ │ ├── RedditLabelSelection1_0.cc │ │ ├── RedditLabelSelection1_1.cc │ │ ├── RedditLabelSelection1_2.cc │ │ ├── RedditLabelSelection1_3.cc │ │ ├── RedditLabelSelection1_4.cc │ │ ├── RedditLabelSelection1_5.cc │ │ ├── RedditLabelSelection1_6.cc │ │ ├── RedditLabelSelection1_7.cc │ │ ├── RedditLabelSelection1_8.cc │ │ ├── RedditLabelSelection1_9.cc │ │ ├── CommentChunkToComments.cc │ │ ├── RedditLabelSelection0_10.cc │ │ ├── RedditLabelSelection1_10.cc │ │ ├── CommentFeaturesToChunks.cc │ │ ├── RedditJoinSubsAndComments.cc │ │ ├── RedditCommentInferenceJoin.cc │ │ ├── RedditLabelSelection0_0.cc │ │ ├── RedditThreeWayAdaptiveJoin.cc │ │ ├── RedditNegativeLabelSelection.cc │ │ └── RedditPositiveLabelSelection.cc ├── LSTM │ └── source │ │ ├── LSTMTwoSum.cc │ │ ├── LSTMHiddenState.cc │ │ └── LSTMThreeWaySum.cc ├── conv2d_proj │ └── source │ │ ├── TensorData.cc │ │ └── Conv2DSelect.cc ├── optimizerBenchmark │ ├── source │ │ ├── ScanStarsInSet.cc │ │ ├── SimpleMovieJoin.cc │ │ ├── ScanMovieStarSet.cc │ │ ├── SimpleMovieWrite.cc │ │ ├── SimpleMovieSelection.cc │ │ ├── StarsIn.cc │ │ └── MovieStar.cc │ └── headers │ │ ├── ScanStarsInSet.h │ │ └── ScanMovieStarSet.h ├── queriesTests │ ├── source │ │ └── QueriesTestsRunner.cc │ └── headers │ │ ├── QueriesTestsRunner.h │ │ └── SelectionTests.h ├── objectModel │ └── headers │ │ ├── RefCountMacros.h │ │ └── TypeName.h ├── boost │ └── boost │ │ ├── concept │ │ └── detail │ │ │ └── concept_undef.hpp │ │ ├── config │ │ ├── abi │ │ │ ├── msvc_suffix.hpp │ │ │ └── borland_suffix.hpp │ │ └── platform │ │ │ ├── amigaos.hpp │ │ │ └── cray.hpp │ │ ├── predef │ │ ├── detail │ │ │ ├── os_detected.h │ │ │ ├── comp_detected.h │ │ │ ├── platform_detected.h │ │ │ ├── _exception.h │ │ │ ├── _cassert.h │ │ │ └── test.h │ │ ├── library │ │ │ └── c │ │ │ │ └── _prefix.h │ │ ├── version.h │ │ ├── other.h │ │ └── library.h │ │ ├── mpl │ │ ├── aux_ │ │ │ └── preprocessed │ │ │ │ ├── bcc551 │ │ │ │ └── quote.hpp │ │ │ │ ├── msvc60 │ │ │ │ └── quote.hpp │ │ │ │ ├── no_ttp │ │ │ │ └── quote.hpp │ │ │ │ ├── bcc_pre590 │ │ │ │ └── quote.hpp │ │ │ │ ├── dmc │ │ │ │ └── template_arity.hpp │ │ │ │ ├── mwcw │ │ │ │ └── template_arity.hpp │ │ │ │ └── plain │ │ │ │ └── template_arity.hpp │ │ ├── next.hpp │ │ └── prior.hpp │ │ ├── functional │ │ └── hash_fwd.hpp │ │ ├── detail │ │ ├── endian.hpp │ │ ├── scoped_enum_emulation.hpp │ │ └── no_exceptions_support.hpp │ │ ├── ref.hpp │ │ ├── swap.hpp │ │ ├── noncopyable.hpp │ │ ├── function │ │ ├── function0.hpp │ │ ├── function1.hpp │ │ ├── function10.hpp │ │ ├── function2.hpp │ │ ├── function3.hpp │ │ ├── function4.hpp │ │ ├── function5.hpp │ │ ├── function6.hpp │ │ ├── function7.hpp │ │ ├── function8.hpp │ │ └── function9.hpp │ │ ├── utility │ │ ├── addressof.hpp │ │ └── enable_if.hpp │ │ ├── checked_delete.hpp │ │ ├── type_traits │ │ └── detail │ │ │ └── size_t_trait_undef.hpp │ │ ├── move │ │ └── detail │ │ │ └── config_end.hpp │ │ └── iterator.hpp ├── builtInPDBObjects │ └── headers │ │ ├── Nothing.h │ │ ├── ShutDown.h │ │ ├── KeepGoing.h │ │ ├── DoneWithResult.h │ │ ├── CloseConnection.h │ │ ├── ExecuteQuery.h │ │ ├── GetListOfNodes.h │ │ ├── StorageCollectStats.h │ │ ├── Holder.h │ │ └── SumResult.h ├── queries │ └── headers │ │ ├── FuncType.h │ │ ├── SetOperation.h │ │ ├── SetOperationSelection.h │ │ └── QueryAlgo.h ├── logicalPlanTests │ └── headers │ │ └── LogicalPlanTestsRunner.h ├── work │ ├── source │ │ └── PDBCommWork.cc │ └── headers │ │ └── PDBAlarm.h ├── storage │ └── source │ │ ├── PDBFlushProducerWork.cc │ │ └── PDBEvictWork.cc └── bufferMgr │ └── source │ └── MyDB_Table.cc ├── conf ├── serverlist.test ├── serverlist └── serverlist1 ├── scripts ├── test.sh ├── cleanupSoFiles1.sh ├── stopWorker.sh ├── syncWithPliny.sh ├── proc │ ├── local_sys_collect.sh │ └── 2_collect_all_proc.sh ├── runPipelineBench.sh ├── runPipelineBenchVirtual.sh ├── run-bench.sh ├── run-tests.sh ├── cmdWorkers.sh ├── sshWorkers.sh ├── cleanupNode.sh ├── checkProcess.sh ├── train.sh ├── lsWorkers.sh ├── query.txt └── pangeaDeepRL │ └── setup.py ├── model-inference ├── deduplication │ ├── indexing │ │ ├── lsh │ │ │ ├── __init__.py │ │ │ └── hashFunction.py │ │ ├── .gitignore │ │ └── requirements.txt │ └── page-packing │ │ └── data │ │ ├── tensor_list.npy │ │ ├── civil_trainable.npy │ │ ├── imdb_trainable.npy │ │ ├── tensor_list_300.npy │ │ ├── yelp_trainable.npy │ │ ├── imdb_nontrainable.npy │ │ ├── yelp_nontrainable.npy │ │ └── detector_output_same_size_unshared_located_random.npy ├── decisionTree │ └── README.md ├── pytorch-tensorflow-experiments │ └── CNN-conv2d │ │ └── __pycache__ │ │ ├── utils.cpython-38.pyc │ │ └── utils.cpython-39.pyc └── tensorflow-experiments │ └── Extreme_Classification_Test │ └── Save_Input_to_CSV.py ├── docs └── selfLearning-database-schema-full.pdf └── tools ├── docker ├── remove-all.sh ├── frontend-image │ └── Dockerfile ├── cluster-image │ └── Dockerfile ├── build-tests-image │ ├── build-command.sh │ ├── build-tests.sh │ ├── Dockerfile │ └── clean-tests.sh ├── base-image │ └── build-base-image.sh ├── compose-profile │ ├── collect-info.sh │ └── run-cluster.sh ├── compose │ └── run-cluster.sh └── compose-debug │ └── run-cluster.sh ├── code └── format-project.sh └── cmake └── tests ├── Test90.cmake ├── Tests.cmake ├── Test74.cmake └── Test78.cmake /src/tests/source/TestReadWrite.cc: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/utilities/source/SafeResult.cc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /conf/serverlist.test: -------------------------------------------------------------------------------- 1 | localhost:8109 2 | -------------------------------------------------------------------------------- /conf/serverlist: -------------------------------------------------------------------------------- 1 | 172.31.7.116 2 | 172.31.9.64 3 | -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/headers/ImageChunks.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/source/PartialMatrix.cc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test06.pdml: -------------------------------------------------------------------------------- 1 | A = identity(20,2) 2 | B = A^T -------------------------------------------------------------------------------- /scripts/test.sh: -------------------------------------------------------------------------------- 1 | for (( i=0 ; i<=5 ; i++ )) 2 | do 3 | echo $i 4 | done 5 | -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/itest03.pdml: -------------------------------------------------------------------------------- 1 | A = ones(20,20,2,2) 2 | B = A '* A -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test07.pdml: -------------------------------------------------------------------------------- 1 | A = identity(20,2) 2 | B = A^-1 -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test16.pdml: -------------------------------------------------------------------------------- 1 | A = identity(20,2) 2 | B = max(A) -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test17.pdml: -------------------------------------------------------------------------------- 1 | A = identity(20,2) 2 | B = min(A) -------------------------------------------------------------------------------- /scripts/cleanupSoFiles1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # by Jia 3 | 4 | rm /var/tmp/*.so 5 | -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test10.pdml: -------------------------------------------------------------------------------- 1 | A = identity(20,2) 2 | B = rowMax(A) -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test11.pdml: -------------------------------------------------------------------------------- 1 | A = identity(20,2) 2 | B = rowMin(A) -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test12.pdml: -------------------------------------------------------------------------------- 1 | A = identity(20,2) 2 | B = rowSum(A) -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test13.pdml: -------------------------------------------------------------------------------- 1 | A = identity(20,2) 2 | B = colMax(A) -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test14.pdml: -------------------------------------------------------------------------------- 1 | A = identity(20,2) 2 | B = colMin(A) -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test15.pdml: -------------------------------------------------------------------------------- 1 | A = identity(20,2) 2 | B = colSum(A) -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test19.pdml: -------------------------------------------------------------------------------- 1 | A = identity(20,2) 2 | B = (A '* A)^-1 -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test08.pdml: -------------------------------------------------------------------------------- 1 | A = ones(1,10,1,10) 2 | B = duplicateRow(A,10,10) -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test09.pdml: -------------------------------------------------------------------------------- 1 | A = ones(10,1,10,1) 2 | B = duplicateCol(A,10,10) -------------------------------------------------------------------------------- /conf/serverlist1: -------------------------------------------------------------------------------- 1 | 172.30.4.171 2 | 172.30.4.77 3 | 172.30.4.133 4 | 172.30.4.151 5 | 172.30.4.174 6 | -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/itest04.pdml: -------------------------------------------------------------------------------- 1 | A = ones(20,20,2,2) 2 | B = ones(20,20,2,2) 3 | C = A '* B -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test01.pdml: -------------------------------------------------------------------------------- 1 | A = ones(20,20,10,10) 2 | B = identity(20,10) 3 | C = A + B -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test02.pdml: -------------------------------------------------------------------------------- 1 | A = ones(20,20,2,2) 2 | B = identity(20,2) 3 | C = A - B -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test03.pdml: -------------------------------------------------------------------------------- 1 | A = ones(20,20,2,2) 2 | B = identity(20,2) 3 | C = A * B -------------------------------------------------------------------------------- /src/sharedLibraries/source/Link.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | GET_V_TABLE(Link) -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/itest02.pdml: -------------------------------------------------------------------------------- 1 | A = ones(20,20,10,10) 2 | B = identity(20,10) 3 | C = rowMax(A + B) -------------------------------------------------------------------------------- /src/logicalPlan/source/Lexer.os: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/src/logicalPlan/source/Lexer.os -------------------------------------------------------------------------------- /src/logicalPlan/source/Parser.os: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/src/logicalPlan/source/Parser.os -------------------------------------------------------------------------------- /src/sharedLibraries/source/RankedUrl.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | GET_V_TABLE(RankedUrl) -------------------------------------------------------------------------------- /src/sharedLibraries/source/LinkScanner.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include "LinkScanner.h" 3 | 4 | GET_V_TABLE(LinkScanner) -------------------------------------------------------------------------------- /src/word2vec/scripts/tensor_list.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/src/word2vec/scripts/tensor_list.npy -------------------------------------------------------------------------------- /model-inference/deduplication/indexing/lsh/__init__.py: -------------------------------------------------------------------------------- 1 | import sys,os 2 | sys.path.append(os.path.dirname(os.path.abspath(__file__))) -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/itest01.pdml: -------------------------------------------------------------------------------- 1 | A = ones(20,20,2,2) 2 | B = identity(20,2) 3 | C = zeros(20,20,2,2) 4 | D = A + B + C -------------------------------------------------------------------------------- /src/linearAlgebraDSL/source/LALexer.os: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/src/linearAlgebraDSL/source/LALexer.os -------------------------------------------------------------------------------- /src/linearAlgebraDSL/source/LAParser.os: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/src/linearAlgebraDSL/source/LAParser.os -------------------------------------------------------------------------------- /src/sharedLibraries/source/LinkWithValue.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | GET_V_TABLE(LinkWithValue) -------------------------------------------------------------------------------- /src/sharedLibraries/source/URLURLsRank.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | GET_V_TABLE(URLURLsRank) 5 | -------------------------------------------------------------------------------- /docs/selfLearning-database-schema-full.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/docs/selfLearning-database-schema-full.pdf -------------------------------------------------------------------------------- /scripts/stopWorker.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | pkill -9 pdb-server 5 | pkill -9 test603 6 | pkill -9 pdb-cluster 7 | pkill -9 test404 8 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/RankedUrlWriter.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | GET_V_TABLE(RankedUrlWriter) -------------------------------------------------------------------------------- /src/sharedLibraries/source/RankedUrlScanner.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | GET_V_TABLE(RankedUrlScanner) -------------------------------------------------------------------------------- /src/sharedLibraries/source/DistinctProjection.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include "DistinctProjection.h" 3 | 4 | GET_V_TABLE(DistinctProjection) -------------------------------------------------------------------------------- /src/sharedLibraries/source/JoinRankedUrlWithLink.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | GET_V_TABLE(JoinRankedUrlWithLink) -------------------------------------------------------------------------------- /src/sharedLibraries/source/RankUpdateAggregation.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | GET_V_TABLE(RankUpdateAggregation) -------------------------------------------------------------------------------- /src/dispatcher/source/PartitionPolicy.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef OBJECTQUERYMODEL_PARTITIONPOLICY_CC 3 | #define OBJECTQUERYMODEL_PARTITIONPOLICY_CC 4 | 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/sample01_Gram.pdml: -------------------------------------------------------------------------------- 1 | X1 = load(100,10,100,1,"./src/linearAlgebraDSL/TestDataGenerator/m_10000_10_100_10.data") 2 | Result = X1 '* X1 -------------------------------------------------------------------------------- /src/sharedLibraries/source/URLRankMultiSelection.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | GET_V_TABLE(URLRankMultiSelection) 5 | -------------------------------------------------------------------------------- /tools/docker/remove-all.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Delete all containers 3 | docker rm $(docker ps -a -q) 4 | # Delete all images 5 | docker rmi -f $(docker images -q) -------------------------------------------------------------------------------- /model-inference/decisionTree/README.md: -------------------------------------------------------------------------------- 1 | 2 | The benchmark framework for the Decision Forest inference is moved to this repo: https://github.com/asu-cactus/DFInferBench 3 | -------------------------------------------------------------------------------- /tools/docker/frontend-image/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM dimitrijejankov/pdb:latest 2 | 3 | # set the mount volume for pdb 4 | VOLUME /pdb 5 | 6 | # go to the pdb directory 7 | WORKDIR /pdb -------------------------------------------------------------------------------- /model-inference/deduplication/page-packing/data/tensor_list.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/model-inference/deduplication/page-packing/data/tensor_list.npy -------------------------------------------------------------------------------- /model-inference/deduplication/page-packing/data/civil_trainable.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/model-inference/deduplication/page-packing/data/civil_trainable.npy -------------------------------------------------------------------------------- /model-inference/deduplication/page-packing/data/imdb_trainable.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/model-inference/deduplication/page-packing/data/imdb_trainable.npy -------------------------------------------------------------------------------- /model-inference/deduplication/page-packing/data/tensor_list_300.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/model-inference/deduplication/page-packing/data/tensor_list_300.npy -------------------------------------------------------------------------------- /model-inference/deduplication/page-packing/data/yelp_trainable.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/model-inference/deduplication/page-packing/data/yelp_trainable.npy -------------------------------------------------------------------------------- /model-inference/deduplication/indexing/.gitignore: -------------------------------------------------------------------------------- 1 | # ignore large size folders 2 | 3 | old_code/** 4 | archive/** 5 | dataset/** 6 | models/** 7 | __pycache__/** 8 | .ipynb_checkpoints/** 9 | -------------------------------------------------------------------------------- /model-inference/deduplication/page-packing/data/imdb_nontrainable.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/model-inference/deduplication/page-packing/data/imdb_nontrainable.npy -------------------------------------------------------------------------------- /model-inference/deduplication/page-packing/data/yelp_nontrainable.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/model-inference/deduplication/page-packing/data/yelp_nontrainable.npy -------------------------------------------------------------------------------- /src/FF/source/FFAggMatrix.cc: -------------------------------------------------------------------------------- 1 | #ifndef FF_AGG_MATRIX_CC 2 | #define FF_AGG_MATRIX_CC 3 | 4 | #include "FFAggMatrix.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(FFAggMatrix) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/tpch/source/Part.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_PART_CC 2 | #define TPCH_PART_CC 3 | 4 | #include "GetVTable.h" 5 | #include "TPCHSchema.h" 6 | 7 | GET_V_TABLE(tpch::Part) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/FF/source/FFMatrixData.cc: -------------------------------------------------------------------------------- 1 | #ifndef FF_MATRIX_DATA_CC 2 | #define FF_MATRIX_DATA_CC 3 | 4 | #include "FFMatrixData.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(FFMatrixData) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/FF/source/FFMatrixMeta.cc: -------------------------------------------------------------------------------- 1 | #ifndef FF_MATRIX_META_CC 2 | #define FF_MATRIX_META_CC 3 | 4 | #include "FFMatrixMeta.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(FFMatrixMeta) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/lambdas/headers/JoinTupleBase.h: -------------------------------------------------------------------------------- 1 | #ifndef JOIN_TUPLE_BASE_HEADER 2 | #define JOIN_TUPLE_BASE_HEADER 3 | #endif 4 | 5 | 6 | namespace pdb { 7 | 8 | class JoinTupleBase {}; 9 | } 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/MatrixData.cc: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_DATA_CC 2 | #define MATRIX_DATA_CC 3 | 4 | #include "GetVTable.h" 5 | #include "MatrixData.h" 6 | 7 | GET_V_TABLE(MatrixData) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/MatrixMeta.cc: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_META_CC 2 | #define MATRIX_META_CC 3 | 4 | #include "GetVTable.h" 5 | #include "MatrixMeta.h" 6 | 7 | GET_V_TABLE(MatrixMeta) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/tpch/source/Order.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_ORDER_CC 2 | #define TPCH_ORDER_CC 3 | 4 | #include "GetVTable.h" 5 | #include "TPCHSchema.h" 6 | 7 | GET_V_TABLE(tpch::Order) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/AllParts.cc: -------------------------------------------------------------------------------- 1 | #ifndef ALL_PARTS_CC 2 | #define ALL_PARTS_CC 3 | 4 | #include "GetVTable.h" 5 | #include "AllParts.h" 6 | 7 | GET_V_TABLE(AllParts) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/FF/source/FFMatrixBlock.cc: -------------------------------------------------------------------------------- 1 | #ifndef FF_MATRIX_BLOCK_CC 2 | #define FF_MATRIX_BLOCK_CC 3 | 4 | #include "FFMatrixBlock.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(FFMatrixBlock) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/FF/source/FFOutputLayer.cc: -------------------------------------------------------------------------------- 1 | #ifndef FF_OUTPUTLAYER_CC 2 | #define FF_OUTPUTLAYER_CC 3 | 4 | #include "GetVTable.h" 5 | #include "FFOutputLayer.h" 6 | 7 | GET_V_TABLE(FFOutputLayer) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/test18.pdml: -------------------------------------------------------------------------------- 1 | A = load(2,2,2,2,"./src/linearAlgebraDSL/TestDataGenerator/foo.data") 2 | B = load(2,2,2,2,"./src/linearAlgebraDSL/TestDataGenerator/foo.data") 3 | C = A '* B -------------------------------------------------------------------------------- /src/reddit/source/RedditSub.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_SUB_CC 2 | #define REDDIT_SUB_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditSub.h" 6 | 7 | GET_V_TABLE(reddit::Sub) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/MatrixBlock.cc: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_BLOCK_CC 2 | #define MATRIX_BLOCK_CC 3 | 4 | #include "GetVTable.h" 5 | #include "MatrixBlock.h" 6 | 7 | GET_V_TABLE(MatrixBlock) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/tpch/source/Nation.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_NATION_CC 2 | #define TPCH_NATION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "TPCHSchema.h" 6 | 7 | GET_V_TABLE(tpch::Nation) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Region.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_REGION_CC 2 | #define TPCH_REGION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "TPCHSchema.h" 6 | 7 | GET_V_TABLE(tpch::Region) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/FF/source/FFRowAggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef FF_ROW_AGGREGATE_CC 2 | #define FF_ROW_AGGREGATE_CC 3 | 4 | #include "FFRowAggregate.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(FFRowAggregate) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/FF/source/FFSingleMatrix.cc: -------------------------------------------------------------------------------- 1 | #ifndef FF_SINGLE_MATRIX_CC 2 | #define FF_SINGLE_MATRIX_CC 3 | 4 | #include "FFSingleMatrix.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(FFSingleMatrix) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/LSTM/source/LSTMTwoSum.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef LSTM_TWO_SUM_CC 3 | #define LSTM_TWO_SUM_CC 4 | 5 | #include "LSTMTwoSum.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(LSTMTwoSum) 9 | 10 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/SillyJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_JOIN_CC 2 | #define SILLY_JOIN_CC 3 | 4 | #include "SillyJoin.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(SillyJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Customer.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_CUSTOMER_CC 2 | #define TPCH_CUSTOMER_CC 3 | 4 | #include "GetVTable.h" 5 | #include "TPCHSchema.h" 6 | 7 | GET_V_TABLE(tpch::Customer) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/LineItem.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_LINEITEM_CC 2 | #define TPCH_LINEITEM_CC 3 | 4 | #include "GetVTable.h" 5 | #include "TPCHSchema.h" 6 | 7 | GET_V_TABLE(tpch::LineItem) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query01/Q01Agg.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q01AGG_CC 2 | #define TPCH_Q01AGG_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query01.h" 6 | 7 | GET_V_TABLE(tpch::Q01Agg) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query03/Q03Agg.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q03AGG_CC 2 | #define TPCH_Q03AGG_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query03.h" 6 | 7 | GET_V_TABLE(tpch::Q03Agg) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query04/Q04Agg.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q04AGG_CC 2 | #define TPCH_Q04AGG_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query04.h" 6 | 7 | GET_V_TABLE(tpch::Q04Agg) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query06/Q06Agg.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q06AGG_CC 2 | #define TPCH_Q06AGG_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query06.h" 6 | 7 | GET_V_TABLE(tpch::Q06Agg) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query12/Q12Agg.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q12AGG_CC 2 | #define TPCH_Q12AGG_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query12.h" 6 | 7 | GET_V_TABLE(tpch::Q12Agg) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query14/Q14Agg.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q14AGG_CC 2 | #define TPCH_Q14AGG_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query14.h" 6 | 7 | GET_V_TABLE(tpch::Q14Agg) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Supplier.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_SUPPLIER_CC 2 | #define TPCH_SUPPLIER_CC 3 | 4 | #include "GetVTable.h" 5 | #include "TPCHSchema.h" 6 | 7 | GET_V_TABLE(tpch::Supplier) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/TopJaccard.cc: -------------------------------------------------------------------------------- 1 | #ifndef TOP_JACCARD_CC 2 | #define TOP_JACCARD_CC 3 | 4 | #include "GetVTable.h" 5 | #include "TopJaccard.h" 6 | 7 | GET_V_TABLE(TopJaccard) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/source/Image.cc: -------------------------------------------------------------------------------- 1 | #ifndef CONV2D_IMAGE_CC 2 | #define CONV2D_IMAGE_CC 3 | 4 | #include "Image.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(conv2d_memory_fusion::Image) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/conv2d_proj/source/TensorData.cc: -------------------------------------------------------------------------------- 1 | #ifndef TENSORDATA_CC 2 | #define TENSORDATA_CC 3 | 4 | #include "GetVTable.h" 5 | #include "TensorData.h" 6 | 7 | GET_V_TABLE(pdb::TensorData) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/GMM/GmmModel.cc: -------------------------------------------------------------------------------- 1 | #ifndef GMM_MODEL_CC 2 | #define GMM_MODEL_CC 3 | 4 | #include "GMM/GmmModel.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(GmmModel) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LeoQuery.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef LEO_QUERY_CC 3 | #define LEO_QUERY_CC 4 | 5 | #include "LeoQuery.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(LeoQuery) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/MethodJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef METHOD_JOIN_CC 2 | #define METHOD_JOIN_CC 3 | 4 | #include "MethodJoin.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(MethodJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/TopKTest.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef TOP_K_TEST_CC 3 | #define TOP_K_TEST_CC 4 | 5 | #include "TopKTest.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(TopKTest) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/tpch/source/PartSupp.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_PART_SUPP_CC 2 | #define TPCH_PART_SUPP_CC 3 | 4 | #include "GetVTable.h" 5 | #include "TPCHSchema.h" 6 | 7 | GET_V_TABLE(tpch::PartSupp) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query03/Q03Join.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q03JOIN_CC 2 | #define TPCH_Q03JOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query03.h" 6 | 7 | GET_V_TABLE(tpch::Q03Join) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query04/Q04Join.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q04JOIN_CC 2 | #define TPCH_Q04JOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query04.h" 6 | 7 | GET_V_TABLE(tpch::Q04Join) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query12/Q12Join.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q12JOIN_CC 2 | #define TPCH_Q12JOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query12.h" 6 | 7 | GET_V_TABLE(tpch::Q12Join) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query14/Q14Join.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q14JOIN_CC 2 | #define TPCH_Q14JOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query14.h" 6 | 7 | GET_V_TABLE(tpch::Q14Join) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/FF/source/FFInputLayerJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef FF_INPUTLAYER_JOIN_CC 2 | #define FF_INPUTLAYER_JOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "FFInputLayerJoin.h" 6 | 7 | GET_V_TABLE(FFInputLayerJoin) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/source/Kernel.cc: -------------------------------------------------------------------------------- 1 | #ifndef CONV2D_KERNEL_CC 2 | #define CONV2D_KERNEL_CC 3 | 4 | #include "Kernel.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(conv2d_memory_fusion::Kernel) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/reddit/source/RedditAuthor.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_AUTHOR_CC 2 | #define REDDIT_AUTHOR_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditAuthor.h" 6 | 7 | GET_V_TABLE(reddit::Author) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/IntAggregation.cc: -------------------------------------------------------------------------------- 1 | #ifndef INT_AGG_CC 2 | #define INT_AGG_CC 3 | 4 | #include "IntAggregation.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(IntAggregation) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASingleMatrix.cc: -------------------------------------------------------------------------------- 1 | #ifndef LA_SINGLE_MATRIX_CC 2 | #define LA_SINGLE_MATRIX_CC 3 | 4 | #include "GetVTable.h" 5 | #include "LASingleMatrix.h" 6 | 7 | GET_V_TABLE(SingleMatrix) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/tpch/source/Query01/Q01AggOut.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q01AGGOUT_CC 2 | #define TPCH_Q01AGGOUT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query01.h" 6 | 7 | GET_V_TABLE(tpch::Q01AggOut) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02MinAgg.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02MINAGG_CC 2 | #define TPCH_Q02MINAGG_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02MinAgg) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query03/Q03AggOut.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q03AGGOUT_CC 2 | #define TPCH_Q03AGGOUT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query03.h" 6 | 7 | GET_V_TABLE(tpch::Q03AggOut) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query04/Q04AggOut.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q04AGGOUT_CC 2 | #define TPCH_Q04AGGOUT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query04.h" 6 | 7 | GET_V_TABLE(tpch::Q04AggOut) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query12/Q12AggOut.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q12AGGOUT_CC 2 | #define TPCH_Q12AGGOUT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query12.h" 6 | 7 | GET_V_TABLE(tpch::Q12AggOut) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query14/Q14AggOut.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q14AGGOUT_CC 2 | #define TPCH_Q14AGGOUT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query14.h" 6 | 7 | GET_V_TABLE(tpch::Q14AggOut) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/FF/source/FFMatrixWriter.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef FF_MATRIX_WRITER_CC 3 | #define FF_MATRIX_WRITER_CC 4 | 5 | #include "FFMatrixWriter.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(FFMatrixWriter) 9 | 10 | #endif -------------------------------------------------------------------------------- /src/FF/source/FFReluBiasSum.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef FF_RELU_BIAS_SUM_CC 3 | #define FF_RELU_BIAS_SUM_CC 4 | 5 | #include "FFReluBiasSum.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(FFReluBiasSum) 9 | 10 | #endif -------------------------------------------------------------------------------- /src/conv2d_proj/source/Conv2DSelect.cc: -------------------------------------------------------------------------------- 1 | #ifndef CONV2D_SELECT_CC 2 | #define CONV2D_SELECT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Conv2DSelect.h" 6 | 7 | GET_V_TABLE(Conv2DSelect) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/optimizerBenchmark/source/ScanStarsInSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef SCAN_STARSIN_SET_CC 2 | #define SCAN_STARSIN_SET_CC 3 | 4 | #include "ScanStarsInSet.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(ScanStarsInSet) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/reddit/source/RedditComment.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_COMMENT_CC 2 | #define REDDIT_COMMENT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditComment.h" 6 | 7 | GET_V_TABLE(reddit::Comment) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/AllSelection.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef ALL_SELECT_CC 3 | #define ALL_SELECT_CC 4 | 5 | #include "AllSelection.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(AllSelection) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/ScanIntSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_INT_SET_CC 3 | #define SCAN_INT_SET_CC 4 | 5 | #include "ScanIntSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(ScanIntSet) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/SillyGroupBy.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_GROUPBY_CC 2 | #define SILLY_GROUPBY_CC 3 | 4 | #include "SillyGroupBy.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(SillyGroupBy) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/MinDouble.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_MIN_DOUBLE_CC 2 | #define TPCH_MIN_DOUBLE_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::MinDouble) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query03/Q03JoinOut.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q03JOINOUT_CC 2 | #define TPCH_Q03JOINOUT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query03.h" 6 | 7 | GET_V_TABLE(tpch::Q03JoinOut) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query12/Q12JoinOut.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q12JOINOUT_CC 2 | #define TPCH_Q12JOINOUT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query12.h" 6 | 7 | GET_V_TABLE(tpch::Q12JoinOut) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query14/Q14JoinOut.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q14JOINOUT_CC 2 | #define TPCH_Q14JOINOUT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query14.h" 6 | 7 | GET_V_TABLE(tpch::Q14JoinOut) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/FF/source/FFTransposeMult.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef FF_TRANSPOSE_MULT_CC 3 | #define FF_TRANSPOSE_MULT_CC 4 | 5 | #include "FFTransposeMult.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(FFTransposeMult) 9 | 10 | #endif -------------------------------------------------------------------------------- /src/FF/source/InferenceResult.cc: -------------------------------------------------------------------------------- 1 | #ifndef INFERENCE_RESULT_CC 2 | #define INFERENCE_RESULT_CC 3 | 4 | #include "InferenceResult.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(InferenceResult) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/source/Matrix3D.cc: -------------------------------------------------------------------------------- 1 | #ifndef CONV2D_MATRIX3D_CC 2 | #define CONV2D_MATRIX3D_CC 3 | 4 | #include "Matrix3D.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(conv2d_memory_fusion::Matrix3D) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/optimizerBenchmark/source/SimpleMovieJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef SIMPLE_MOVIE_JOIN_CC 2 | #define SIMPLE_MOVIE_JOIN_CC 3 | 4 | #include "SimpleMovieJoin.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(SimpleMovieJoin) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/reddit/source/RedditFeatures.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_FEATURES_CC 2 | #define REDDIT_FEATURES_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditFeatures.h" 6 | 7 | GET_V_TABLE(reddit::Features) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_JOIN_CC 2 | #define REDDIT_JOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditJoin.h" 6 | 7 | GET_V_TABLE(reddit::JoinAuthorsWithComments) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/CartesianJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef CARTESIAN_JOIN_CC 2 | #define CARTESIAN_JOIN_CC 3 | 4 | #include "CartesianJoin.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(CartesianJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/FinalSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef FINAL_SELECT_CC 2 | #define FINAL_SELECT_CC 3 | 4 | #include "FinalSelection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(FinalSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/IntSillyJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef INT_SILLY_JOIN_CC 2 | #define INT_SILLY_JOIN_CC 3 | 4 | #include "IntSillyJoin.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(IntSillyJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/KMeansQuery.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef KMEANS_QUERY_CC 3 | #define KMEANS_QUERY_CC 4 | 5 | #include "KMeansQuery.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(KMeansQuery) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LinkPartition.cc: -------------------------------------------------------------------------------- 1 | #ifndef LINK_PARTITION_CC 2 | #define LINK_PARTITION_CC 3 | 4 | #include "LinkPartition.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(LinkPartition) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/RankPartition.cc: -------------------------------------------------------------------------------- 1 | #ifndef RANK_PARTITION_CC 2 | #define RANK_PARTITION_CC 3 | 4 | #include "RankPartition.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(RankPartition) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/SillyAggregation.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_AGG_CC 2 | #define SILLY_AGG_CC 3 | 4 | #include "SillyAggregation.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(SillyAggregation) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/SillySelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_SELECT_CC 2 | #define SILLY_SELECT_CC 3 | 4 | #include "SillySelection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(SillySelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/WriteIntSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef WRITE_INT_SET_CC 3 | #define WRITE_INT_SET_CC 4 | 5 | #include "WriteIntSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(WriteIntSet) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/tpch/source/Query01/Q01KeyClass.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q01KEYCLASS_CC 2 | #define TPCH_Q01KEYCLASS_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query01.h" 6 | 7 | GET_V_TABLE(tpch::Q01KeyClass) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02PartJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02PARTJOIN_CC 2 | #define TPCH_Q02PARTJOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02PartJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query03/Q03KeyClass.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q03KEYCLASS_CC 2 | #define TPCH_Q03KEYCLASS_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query03.h" 6 | 7 | GET_V_TABLE(tpch::Q03KeyClass) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query17/Q17PriceSum.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q17PRICESUM_CC 2 | #define TPCH_Q17PRICESUM_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query17.h" 6 | 7 | GET_V_TABLE(tpch::Q17PriceSum) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /model-inference/pytorch-tensorflow-experiments/CNN-conv2d/__pycache__/utils.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/model-inference/pytorch-tensorflow-experiments/CNN-conv2d/__pycache__/utils.cpython-38.pyc -------------------------------------------------------------------------------- /model-inference/pytorch-tensorflow-experiments/CNN-conv2d/__pycache__/utils.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/model-inference/pytorch-tensorflow-experiments/CNN-conv2d/__pycache__/utils.cpython-39.pyc -------------------------------------------------------------------------------- /src/FF/source/FFMatrixMultiSel.cc: -------------------------------------------------------------------------------- 1 | #ifndef FF_MATRIX_MULTISEL_CC 2 | #define FF_MATRIX_MULTISEL_CC 3 | 4 | #include "FFMatrixMultiSel.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(FFMatrixMultiSel) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/LSTM/source/LSTMHiddenState.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef LSTM_HIDDEN_STATE_CC 3 | #define LSTM_HIDDEN_STATE_CC 4 | 5 | #include "LSTMHiddenState.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(LSTMHiddenState) 9 | 10 | #endif -------------------------------------------------------------------------------- /src/LSTM/source/LSTMThreeWaySum.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef LSTM_THREE_WAY_SUM_CC 3 | #define LSTM_THREE_WAY_SUM_CC 4 | 5 | #include "LSTMThreeWaySum.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(LSTMThreeWaySum) 9 | 10 | #endif -------------------------------------------------------------------------------- /src/optimizerBenchmark/source/ScanMovieStarSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef SCAN_MOVIESTAR_SET_CC 2 | #define SCAN_MOVIESTAR_SET_CC 3 | 4 | #include "ScanMovieStarSet.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(ScanMovieStarSet) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/optimizerBenchmark/source/SimpleMovieWrite.cc: -------------------------------------------------------------------------------- 1 | #ifndef SIMPLE_MOVIE_WRITE_CC 2 | #define SIMPLE_MOVIE_WRITE_CC 3 | 4 | #include "SimpleMovieWrite.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(SimpleMovieWrite) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/SimpleAggregation.cc: -------------------------------------------------------------------------------- 1 | #ifndef SIMPLE_AGG_CC 2 | #define SIMPLE_AGG_CC 3 | 4 | #include "SimpleAggregation.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(SimpleAggregation) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/WriteSumResultSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef WRITE_SUM_RESULT_CC 2 | #define WRITE_SUM_RESULT_CC 3 | 4 | #include "WriteSumResultSet.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(WriteSumResultSet) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/tpch/source/Query01/Q01ValueClass.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q01VALUECLASS_CC 2 | #define TPCH_Q01VALUECLASS_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query01.h" 6 | 7 | GET_V_TABLE(tpch::Q01ValueClass) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02NationJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02NATIONJOIN_CC 2 | #define TPCH_Q02NATIONJOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02NationJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query12/Q12ValueClass.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q12VALUECLASS_CC 2 | #define TPCH_Q12VALUECLASS_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query12.h" 6 | 7 | GET_V_TABLE(tpch::Q12ValueClass) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query14/Q14ValueClass.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q14ValueClass_CC 2 | #define TPCH_Q14ValueClass_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query14.h" 6 | 7 | GET_V_TABLE(tpch::Q14ValueClass) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/SupplierInfo.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SUPPLIER_INFO_CC 3 | #define SUPPLIER_INFO_CC 4 | 5 | #include "SupplierInfo.h" 6 | 7 | #include "GetVTable.h" 8 | 9 | GET_V_TABLE(SupplierInfo) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/queriesTests/source/QueriesTestsRunner.cc: -------------------------------------------------------------------------------- 1 | #include "QueriesTestsRunner.h" 2 | #include "SelectionTests.h" 3 | 4 | namespace pdb_tests { 5 | void runQueriesTests(UnitTest& qunit) { 6 | testSelectionExecute(qunit); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/reddit/source/CommentFeatures.cc: -------------------------------------------------------------------------------- 1 | #ifndef COMMENT_FEATURES_CC 2 | #define COMMENT_FEATURES_CC 3 | 4 | #include "CommentFeatures.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(reddit::CommentFeatures) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/CommentsChunk.cc: -------------------------------------------------------------------------------- 1 | #ifndef COMMENTS_CHUNKS_CC 2 | #define COMMENTS_CHUNKS_CC 3 | 4 | #include "CommentsChunk.h" 5 | 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(reddit::CommentsChunk) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/EmpWithVector.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef EMP_WITH_VECTOR_CC 3 | #define EMP_WITH_VECTOR_CC 4 | 5 | #include "EmpWithVector.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(EmpWithVector) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/EmployeeGroupBy.cc: -------------------------------------------------------------------------------- 1 | #ifndef EMPLOYEE_GROUPBY_CC 2 | #define EMPLOYEE_GROUPBY_CC 3 | 4 | #include "EmployeeGroupBy.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(EmployeeGroupBy) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/KMeansCentroid.cc: -------------------------------------------------------------------------------- 1 | #ifndef K_MEANS_CENTROID_CC 2 | #define K_MEANS_CENTROID_CC 3 | 4 | #include "KMeansCentroid.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(KMeansCentroid) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/PartialResult.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef PARTIAL_RESULT_CC 3 | #define PARTIAL_RESULT_CC 4 | 5 | #include "PartialResult.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(PartialResult) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/ScanStringSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_STRING_SET_CC 3 | #define SCAN_STRING_SET_CC 4 | 5 | #include "ScanStringSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(ScanStringSet) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/SharedEmployee.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SHARED_EMPLOYEE_C 3 | #define SHARED_EMPLOYEE_C 4 | 5 | #include "GetVTable.h" 6 | #include "SharedEmployee.h" 7 | 8 | GET_V_TABLE(SharedEmployee) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/SimpleEmployee.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SIMPLE_EMPLOYEE_C 3 | #define SIMPLE_EMPLOYEE_C 4 | 5 | #include "GetVTable.h" 6 | #include "SimpleEmployee.h" 7 | 8 | GET_V_TABLE(SimpleEmployee) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/WriteKMeansSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef WRITE_K_MEANS_SET_CC 2 | #define WRITE_K_MEANS_SET_CC 3 | 4 | #include "WriteKMeansSet.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(WriteKMeansSet) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02MinCostJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02MINCOSTJOIN_CC 2 | #define TPCH_Q02MINCOSTJOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02MinCostJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query13/Q13CountResult.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q13COUNTRESULT_CC 2 | #define TPCH_Q13COUNTRESULT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query13.h" 6 | 7 | GET_V_TABLE(tpch::Q13CountResult) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query22/Q22CntryBalAgg.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q22CNTRYBALAGG_CC 2 | #define TPCH_Q22CNTRYBALAGG_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query22.h" 6 | 7 | GET_V_TABLE(tpch::Q22CntryBalAgg) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/CountAggregation.cc: -------------------------------------------------------------------------------- 1 | #ifndef Count_Aggregation_CC 2 | #define Count_Aggregation_CC 3 | 4 | #include "CountAggregation.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(CountAggregation) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/FF/source/FFMatrixBlockScanner.cc: -------------------------------------------------------------------------------- 1 | #ifndef LA_SCAN_MATRIXBLOCK_SET_CC 2 | #define LA_SCAN_MATRIXBLOCK_SET_CC 3 | 4 | #include "FFMatrixBlockScanner.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(FFMatrixBlockScanner) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/source/ImageBlock.cc: -------------------------------------------------------------------------------- 1 | #ifndef CONV2D_IMAGE_BLOCK_CC 2 | #define CONV2D_IMAGE_BLOCK_CC 3 | 4 | #include "ImageBlock.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(conv2d_memory_fusion::ImageBlock) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/source/ImageChunk.cc: -------------------------------------------------------------------------------- 1 | #ifndef CONV2D_IMAGE_CHUNK_CC 2 | #define CONV2D_IMAGE_CHUNK_CC 3 | 4 | #include "ImageChunk.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(conv2d_memory_fusion::ImageChunk) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/reddit/source/CommentPartition.cc: -------------------------------------------------------------------------------- 1 | #ifndef COMMENT_PARTITION_CC 2 | #define COMMENT_PARTITION_CC 3 | 4 | #include "CommentPartition.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(reddit::CommentPartition) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/DocAssignment.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef DOC_ASSIGNMENT_CC 3 | #define DOC_ASSIGNMENT_CC 4 | 5 | #include "GetVTable.h" 6 | #include "LDA/DocAssignment.h" 7 | 8 | GET_V_TABLE(DocAssignment) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/WriteDoubleSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef WRITE_DOUBLE_SET_CC 3 | #define WRITE_DOUBLE_SET_CC 4 | 5 | #include "WriteDoubleSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(WriteDoubleSet) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/WriteStringSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef WRITE_STRING_SET_CC 3 | #define WRITE_STRING_SET_CC 4 | 5 | #include "WriteStringSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(WriteStringSet) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02PartSuppJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02PARTSUPPJOIN_CC 2 | #define TPCH_Q02PARTSUPPJOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02PartSuppJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02SupplierJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02SUPPLIERJOIN_CC 2 | #define TPCH_Q02SUPPLIERJOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02SupplierJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query22/Q22CntryBalJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q22CNTRYBALJOIN_CC 2 | #define TPCH_Q22CNTRYBALJOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query22.h" 6 | 7 | GET_V_TABLE(tpch::Q22CntryBalJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/CustomerWriteSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef CUSTOMER_WRITE_SET_CC 2 | #define CUSTOMER_WRITE_SET_CC 3 | 4 | #include "CustomerWriteSet.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(CustomerWriteSet) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/FF/source/FFMatrixPartitioner.cc: -------------------------------------------------------------------------------- 1 | #ifndef FF_MATRIX_PARTITIONER_CC 2 | #define FF_MATRIX_PARTITIONER_CC 3 | 4 | #include "FFMatrixPartitioner.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(FFMatrixPartitioner) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/FF/source/FFTransposeBiasSum.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef FF_TRANSPOSE_BIAS_SUM_CC 3 | #define FF_TRANSPOSE_BIAS_SUM_CC 4 | 5 | #include "FFTransposeBiasSum.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(FFTransposeBiasSum) 9 | 10 | #endif -------------------------------------------------------------------------------- /src/reddit/source/CommentsToChunks.cc: -------------------------------------------------------------------------------- 1 | #ifndef COMMENTS_TO_CHUNKS_CC 2 | #define COMMENTS_TO_CHUNKS_CC 3 | 4 | #include "CommentsToChunks.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(reddit::CommentsToChunks) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditFullFeatures.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_FULLFEATURES_CC 2 | #define REDDIT_FULLFEATURES_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditFullFeatures.h" 6 | 7 | GET_V_TABLE(reddit::FullFeatures) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/SubsCommentsPartition.cc: -------------------------------------------------------------------------------- 1 | #ifndef SUBS_COMMENTS_PARTITION_CC 2 | #define SUBS_COMMENTS_PARTITION_CC 3 | 4 | #include "SubsCommentsPartition.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(SubsCommentsPartition) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/EmployeeSelection.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef EMPLOYEE_SELECT_CC 3 | #define EMPLOYEE_SELECT_CC 4 | 5 | #include "EmployeeSelection.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(EmployeeSelection) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/ScanEmployeeSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_EMPLOYEE_SET_CC 3 | #define SCAN_EMPLOYEE_SET_CC 4 | 5 | #include "ScanEmployeeSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(ScanEmployeeSet) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02PartSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02PARTSELECTION_CC 2 | #define TPCH_Q02PARTSELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02PartSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query17/Q17PartSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q17PARTSELECTION_CC 2 | #define TPCH_Q17PARTSELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query17.h" 6 | 7 | GET_V_TABLE(tpch::Q17PartSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/CountCustomer.cc: -------------------------------------------------------------------------------- 1 | #ifndef Count_Customer_Aggregation_CC 2 | #define Count_Customer_Aggregation_CC 3 | 4 | #include "CountCustomer.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(CountCustomer) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/ScanCustomerSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_CUSTOMER_SET_CC 3 | #define SCAN_CUSTOMER_SET_CC 4 | 5 | #include "ScanCustomerSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(ScanCustomerSet) 9 | 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/tpchBench/source/SumResultWriteSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef RESULT_SUM_WRITE_SET_CC 2 | #define RESULT_SUM_WRITE_SET_CC 3 | 4 | #include "SumResultWriteSet.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(SumResultWriteSet) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/FF/source/FFAggMatrixToOneMatrix.cc: -------------------------------------------------------------------------------- 1 | #ifndef FF_AGG_MATRIX_TO_ONE_MATRIX_CC 2 | #define FF_AGG_MATRIX_TO_ONE_MATRIX_CC 3 | 4 | #include "FFAggMatrixToOneMatrix.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(FFAggMatrixToOneMatrix) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/optimizerBenchmark/source/SimpleMovieSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef SIMPLE_MOVIE_SELECTION_CC 2 | #define SIMPLE_MOVIE_SELECTION_CC 3 | 4 | #include "SimpleMovieSelection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(SimpleMovieSelection) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/reddit/source/LabelCommentsPartition.cc: -------------------------------------------------------------------------------- 1 | #ifndef LABEL_COMMENTS_PARTITION_CC 2 | #define LABEL_COMMENTS_PARTITION_CC 3 | 4 | #include "LabelCommentsPartition.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(LabelCommentsPartition) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/reddit/source/RedditThreeWayJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_THREE_WAY_JOIN_CC 2 | #define REDDIT_THREE_WAY_JOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditThreeWayJoin.h" 6 | 7 | GET_V_TABLE(reddit::ThreeWayJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/GMM/GmmAggregateLazy.cc: -------------------------------------------------------------------------------- 1 | #ifndef GMM_AGGREGATE_LAZY_CC 2 | #define GMM_AGGREGATE_LAZY_CC 3 | 4 | #include "GMM/GmmAggregateLazy.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(GmmAggregateLazy) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/TopicAssignment.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef TOPIC_ASSIGNMENT_CC 3 | #define TOPIC_ASSIGNMENT_CC 4 | 5 | #include "GetVTable.h" 6 | #include "LDA/TopicAssignment.h" 7 | 8 | GET_V_TABLE(TopicAssignment) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/WriteEmployeeSet.cc: -------------------------------------------------------------------------------- 1 | 2 | 3 | #ifndef WRITE_EMPLOYEE_SET_CC 4 | #define WRITE_EMPLOYEE_SET_CC 5 | 6 | #include "WriteEmployeeSet.h" 7 | #include "GetVTable.h" 8 | 9 | GET_V_TABLE(WriteEmployeeSet) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02MinCostPerPart.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02MINCOSTPERPART_CC 2 | #define TPCH_Q02MINCOSTPERPART_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02MinCostPerPart) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02PartJoinOutput.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02PARTJOINOUTPUT_CC 2 | #define TPCH_Q02PARTJOINOUTPUT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02PartJoinOutput) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02RegionSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02REGIONSELECTION_CC 2 | #define TPCH_Q02REGIONSELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02RegionSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query03/Q03OrderSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q03ORDERSELECTION_CC 2 | #define TPCH_Q03ORDERSELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query03.h" 6 | 7 | GET_V_TABLE(tpch::Q03OrderSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query04/Q04OrderSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q04ORDERSELECTION_CC 2 | #define TPCH_Q04ORDERSELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query04.h" 6 | 7 | GET_V_TABLE(tpch::Q04OrderSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query13/Q13CustomerOrders.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q13CUSTOMERORDERS_CC 2 | #define TPCH_Q13CUSTOMERORDERS_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query13.h" 6 | 7 | GET_V_TABLE(tpch::Q13CustomerOrders) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query13/Q13OrderSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q13ORDERSELECTION_CC 2 | #define TPCH_Q13ORDERSELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query13.h" 6 | 7 | GET_V_TABLE(tpch::Q13OrderSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query22/Q22JoinedCntryBal.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q22JOINEDCNTRYBAL_CC 2 | #define TPCH_Q22JOINEDCNTRYBAL_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query22.h" 6 | 7 | GET_V_TABLE(tpch::Q22JoinedCntryBal) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/SupplierData.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef CustomerSupplierPartAGG_CC 3 | #define CustomerSupplierPartAGG_CC 4 | 5 | #include "SupplierData.h" 6 | 7 | #include "GetVTable.h" 8 | 9 | GET_V_TABLE(SupplierData) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /tools/docker/cluster-image/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM dimitrijejankov/pdb:latest 2 | 3 | # make the profiling directory 4 | RUN mkdir /profile-info 5 | 6 | # go to the pdb directory 7 | WORKDIR /pdb 8 | 9 | # add the binaries 10 | ADD bin /pdb 11 | -------------------------------------------------------------------------------- /model-inference/deduplication/page-packing/data/detector_output_same_size_unshared_located_random.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asu-cactus/netsdb/HEAD/model-inference/deduplication/page-packing/data/detector_output_same_size_unshared_located_random.npy -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/source/ImageToChunks.cc: -------------------------------------------------------------------------------- 1 | #ifndef CONV2D_IMAGE_TO_CHUNK_CC 2 | #define CONV2D_IMAGE_TO_CHUNK_CC 3 | 4 | #include "ImageToChunks.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(conv2d_memory_fusion::ImageToChunks) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/reddit/source/AuthorCommentsPartition.cc: -------------------------------------------------------------------------------- 1 | #ifndef AUTHOR_COMMENTS_PARTITION_CC 2 | #define AUTHOR_COMMENTS_PARTITION_CC 3 | 4 | #include "AuthorCommentsPartition.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(AuthorCommentsPartition) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/reddit/source/CommentsToFeatures.cc: -------------------------------------------------------------------------------- 1 | #ifndef COMMENTS_TO_FEATURES_CC 2 | #define COMMENTS_TO_FEATURES_CC 3 | 4 | #include "CommentsToFeatures.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(reddit::CommentsToFeatures) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/ScanEmpWithVector.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_EMP_WITH_VECTOR_CC 3 | #define SCAN_EMP_WITH_VECTOR_CC 4 | 5 | #include "GetVTable.h" 6 | #include "ScanEmpWithVector.h" 7 | 8 | GET_V_TABLE(ScanEmpWithVector) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02MinCostSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02MINCOSTSELECTION_CC 2 | #define TPCH_Q02MINCOSTSELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02MinCostSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query17/Q17PartLineItemJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q17PARTLINEITEMJOIN_CC 2 | #define TPCH_Q17PARTLINEITEMJOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query17.h" 6 | 7 | GET_V_TABLE(tpch::Q17PartLineItemJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/source/KernelBiasJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef CONV2D_KERNEL_BIAS_JOIN_CC 2 | #define CONV2D_KERNEL_BIAS_JOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "KernelBiasJoin.h" 6 | 7 | GET_V_TABLE(conv2d_memory_fusion::KernelBiasJoin) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/source/KernelToChunks.cc: -------------------------------------------------------------------------------- 1 | #ifndef CONV2D_KERNEL_TO_CHUNK_CC 2 | #define CONV2D_KERNEL_TO_CHUNK_CC 3 | 4 | #include "KernelToChunks.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(conv2d_memory_fusion::KernelToChunks) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/sample02_L2.pdml: -------------------------------------------------------------------------------- 1 | X = load(100,10,10,1, "./src/linearAlgebraDSL/TestDataGenerator/L2_X_1000_10_100_10.data") 2 | y = load(100,1,10,1, "./src/linearAlgebraDSL/TestDataGenerator/L2_y_1000_100.data") 3 | beta = (X '* X)^-1 %*% (X '* y) -------------------------------------------------------------------------------- /src/sharedLibraries/source/GMM/GmmSampleSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef GMM_SAMPLE_SELECTION_CC 2 | #define GMM_SAMPLE_SELECTION_CC 3 | 4 | #include "GMM/GmmSampleSelection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(GmmSampleSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/OptimizedMethodJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef OPTIMIZED_METHOD_JOIN_CC 2 | #define OPTIMIZED_METHOD_JOIN_CC 3 | 4 | #include "OptimizedMethodJoin.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(OptimizedMethodJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/ScanDoubleArraySet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_DOUBLE_ARRAY_SET_CC 3 | #define SCAN_DOUBLE_ARRAY_SET_CC 4 | 5 | #include "ScanDoubleArraySet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(ScanDoubleArraySet) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/ScanDoubleVectorSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef SCAN_DOUBLE_VECTOR_SET_CC 2 | #define SCAN_DOUBLE_VECTOR_SET_CC 3 | 4 | #include "ScanDoubleVectorSet.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(ScanDoubleVectorSet) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/ScanSupervisorSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_SUPERVISOR_SET_CC 3 | #define SCAN_SUPERVISOR_SET_CC 4 | 5 | #include "ScanSupervisorSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(ScanSupervisorSet) 9 | 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/WriteEmpWithVector.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef WRITE_EMP_WITH_VECTOR_CC 3 | #define WRITE_EMP_WITH_VECTOR_CC 4 | 5 | #include "GetVTable.h" 6 | #include "WriteEmpWithVector.h" 7 | 8 | GET_V_TABLE(WriteEmpWithVector) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02MinCostJoinOutput.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02MINCOSTJOINOUTPUT_CC 2 | #define TPCH_Q02MINCOSTJOINOUTPUT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02MinCostJoinOutput) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query03/Q03CustomerSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q03CUSTOMERSELECTION_CC 2 | #define TPCH_Q03CUSTOMERSELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query03.h" 6 | 7 | GET_V_TABLE(tpch::Q03CustomerSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query03/Q03LineItemSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q03LINEITEMSELECTION_CC 2 | #define TPCH_Q03LINEITEMSELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query03.h" 6 | 7 | GET_V_TABLE(tpch::Q03LineItemSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query06/Q06LineItemSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q06LINEITEMSELECTION_CC 2 | #define TPCH_Q06LINEITEMSELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query06.h" 6 | 7 | GET_V_TABLE(tpch::Q06LineItemSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query12/Q12LineItemSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q12LINEITEMSELECTION_CC 2 | #define TPCH_Q12LINEITEMSELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query12.h" 6 | 7 | GET_V_TABLE(tpch::Q12LineItemSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query13/Q13CustomerOrderJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q13CUSTOMERORDERJOIN_CC 2 | #define TPCH_Q13CUSTOMERORDERJOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query13.h" 6 | 7 | GET_V_TABLE(tpch::Q13CustomerOrderJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query13/Q13OrdersPerCustomer.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q13ORDERSPERCUSTOMER_CC 2 | #define TPCH_Q13ORDERSPERCUSTOMER_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query13.h" 6 | 7 | GET_V_TABLE(tpch::Q13OrdersPerCustomer) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query14/Q14LineItemSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q14LineItemSelection_CC 2 | #define TPCH_Q14LineItemSelection_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query14.h" 6 | 7 | GET_V_TABLE(tpch::Q14LineItemSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query22/Q22CustomerAccbalAvg.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q22CUSTOMERACCBALAVG_CC 2 | #define TPCH_Q22CUSTOMERACCBALAVG_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query22.h" 6 | 7 | GET_V_TABLE(tpch::Q22CustomerAccbalAvg) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/CustomerMultiSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef CUSTOMER_MULTI_SELECT_CC 2 | #define CUSTOMER_MULTI_SELECT_CC 3 | 4 | #include "CustomerMultiSelection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(CustomerMultiSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/SupplierDataWriteSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef SUPPLIER_DATA_WRITE_SET_CC 2 | #define SUPPLIER_DATA_WRITE_SET_CC 3 | 4 | #include "SupplierDataWriteSet.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(SupplierDataWriteSet) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/SupplierInfoWriteSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef SUPPLIER_INFO_WRITE_SET_CC 2 | #define SUPPLIER_INFO_WRITE_SET_CC 3 | 4 | #include "SupplierInfoWriteSet.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(SupplierInfoWriteSet) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /scripts/syncWithPliny.sh: -------------------------------------------------------------------------------- 1 | mkdir bin 2 | rm -rf bin/* 3 | ln -s $PLINY_HOME/bin/pdb-server bin/pdb-server 4 | ln -s $PLINY_HOME/bin/pdb-cluster bin/pdb-cluster 5 | ln -s $PLINY_HOME/bin/pdb-client bin/CatalogTests 6 | ln -s $PLINY_HOME/build/test-pdb-topk bin/test57 7 | -------------------------------------------------------------------------------- /src/reddit/source/CommentBlockToMatrix.cc: -------------------------------------------------------------------------------- 1 | #ifndef COMMENT_BLOCK_TO_MATRIX_CC 2 | #define COMMENT_BLOCK_TO_MATRIX_CC 3 | 4 | #include "CommentBlockToMatrix.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(reddit::CommentBlockToMatrix) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/MatrixBlockPartition.cc: -------------------------------------------------------------------------------- 1 | #ifndef COMMENT_BLOCKS_PARTITION_CC 2 | #define COMMENT_BLOCKS_PARTITION_CC 3 | 4 | #include "MatrixBlockPartition.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(reddit::MatrixBlockPartition) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditSubsAndComments.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_SUBS_AND_COMMENTS_CC 2 | #define REDDIT_SUBS_AND_COMMENTS_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditSubsAndComments.h" 6 | 7 | GET_V_TABLE(reddit::SubsAndComments) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/DoubleVectorAggregation.cc: -------------------------------------------------------------------------------- 1 | #ifndef DOUBLE_VECTOR_AGG_CC 2 | #define DOUBLE_VECTOR_AGG_CC 3 | 4 | #include "DoubleVectorAggregation.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(DoubleVectorAggregation) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/GMM/GmmAggregateNewComp.cc: -------------------------------------------------------------------------------- 1 | #ifndef GMM_AGGREGATE_NEWCOMP_CC 2 | #define GMM_AGGREGATE_NEWCOMP_CC 3 | 4 | #include "GMM/GmmAggregateNewComp.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(GmmAggregateNewComp) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LAScanMatrixBlockSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef LA_SCAN_MATRIXBLOCK_SET_CC 3 | #define LA_SCAN_MATRIXBLOCK_SET_CC 4 | 5 | #include "LAScanMatrixBlockSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(LAScanMatrixBlockSet) 9 | 10 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyColSumAggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_COL_SUM_AGGREGATE_CC 2 | #define SILLY_LA_COL_SUM_AGGREGATE_CC 3 | 4 | #include "GetVTable.h" 5 | #include "LASillyColSumAggregate.h" 6 | 7 | GET_V_TABLE(LASillyColSumAggregate) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyInverse2Selection.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_INVERSE2_SELECT_CC 2 | #define SILLY_LA_INVERSE2_SELECT_CC 3 | 4 | #include "LASillyInverse2Selection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(LASillyInverse2Selection) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyRowSumAggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_ROW_SUM_AGGREGATE_CC 2 | #define SILLY_LA_ROW_SUM_AGGREGATE_CC 3 | 4 | #include "GetVTable.h" 5 | #include "LASillyRowSumAggregate.h" 6 | 7 | GET_V_TABLE(LASillyRowSumAggregate) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LAWriteMaxElementSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef LA_WRITE_MAXDOUBLE_SET_CC 2 | #define LA_WRITE_MAXDOUBLE_SET_CC 3 | 4 | #include "LAWriteMaxElementSet.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(LAWriteMaxElementSet) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LAWriteMinElementSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef LA_WRITE_MINDOUBLE_SET_CC 2 | #define LA_WRITE_MINDOUBLE_SET_CC 3 | 4 | #include "LAWriteMinElementSet.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(LAWriteMinElementSet) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02PartSuppJoinOutput.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02PARTSUPPJOINOUTPUT_CC 2 | #define TPCH_Q02PARTSUPPJOINOUTPUT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02PartSuppJoinOutput) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02SupplierJoinOutput.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02SUPPLIERJOINOUTPUT_CC 2 | #define TPCH_Q02SUPPLIERJOINOUTPUT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02SupplierJoinOutput) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query17/Q17JoinedPartLineItem.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q17JOINEDPARTLINEITEM_CC 2 | #define TPCH_Q17JOINEDPARTLINEITEM_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query17.h" 6 | 7 | GET_V_TABLE(tpch::Q17JoinedPartLineItem) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query22/Q22AggregatedCntryBal.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q22AGGREGATEDCNTRYBAL_CC 2 | #define TPCH_Q22AGGREGATEDCNTRYBAL_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query22.h" 6 | 7 | GET_V_TABLE(tpch::Q22AggregatedCntryBal) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/CustomerStringSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef CUSTOMER_STRING_SELECT_CC 2 | #define CUSTOMER_STRING_SELECT_CC 3 | 4 | #include "CustomerStringSelection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(CustomerStringSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /scripts/proc/local_sys_collect.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # by Jia 3 | 4 | 5 | echo "[INFO] local sys collect" 6 | cpu_num=`grep -c 'model name' /proc/cpuinfo` 7 | echo -e "CPUNumber:\t $cpu_num" 8 | grep 'MemTotal' /proc/meminfo 9 | grep 'model name' /proc/cpuinfo 10 | -------------------------------------------------------------------------------- /src/FF/source/InferenceResultPartition.cc: -------------------------------------------------------------------------------- 1 | #ifndef INFERENCE_RESULT_PARTITION_CC 2 | #define INFERENCE_RESULT_PARTITION_CC 3 | 4 | #include "InferenceResultPartition.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(InferenceResultPartition) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/CommentChunksToBlocks.cc: -------------------------------------------------------------------------------- 1 | #ifndef COMMENT_CHUNKS_TO_BLOCKS_CC 2 | #define COMMENT_CHUNKS_TO_BLOCKS_CC 3 | 4 | #include "CommentChunksToBlocks.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(reddit::CommentChunksToBlocks) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/CommentFeatureChunks.cc: -------------------------------------------------------------------------------- 1 | #ifndef COMMENT_FEATURE_CHUNKS_CC 2 | #define COMMENT_FEATURE_CHUNKS_CC 3 | 4 | #include "CommentFeatureChunks.h" 5 | 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(reddit::CommentFeatureChunks) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/reddit/source/RedditCommentLabelJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_COMMENT_LABEL_JOIN_CC 2 | #define REDDIT_COMMENT_LABEL_JOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditCommentLabelJoin.h" 6 | 7 | GET_V_TABLE(reddit::CommentLabelJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelProjection.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_PROJECTION_CC 2 | #define REDDIT_LABEL_PROJECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelProjection.h" 6 | 7 | GET_V_TABLE(reddit::RedditLabelProjection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection0_1.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_01CC 2 | #define REDDIT_LABEL_SELECTION_01CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection0_1.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection0_1) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection0_2.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_02CC 2 | #define REDDIT_LABEL_SELECTION_02CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection0_2.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection0_2) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection0_3.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_03CC 2 | #define REDDIT_LABEL_SELECTION_03CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection0_3.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection0_3) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection0_4.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_04CC 2 | #define REDDIT_LABEL_SELECTION_04CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection0_4.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection0_4) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection0_5.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_05CC 2 | #define REDDIT_LABEL_SELECTION_05CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection0_5.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection0_5) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection0_6.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_06CC 2 | #define REDDIT_LABEL_SELECTION_06CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection0_6.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection0_6) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection0_7.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_07CC 2 | #define REDDIT_LABEL_SELECTION_07CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection0_7.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection0_7) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection0_8.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_08CC 2 | #define REDDIT_LABEL_SELECTION_08CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection0_8.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection0_8) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection0_9.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_09CC 2 | #define REDDIT_LABEL_SELECTION_09CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection0_9.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection0_9) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection1_0.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_10CC 2 | #define REDDIT_LABEL_SELECTION_10CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection1_0.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection1_0) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection1_1.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_11CC 2 | #define REDDIT_LABEL_SELECTION_11CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection1_1.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection1_1) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection1_2.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_12CC 2 | #define REDDIT_LABEL_SELECTION_12CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection1_2.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection1_2) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection1_3.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_13CC 2 | #define REDDIT_LABEL_SELECTION_13CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection1_3.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection1_3) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection1_4.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_14CC 2 | #define REDDIT_LABEL_SELECTION_14CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection1_4.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection1_4) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection1_5.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_15CC 2 | #define REDDIT_LABEL_SELECTION_15CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection1_5.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection1_5) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection1_6.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_16CC 2 | #define REDDIT_LABEL_SELECTION_16CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection1_6.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection1_6) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection1_7.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_17CC 2 | #define REDDIT_LABEL_SELECTION_17CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection1_7.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection1_7) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection1_8.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_18CC 2 | #define REDDIT_LABEL_SELECTION_18CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection1_8.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection1_8) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection1_9.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_19CC 2 | #define REDDIT_LABEL_SELECTION_19CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection1_9.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection1_9) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LAMaxElementValueType.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef LA_MAX_ELEMENT_VALUE_CC 3 | #define LA_MAX_ELEMENT_VALUE_CC 4 | 5 | #include "LAMaxElementValueType.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(LAMaxElementValueType) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LAMinElementValueType.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef LA_MIN_ELEMENT_VALUE_CC 3 | #define LA_MIN_ELEMENT_VALUE_CC 4 | 5 | #include "LAMinElementValueType.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(LAMinElementValueType) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyAddJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_ADD_JOIN_CC 2 | #define SILLY_LA_ADD_JOIN_CC 3 | 4 | // by Binhang, May 2017 5 | 6 | #include "GetVTable.h" 7 | #include "LASillyAddJoin.h" 8 | 9 | GET_V_TABLE(LASillyAddJoin) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyInverse1Aggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_INVERSE1_AGGREGATE_CC 2 | #define SILLY_LA_INVERSE1_AGGREGATE_CC 3 | 4 | #include "GetVTable.h" 5 | #include "LASillyInverse1Aggregate.h" 6 | 7 | GET_V_TABLE(LASillyInverse1Aggregate) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LAWriteMatrixBlockSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef LA_WRITE_MATRIXBLOCK_SET_CC 3 | #define LA_WRITE_MATRIXBLOCK_SET_CC 4 | 5 | #include "LAWriteMatrixBlockSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(LAWriteMatrixBlockSet) 9 | 10 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/WriteDoubleVectorSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef WRITE_DOUBLE_VECTOR_SET_CC 3 | #define WRITE_DOUBLE_VECTOR_SET_CC 4 | 5 | #include "WriteDoubleVectorSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(WriteDoubleVectorSet) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/tpch/source/Query13/Q13CustomerDistribution.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q13CUSTOMERDISTRIBUTION_CC 2 | #define TPCH_Q13CUSTOMERDISTRIBUTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query13.h" 6 | 7 | GET_V_TABLE(tpch::Q13CustomerDistribution) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query17/Q17LineItemAvgQuantity.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q17LINEITEMAVGQUANTITY_CC 2 | #define TPCH_Q17LINEITEMAVGQUANTITY_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query17.h" 6 | 7 | GET_V_TABLE(tpch::Q17LineItemAvgQuantity) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query17/Q17PartLineItemAvgJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q17PARTLINEITEMAVGJOIN_CC 2 | #define TPCH_Q17PARTLINEITEMAVGJOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query17.h" 6 | 7 | GET_V_TABLE(tpch::Q17PartLineItemAvgJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query22/Q22OrderCountSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q22ORDERCOUNTSELECTION_CC 2 | #define TPCH_Q22ORDERCOUNTSELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query22.h" 6 | 7 | GET_V_TABLE(tpch::Q22OrderCountSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/CustomerIntegerSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef CUSTOMER_INTEGER_SELECT_CC 2 | #define CUSTOMER_INTEGER_SELECT_CC 3 | 4 | #include "CustomerIntegerSelection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(CustomerIntegerSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /tools/code/format-project.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | echo "Formatting the source files" 3 | find ././../../src/ -name "*.cc" | xargs clang-format -i -style=file 4 | echo "Formatting the header files" 5 | find ././../../src/ -name "*.h" | xargs clang-format -i -style=file -------------------------------------------------------------------------------- /scripts/runPipelineBench.sh: -------------------------------------------------------------------------------- 1 | bin/pipelineBench String low N 1 N 2 | bin/pipelineBench String low N 100 N 3 | bin/pipelineBench String low N 1000 N 4 | bin/pipelineBench Integer low N 1 N 5 | bin/pipelineBench Integer low N 100 N 6 | bin/pipelineBench Integer low N 1000 N 7 | -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/source/ConvChunksToImage.cc: -------------------------------------------------------------------------------- 1 | #ifndef CONV2D_CONV_CHUNKS_TO_IMAGE_CC 2 | #define CONV2D_CONV_CHUNKS_TO_IMAGE_CC 3 | 4 | #include "ConvChunksToImage.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(conv2d_memory_fusion::ConvChunksToImage) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/reddit/source/CommentChunkToComments.cc: -------------------------------------------------------------------------------- 1 | #ifndef COMMENT_CHUNK_TO_COMMENTS_CC 2 | #define COMMENT_CHUNK_TO_COMMENTS_CC 3 | 4 | #include "CommentChunkToComments.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(reddit::CommentChunkToComments) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection0_10.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_10CC 2 | #define REDDIT_LABEL_SELECTION_10CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection0_10.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection0_10) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection1_10.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_LABEL_SELECTION_110CC 2 | #define REDDIT_LABEL_SELECTION_110CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection1_10.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection1_10) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/GMM/GmmAggregateDatapoint.cc: -------------------------------------------------------------------------------- 1 | #ifndef GMM_AGGREGATE_DATAPOINT_CC 2 | #define GMM_AGGREGATE_DATAPOINT_CC 3 | 4 | #include "GMM/GmmAggregateDatapoint.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(GmmAggregateDatapoint) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/GMM/GmmDataCountAggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef GMM_DATACOUNT_AGGREGATE_CC 2 | #define GMM_DATACOUNT_AGGREGATE_CC 3 | 4 | #include "GMM/GmmDataCountAggregate.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(GmmDataCountAggregate) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/KMeansAggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef K_MEANS_AGGREGATE_CC 2 | #define K_MEANS_AGGREGATE_CC 3 | 4 | // by Shangyu, May 2017 5 | 6 | #include "GetVTable.h" 7 | #include "KMeansAggregate.h" 8 | 9 | GET_V_TABLE(KMeansAggregate) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LAMaxElementOutputType.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef LA_MAX_ELEMENT_OUTPUT_CC 3 | #define LA_MAX_ELEMENT_OUTPUT_CC 4 | 5 | #include "LAMaxElementOutputType.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(LAMaxElementOutputType) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LAMinElementOutputType.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef LA_MIN_ELEMENT_OUTPUT_CC 3 | #define LA_MIN_ELEMENT_OUTPUT_CC 4 | 5 | #include "LAMinElementOutputType.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(LAMinElementOutputType) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyScaleMultiplyJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_SCALE_MULTIPLY_JOIN_CC 2 | #define SILLY_LA_SCALE_MULTIPLY_JOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "LASillyScaleMultiplyJoin.h" 6 | 7 | GET_V_TABLE(LASillyScaleMultiplyJoin) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/ScanSimpleEmployeeSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_SIMPLE_EMPLOYEE_SET_CC 3 | #define SCAN_SIMPLE_EMPLOYEE_SET_CC 4 | 5 | #include "ScanSimpleEmployeeSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(ScanSimpleEmployeeSet) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/ScanStringIntPairSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_STRING_INT_PAIR_SET_CC 3 | #define SCAN_STRING_INT_PAIR_SET_CC 4 | 5 | #include "ScanStringIntPairSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(ScanStringIntPairSet) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/WriteBuiltinEmployeeSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef WRITE_BUILTIN_EMPLOYEE_CC 2 | #define WRITE_BUILTIN_EMPLOYEE_CC 3 | 4 | #include "WriteBuiltinEmployeeSet.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(WriteBuiltinEmployeeSet) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpch/source/Query22/Q22OrderCountPerCustomer.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q22ORDERCOUNTPERCUSTOMER_CC 2 | #define TPCH_Q22ORDERCOUNTPERCUSTOMER_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query22.h" 6 | 7 | GET_V_TABLE(tpch::Q22OrderCountPerCustomer) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/Part.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * Part.cc 3 | * 4 | * Created on: Jun 1, 2017 5 | * Author: kia 6 | */ 7 | #ifndef Part_CC 8 | #define Part_CC 9 | 10 | #include "GetVTable.h" 11 | #include "Part.h" 12 | 13 | GET_V_TABLE(Part) 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /model-inference/deduplication/indexing/requirements.txt: -------------------------------------------------------------------------------- 1 | scipy==1.6.2 2 | tensorflow_gpu==2.8.1 3 | tensorflow_datasets==4.3.0 4 | gdown==4.4.0 5 | tensorflow_hub==0.12.0 6 | numpy==1.22 7 | pandas==1.2.3 8 | scikit_learn==1.0.1 9 | tensorflow==2.8.1 10 | ipywidgets 11 | -------------------------------------------------------------------------------- /scripts/runPipelineBenchVirtual.sh: -------------------------------------------------------------------------------- 1 | bin/pipelineBench String low Y 1 N 2 | bin/pipelineBench String low Y 100 N 3 | bin/pipelineBench String low Y 1000 N 4 | bin/pipelineBench Integer low Y 1 N 5 | bin/pipelineBench Integer low Y 100 N 6 | bin/pipelineBench Integer low Y 1000 N 7 | -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/source/ConvResultToChunks.cc: -------------------------------------------------------------------------------- 1 | #ifndef CONV2D_CONV_RESULT_TO_CHUNKS_CC 2 | #define CONV2D_CONV_RESULT_TO_CHUNKS_CC 3 | 4 | #include "ConvResultToChunks.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(conv2d_memory_fusion::ConvResultToChunks) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/source/ImageBlockToMatrix.cc: -------------------------------------------------------------------------------- 1 | #ifndef CONV2D_IMAGE_BLOCK_TO_MATRIX_CC 2 | #define CONV2D_IMAGE_BLOCK_TO_MATRIX_CC 3 | 4 | #include "ImageBlockToMatrix.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(conv2d_memory_fusion::ImageBlockToMatrix) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/source/ImageChunksToBlock.cc: -------------------------------------------------------------------------------- 1 | #ifndef CONV2D_IMAGE_CHUNKS_TO_BLOCK_CC 2 | #define CONV2D_IMAGE_CHUNKS_TO_BLOCK_CC 3 | 4 | #include "ImageChunksToBlock.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(conv2d_memory_fusion::ImageChunksToBlock) 8 | 9 | #endif -------------------------------------------------------------------------------- /src/reddit/source/CommentFeaturesToChunks.cc: -------------------------------------------------------------------------------- 1 | #ifndef COMMENT_FEATURES_TO_CHUNKS_CC 2 | #define COMMENT_FEATURES_TO_CHUNKS_CC 3 | 4 | #include "CommentFeaturesToChunks.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(reddit::CommentFeaturesToChunks) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyColMaxAggregate.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SILLY_LA_COL_MAX_AGGREGATE_CC 3 | #define SILLY_LA_COL_MAX_AGGREGATE_CC 4 | 5 | #include "LASillyColMaxAggregate.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(LASillyColMaxAggregate) 9 | 10 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyColMinAggregate.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SILLY_LA_COL_MIN_AGGREGATE_CC 3 | #define SILLY_LA_COL_MIN_AGGREGATE_CC 4 | 5 | #include "LASillyColMinAggregate.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(LASillyColMinAggregate) 9 | 10 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/ScanBuiltinEmployeeSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_BUILTIN_EMPLOYEE_SET_CC 3 | #define SCAN_BUILTIN_EMPLOYEE_SET_CC 4 | 5 | #include "ScanBuiltinEmployeeSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(ScanBuiltinEmployeeSet) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/SupervisorMultiSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef SUPERVISOR_MULTI_SELECT_CC 2 | #define SUPERVISOR_MULTI_SELECT_CC 3 | 4 | #include "SupervisorMultiSelection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(SupervisorMultiSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/WriteStringIntPairSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef WRITE_STRING_INT_PAIR_SET_CC 3 | #define WRITE_STRING_INT_PAIR_SET_CC 4 | 5 | #include "WriteStringIntPairSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(WriteStringIntPairSet) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02MinCostSelectionOutput.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02MINCOSTSELECTIONOUTPUT_CC 2 | #define TPCH_Q02MINCOSTSELECTIONOUTPUT_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02MinCostSelectionOutput) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/CustomerSupplierPartFlat.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef CustomerSupplierPartFLAT_CC 3 | #define CustomerSupplierPartFLAT_CC 4 | 5 | #include "GetVTable.h" 6 | #include "CustomerSupplierPartFlat.h" 7 | 8 | GET_V_TABLE(CustomerSupplierPartFlat) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/tpchBench/source/JaccardResultWriter.cc: -------------------------------------------------------------------------------- 1 | #ifndef JACCARD_RESULT_WRITERCC 2 | #define JACCARD_RESULT_WRITERCC 3 | 4 | #include "GetVTable.h" 5 | #include "TopJaccard.h" 6 | #include "JaccardResultWriter.h" 7 | 8 | GET_V_TABLE(JaccardResultWriter) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/tpchBench/source/Order.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * Oder.cc 3 | * 4 | * Created on: Jun 1, 2017 5 | * Author: kia 6 | */ 7 | #ifndef ORDER_CC 8 | #define ORDER_CC 9 | 10 | #include "GetVTable.h" 11 | #include "Order.h" 12 | 13 | GET_V_TABLE(Order) 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /tools/docker/build-tests-image/build-command.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # build the test builder image 4 | docker build . -t dimitrijejankov/pdb-test-builder 5 | 6 | echo ${PDB_ROOT} 7 | 8 | # run the image 9 | docker run -v ${PDB_ROOT}:/pdb dimitrijejankov/pdb-test-builder -------------------------------------------------------------------------------- /src/reddit/source/RedditJoinSubsAndComments.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_JOIN_SUBS_AND_COMMENTS_CC 2 | #define REDDIT_JOIN_SUBS_AND_COMMENTS_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditJoinSubsAndComments.h" 6 | 7 | GET_V_TABLE(reddit::JoinSubsWithComments) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/AllSelectionWithCreation.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef ALL_SELECT_WITH_CREATION_CC 3 | #define ALL_SELECT_WITH_CREATION_CC 4 | 5 | #include "AllSelectionWithCreation.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(AllSelectionWithCreation) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/EmployeeIdentitySelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef EMPLOYEE_IDENTITY_SELECT_CC 2 | #define EMPLOYEE_IDENTITY_SELECT_CC 3 | 4 | #include "EmployeeIdentitySelection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(EmployeeIdentitySelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/GMM/GmmAggregateOutputLazy.cc: -------------------------------------------------------------------------------- 1 | #ifndef GMM_AGGREGATE_OUTPUT_LAZY_CC 2 | #define GMM_AGGREGATE_OUTPUT_LAZY_CC 3 | 4 | #include "GMM/GmmAggregateOutputLazy.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(GmmAggregateOutputLazy) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyRowMaxAggregate.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SILLY_LA_ROW_MAX_AGGREGATE_CC 3 | #define SILLY_LA_ROW_MAX_AGGREGATE_CC 4 | 5 | #include "LASillyRowMaxAggregate.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(LASillyRowMaxAggregate) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyRowMinAggregate.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SILLY_LA_ROW_MIN_AGGREGATE_CC 3 | #define SILLY_LA_ROW_MIN_AGGREGATE_CC 4 | 5 | #include "LASillyRowMinAggregate.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(LASillyRowMinAggregate) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDADocument.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDADocument_CC 2 | #define LDADocument_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDADocument.h" 8 | 9 | GET_V_TABLE(LDADocument) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/OptimizedEmployeeGroupBy.cc: -------------------------------------------------------------------------------- 1 | #ifndef OPTIMIZED_EMPLOYEE_GROUPBY_CC 2 | #define OPTIMIZED_EMPLOYEE_GROUPBY_CC 3 | 4 | #include "OptimizedEmployeeGroupBy.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(OptimizedEmployeeGroupBy) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/CustomerStringSelectionNot.cc: -------------------------------------------------------------------------------- 1 | #ifndef CUSTOMER_STRING_SELECT_NOT_CC 2 | #define CUSTOMER_STRING_SELECT_NOT_CC 3 | 4 | #include "CustomerStringSelectionNot.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(CustomerStringSelectionNot) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditCommentInferenceJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_COMMENT_INFERENCE_JOIN_CC 2 | #define REDDIT_COMMENT_INFERENCE_JOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditCommentInferenceJoin.h" 6 | 7 | GET_V_TABLE(reddit::CommentInferenceJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditLabelSelection0_0.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_POSITIVE_LABEL_SELECTION_00CC 2 | #define REDDIT_POSITIVE_LABEL_SELECTION_00CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditLabelSelection0_0.h" 6 | 7 | GET_V_TABLE(reddit::LabelSelection0_0) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditThreeWayAdaptiveJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_THREE_WAY_ADAPTIVE_JOIN_CC 2 | #define REDDIT_THREE_WAY_ADAPTIVE_JOIN_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditThreeWayAdaptiveJoin.h" 6 | 7 | GET_V_TABLE(reddit::ThreeWayAdaptiveJoin) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/KMeansAggregateOutputType.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef K_MEANS_AGGREGATE_OUTPUT_CC 3 | #define K_MEANS_AGGREGATE_OUTPUT_CC 4 | 5 | #include "KMeansAggregateOutputType.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(KMeansAggregateOutputType) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/KMeansDataCountAggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef K_MEANS_DATA_COUNT_AGGREGATE_CC 2 | #define K_MEANS_DATA_COUNT_AGGREGATE_CC 3 | 4 | #include "KMeansDataCountAggregate.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(KMeansDataCountAggregate) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/CustomerIntegerSelectionNot.cc: -------------------------------------------------------------------------------- 1 | #ifndef CUSTOMER_INTEGER_SELECT_NOT_CC 2 | #define CUSTOMER_INTEGER_SELECT_NOT_CC 3 | 4 | #include "CustomerIntegerSelectionNot.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(CustomerIntegerSelectionNot) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/CustomerSupplierPartGroupBy.cc: -------------------------------------------------------------------------------- 1 | #ifndef CustomerSupplierPartGroupBy_CC 2 | #define CustomerSupplierPartGroupBy_CC 3 | 4 | #include "CustomerSupplierPartGroupBy.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(CustomerSupplierPartGroupBy) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyMultiply1Join.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_MULTIPLY1_JOIN_CC 2 | #define SILLY_LA_MULTIPLY1_JOIN_CC 3 | 4 | // by Binhang, May 2017 5 | 6 | #include "GetVTable.h" 7 | #include "LASillyMultiply1Join.h" 8 | 9 | GET_V_TABLE(LASillyMultiply1Join) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillySubstractJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_SUBSTRACT_JOIN_CC 2 | #define SILLY_LA_SUBSTRACT_JOIN_CC 3 | 4 | // by Binhang, May 2017 5 | 6 | #include "GetVTable.h" 7 | #include "LASillySubstractJoin.h" 8 | 9 | GET_V_TABLE(LASillySubstractJoin) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/StringIntPairMultiSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef STRINGINTPAIR_MULTI_SELECT_CC 2 | #define STRINGINTPAIR_MULTI_SELECT_CC 3 | 4 | #include "StringIntPairMultiSelection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(StringIntPairMultiSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/Customer.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * Customer.cc 3 | * 4 | * Created on: Jun 1, 2017 5 | * Author: kia 6 | */ 7 | #ifndef Customer_CC 8 | #define Customer_CC 9 | 10 | #include "GetVTable.h" 11 | #include "Customer.h" 12 | 13 | GET_V_TABLE(Customer) 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src/tpchBench/source/LineItem.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * LineItem.cc 3 | * 4 | * Created on: Jun 1, 2017 5 | * Author: kia 6 | */ 7 | #ifndef LineItem_CC 8 | #define LineItem_CC 9 | 10 | #include "GetVTable.h" 11 | #include "LineItem.h" 12 | 13 | GET_V_TABLE(LineItem) 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src/tpchBench/source/Supplier.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * Supplier.cc 3 | * 4 | * Created on: Jun 1, 2017 5 | * Author: kia 6 | */ 7 | #ifndef Supplier_CC 8 | #define Supplier_CC 9 | 10 | #include "GetVTable.h" 11 | #include "Supplier.h" 12 | 13 | GET_V_TABLE(Supplier) 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/Task02_L2_60000_50000_1000_1000.pdml: -------------------------------------------------------------------------------- 1 | X = load(1000,1000,60,50,"./src/linearAlgebraDSL/TestDataGenerator/L2_X_60000_50000_1000_1000.data") 2 | y = load(1000, 1, 60, 1, "./src/linearAlgebraDSL/TestDataGenerator/L2_y_60000_1000.data") 3 | beta = (X '* X)^-1 %*% (X '* y) 4 | -------------------------------------------------------------------------------- /src/logicalPlan/headers/Parser.h: -------------------------------------------------------------------------------- 1 | #ifndef _PARSER_H_ 2 | #define _PARSER_H_ 3 | 4 | #include "Lexer.h" 5 | 6 | struct AtomicComputationList; 7 | 8 | #ifdef __cplusplus 9 | extern "C" 10 | #endif 11 | int 12 | yyparse(yyscan_t, struct AtomicComputationList**); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src/objectModel/headers/RefCountMacros.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef CHAR_PTR 3 | #define CHAR_PTR(c) ((char*)c) 4 | #endif 5 | #ifndef REF_COUNT_PREAMBLE_SIZE 6 | #define REF_COUNT_PREAMBLE_SIZE (sizeof(unsigned)) 7 | #endif 8 | #ifndef NUM_COPIES 9 | #define NUM_COPIES (*((unsigned*)this)) 10 | #endif 11 | -------------------------------------------------------------------------------- /src/reddit/source/RedditNegativeLabelSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_NEGATIVE_LABEL_SELECTION_CC 2 | #define REDDIT_NEGATIVE_LABEL_SELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditNegativeLabelSelection.h" 6 | 7 | GET_V_TABLE(reddit::NegativeLabelSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/reddit/source/RedditPositiveLabelSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef REDDIT_POSITIVE_LABEL_SELECTION_CC 2 | #define REDDIT_POSITIVE_LABEL_SELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "RedditPositiveLabelSelection.h" 6 | 7 | GET_V_TABLE(reddit::PositiveLabelSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/IntIntVectorPair.cc: -------------------------------------------------------------------------------- 1 | #ifndef IntIntVectorPair_CC 2 | #define IntIntVectorPair_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "IntIntVectorPair.h" 8 | 9 | GET_V_TABLE(IntIntVectorPair) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/ScanKMeansDoubleVectorSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_KMEANS_DOUBLE_VECTOR_SET_CC 3 | #define SCAN_KMEANS_DOUBLE_VECTOR_SET_CC 4 | 5 | #include "ScanKMeansDoubleVectorSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(ScanKMeansDoubleVectorSet) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/boost/boost/concept/detail/concept_undef.hpp: -------------------------------------------------------------------------------- 1 | // Copyright David Abrahams 2006. Distributed under the Boost 2 | // Software License, Version 1.0. (See accompanying 3 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4 | # undef BOOST_concept_typename 5 | # undef BOOST_concept 6 | -------------------------------------------------------------------------------- /src/builtInPDBObjects/headers/Nothing.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef NOTHING_H 3 | #define NOTHING_H 4 | 5 | #include "Object.h" 6 | 7 | // PRELOAD %Nothing% 8 | 9 | namespace pdb { 10 | 11 | class Nothing : public Object { 12 | 13 | public: 14 | ENABLE_DEEP_COPY 15 | }; 16 | } 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /src/optimizerBenchmark/source/StarsIn.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * StarsIn.cc 3 | * 4 | * Created on: Jun 10, 2017 5 | * Author: Sourav 6 | */ 7 | #ifndef StarsIn_CC 8 | #define StarsIn_CC 9 | 10 | #include "GetVTable.h" 11 | #include "StarsIn.h" 12 | 13 | GET_V_TABLE(StarsIn) 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/IntSelectionOfStringIntPair.cc: -------------------------------------------------------------------------------- 1 | #ifndef INT_SELECTION_OF_STRING_INT_PAIR_CC 2 | #define INT_SELECTION_OF_STRING_INT_PAIR_CC 3 | 4 | #include "IntSelectionOfStringIntPair.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(IntSelectionOfStringIntPair) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyInverse3MultiSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_INVERSE3_MULTISELECT_CC 2 | #define SILLY_LA_INVERSE3_MULTISELECT_CC 3 | 4 | #include "LASillyInverse3MultiSelection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(LASillyInverse3MultiSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/WriteKMeansDoubleVectorSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef WRITE_KMEANS_DOUBLE_VECTOR_SET_CC 3 | #define WRITE_KMEANS_DOUBLE_VECTOR_SET_CC 4 | 5 | #include "WriteKMeansDoubleVectorSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(WriteKMeansDoubleVectorSet) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/tpchBench/source/CustomerStringSelectionVirtual.cc: -------------------------------------------------------------------------------- 1 | #ifndef CUSTOMER_STRING_SELECT_VIRTUAL_CC 2 | #define CUSTOMER_STRING_SELECT_VIRTUAL_CC 3 | 4 | #include "CustomerStringSelectionVirtual.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(CustomerStringSelectionVirtual) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/builtInPDBObjects/headers/ShutDown.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SHUT_DOWN_H 3 | #define SHUT_DOWN_H 4 | 5 | #include "Object.h" 6 | 7 | // PRELOAD %ShutDown% 8 | 9 | namespace pdb { 10 | 11 | class ShutDown : public Object { 12 | 13 | public: 14 | ENABLE_DEEP_COPY 15 | }; 16 | } 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /src/queries/headers/FuncType.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef FUNC_TYPE_H 3 | #define FUNC_TYPE_H 4 | 5 | namespace pdb { 6 | 7 | // there is one of these for each of the basic operations that can 8 | // be encoded in a lambda 9 | enum FuncType { UserDefined, GreaterThan, Equals, Plus }; 10 | } 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDADocAssignmentMultiSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDA_TOPIC_WORD_PRPB_MULTI_CC 2 | #define LDA_TOPIC_WORD_PRPB_MULTI_CC 3 | 4 | #include "GetVTable.h" 5 | #include "LDA/LDADocAssignmentMultiSelection.h" 6 | 7 | GET_V_TABLE(LDADocAssignmentMultiSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDATopicAssignmentMultiSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDA_TOPIC_ASSIGN_MULTI_CC 2 | #define LDA_TOPIC_ASSIGN_MULTI_CC 3 | 4 | #include "GetVTable.h" 5 | #include "LDA/LDATopicAssignmentMultiSelection.h" 6 | 7 | GET_V_TABLE(LDATopicAssignmentMultiSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDATopicWordProb.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDATopicWordProb_CC 2 | #define LDATopicWordProb_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/LDATopicWordProb.h" 8 | 9 | GET_V_TABLE(LDATopicWordProb) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/ScanLDADocumentSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef ScanLDADocumentSet_CC 2 | #define ScanLDADocumentSet_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "ScanLDADocumentSet.h" 8 | 9 | GET_V_TABLE(ScanLDADocumentSet) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/ScanOptimizedSupervisorSet.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_OPTIMIZED_SUPERVISOR_SET_CC 3 | #define SCAN_OPTIMIZED_SUPERVISOR_SET_CC 4 | 5 | #include "ScanOptimizedSupervisorSet.h" 6 | #include "GetVTable.h" 7 | 8 | GET_V_TABLE(ScanOptimizedSupervisorSet) 9 | 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/tpch/source/Query17/Q17PartLineItemIdentitySelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q17PARTLINEITEM_IDENTITY_SELECTION_CC 2 | #define TPCH_Q17PARTLINEITEM_IDENTITY_SELECTION_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query17.h" 6 | 7 | GET_V_TABLE(tpch::Q17PartLineItemIdentitySelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/CustomerIntegerSelectionVirtual.cc: -------------------------------------------------------------------------------- 1 | #ifndef CUSTOMER_INTEGER_SELECT_VIRTUAL_CC 2 | #define CUSTOMER_INTEGER_SELECT_VIRTUAL_CC 3 | 4 | #include "CustomerIntegerSelectionVirtual.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(CustomerIntegerSelectionVirtual) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/word2vec/source/EmbeddingSegment.cc: -------------------------------------------------------------------------------- 1 | #ifndef EMBEDDING_SEGMENT_CC 2 | #define EMBEDDING_SEGMENT_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "EmbeddingSegment.h" 7 | #include "GetVTable.h" 8 | 9 | GET_V_TABLE(EmbeddingSegment) 10 | 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src/builtInPDBObjects/headers/KeepGoing.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef KEEP_GOING_H 3 | #define KEEP_GOING_H 4 | 5 | #include "Object.h" 6 | 7 | // PRELOAD %KeepGoing% 8 | 9 | namespace pdb { 10 | 11 | class KeepGoing : public Object { 12 | 13 | public: 14 | ENABLE_DEEP_COPY 15 | }; 16 | } 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /src/optimizerBenchmark/source/MovieStar.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * MovieStar.cc 3 | * 4 | * Created on: Jun 10, 2017 5 | * Author: Sourav 6 | */ 7 | #ifndef MovieStar_CC 8 | #define MovieStar_CC 9 | 10 | #include "GetVTable.h" 11 | #include "MovieStar.h" 12 | 13 | GET_V_TABLE(MovieStar) 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/IntDoubleVectorPair.cc: -------------------------------------------------------------------------------- 1 | #ifndef IntDoubleVectorPair_CC 2 | #define IntDoubleVectorPair_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "IntDoubleVectorPair.h" 8 | 9 | GET_V_TABLE(IntDoubleVectorPair) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDADocIDAggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDADocIDAggregate_CC 2 | #define LDADocIDAggregate_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDADocIDAggregate.h" 8 | 9 | GET_V_TABLE(LDADocIDAggregate) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/tpch/source/Query02/Q02PartJoinOutputIdentitySelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef TPCH_Q02PartJoinOutputIdentitySelection_CC 2 | #define TPCH_Q02PartJoinOutputIdentitySelection_CC 3 | 4 | #include "GetVTable.h" 5 | #include "Query02.h" 6 | 7 | GET_V_TABLE(tpch::Q02PartJoinOutputIdentitySelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/VirtualCustomer.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * VritualCustomer.cc 3 | * 4 | * Created on: Jun 1, 2017 5 | */ 6 | #ifndef VirtualCustomer_CC 7 | #define VirtualCustomer_CC 8 | 9 | #include "GetVTable.h" 10 | #include "VirtualCustomer.h" 11 | 12 | GET_V_TABLE(VirtualCustomer) 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/EmployeeBuiltInIdentitySelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef EMPLOYEE_BUILTIN_IDENTITY_SELECT_CC 2 | #define EMPLOYEE_BUILTIN_IDENTITY_SELECT_CC 3 | 4 | #include "EmployeeBuiltInIdentitySelection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(EmployeeBuiltInIdentitySelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyMultiply2Aggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_MULTIPLY2_AGGREGATE_CC 2 | #define SILLY_LA_MULTIPLY2_AGGREGATE_CC 3 | 4 | // by Binhang, May 2017 5 | 6 | #include "GetVTable.h" 7 | #include "LASillyMultiply2Aggregate.h" 8 | 9 | GET_V_TABLE(LASillyMultiply2Aggregate) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyTransposeSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_TRANSPOSE_SELECT_CC 2 | #define SILLY_LA_TRANSPOSE_SELECT_CC 3 | 4 | // by Binhang, May 2017 5 | 6 | #include "GetVTable.h" 7 | #include "LASillyTransposeSelection.h" 8 | 9 | GET_V_TABLE(LASillyTransposeSelection) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/StringSelectionOfStringIntPair.cc: -------------------------------------------------------------------------------- 1 | #ifndef STRING_SELECTION_OF_STRING_INT_PAIR_CC 2 | #define STRING_SELECTION_OF_STRING_INT_PAIR_CC 3 | 4 | #include "StringSelectionOfStringIntPair.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(StringSelectionOfStringIntPair) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/tpchBench/source/CustomerStringSelectionVirtualNot.cc: -------------------------------------------------------------------------------- 1 | #ifndef CUSTOMER_STRING_SELECT_VIRTUAL_NOT_CC 2 | #define CUSTOMER_STRING_SELECT_VIRTUAL_NOT_CC 3 | 4 | #include "CustomerStringSelectionVirtualNot.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(CustomerStringSelectionVirtualNot) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/boost/boost/config/abi/msvc_suffix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #pragma pack(pop) 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/KMeansSampleSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef KMeansSampleSelection_CC 2 | #define KMeansSampleSelection_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "KMeansSampleSelection.h" 8 | 9 | GET_V_TABLE(KMeansSampleSelection) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyMaxElementAggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_MAXELEMENT_AGGREGATE_CC 2 | #define SILLY_LA_MAXELEMENT_AGGREGATE_CC 3 | 4 | // by Binhang, May 2017 5 | 6 | #include "GetVTable.h" 7 | #include "LASillyMaxElementAggregate.h" 8 | 9 | GET_V_TABLE(LASillyMaxElementAggregate) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyMinElementAggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_MINELEMENT_AGGREGATE_CC 2 | #define SILLY_LA_MINELEMENT_AGGREGATE_CC 3 | 4 | // by Binhang, May 2017 5 | 6 | #include "GetVTable.h" 7 | #include "LASillyMinElementAggregate.h" 8 | 9 | GET_V_TABLE(LASillyMinElementAggregate) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/ScanTopicsPerWord.cc: -------------------------------------------------------------------------------- 1 | #ifndef SCAN_TOPICS_PER_WORD_CC 2 | #define SCAN_TOPICS_PER_WORD_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/ScanTopicsPerWord.h" 8 | 9 | GET_V_TABLE(ScanTopicsPerWord) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/tpchBench/source/CustomerIntegerSelectionVirtualNot.cc: -------------------------------------------------------------------------------- 1 | #ifndef CUSTOMER_INTEGER_SELECT_VIRTUAL_NOT_CC 2 | #define CUSTOMER_INTEGER_SELECT_VIRTUAL_NOT_CC 3 | 4 | #include "CustomerIntegerSelectionVirtualNot.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(CustomerIntegerSelectionVirtualNot) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /tools/docker/build-tests-image/build-tests.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # make the build files 4 | cmake . 5 | 6 | # build the tests 7 | make build-tests -j 8 | 9 | # build the master 10 | make pdb-server -j 11 | 12 | # build the worker 13 | make pdb-cluster -j 14 | 15 | # set the permission 16 | chmod -R 777 . -------------------------------------------------------------------------------- /src/builtInPDBObjects/headers/DoneWithResult.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef DONE_W_RES_H 3 | #define DONE_W_RES_H 4 | 5 | #include "Object.h" 6 | 7 | // PRELOAD %DoneWithResult% 8 | 9 | namespace pdb { 10 | 11 | class DoneWithResult : public Object { 12 | 13 | public: 14 | ENABLE_DEEP_COPY 15 | }; 16 | } 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/KMeansNormVectorMap.cc: -------------------------------------------------------------------------------- 1 | #ifndef KMEANS_NORM_VECTOR_MAP_CC 2 | #define KMEANS_NORM_VECTOR_MAP_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "KMeansNormVectorMap.h" 8 | 9 | GET_V_TABLE(KMeansNormVectorMap) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDADocWordTopicCount.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDADocWordTopicCount_CC 2 | #define LDADocWordTopicCount_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/LDADocWordTopicCount.h" 8 | 9 | GET_V_TABLE(LDADocWordTopicCount) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDADocWordTopicJoin.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDADocWordTopicJoin_CC 2 | #define LDADocWordTopicJoin_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/LDADocWordTopicJoin.h" 8 | 9 | GET_V_TABLE(LDADocWordTopicJoin) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/WriteTopicsPerWord.cc: -------------------------------------------------------------------------------- 1 | #ifndef WRITE_TOPIC_PER_WORD_CC 2 | #define WRITE_TOPIC_PER_WORD_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/WriteTopicsPerWord.h" 8 | 9 | GET_V_TABLE(WriteTopicsPerWord) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /tools/docker/base-image/build-base-image.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # copy configurations 4 | cp -r ../../../scripts ./scripts 5 | cp -r ../../../conf ./conf 6 | 7 | # build the pdb image 8 | docker build . -t dimitrijejankov/pdb 9 | 10 | # remove the copied configurations 11 | rm -rf ./scripts 12 | rm -rf ./conf -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyDuplicateColMultiSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_DUPLICATE_COL_MULTISELECTION_CC 2 | #define SILLY_LA_DUPLICATE_COL_MULTISELECTION_CC 3 | 4 | #include "LASillyDuplicateColMultiSelection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(LASillyDuplicateColMultiSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyDuplicateRowMultiSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_DUPLICATE_ROW_MULTISELECTION_CC 2 | #define SILLY_LA_DUPLICATE_ROW_MULTISELECTION_CC 3 | 4 | #include "LASillyDuplicateRowMultiSelection.h" 5 | #include "GetVTable.h" 6 | 7 | GET_V_TABLE(LASillyDuplicateRowMultiSelection) 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDADocTopicAggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDADocTopicAggregate_CC 2 | #define LDADocTopicAggregate_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/LDADocTopicAggregate.h" 8 | 9 | GET_V_TABLE(LDADocTopicAggregate) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDATopicWordAggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDATopicWordAggregate_CC 2 | #define LDATopicWordAggregate_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/LDATopicWordAggregate.h" 8 | 9 | GET_V_TABLE(LDATopicWordAggregate) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDAWordTopicAggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDAWordTopicAggregate_CC 2 | #define LDAWordTopicAggregate_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/LDAWordTopicAggregate.h" 8 | 9 | GET_V_TABLE(LDAWordTopicAggregate) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/word2vec/source/EmbeddingLookupSparse.cc: -------------------------------------------------------------------------------- 1 | #ifndef EMBEDDING_LOOKUP_SPARSE_CC 2 | #define EMBEDDING_LOOKUP_SPARSE_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "EmbeddingLookupSparse.h" 7 | #include "GetVTable.h" 8 | 9 | GET_V_TABLE(EmbeddingLookupSparse) 10 | 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /tools/docker/build-tests-image/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM dimitrijejankov/pdb:latest 2 | 3 | # set the mount volume for pdb 4 | VOLUME /pdb 5 | 6 | # go to the pdb directory 7 | WORKDIR /pdb 8 | 9 | # add the build test shell script 10 | ADD ./build-tests.sh / 11 | 12 | # build the tests 13 | ENTRYPOINT ["./../build-tests.sh"] 14 | -------------------------------------------------------------------------------- /src/builtInPDBObjects/headers/CloseConnection.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef CLOSE_CONNECT_H 3 | #define CLOSE_CONNECT_H 4 | 5 | #include "Object.h" 6 | 7 | // PRELOAD %CloseConnection% 8 | 9 | namespace pdb { 10 | 11 | class CloseConnection : public Object { 12 | 13 | public: 14 | ENABLE_DEEP_COPY 15 | }; 16 | } 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LASillyTransposeMultiply1Join.cc: -------------------------------------------------------------------------------- 1 | #ifndef SILLY_LA_TRANSPOSE_MULTIPLY1_JOIN_CC 2 | #define SILLY_LA_TRANSPOSE_MULTIPLY1_JOIN_CC 3 | 4 | // by Binhang, May 2017 5 | 6 | #include "GetVTable.h" 7 | #include "LASillyTransposeMultiply1Join.h" 8 | 9 | GET_V_TABLE(LASillyTransposeMultiply1Join) 10 | 11 | #endif -------------------------------------------------------------------------------- /scripts/run-bench.sh: -------------------------------------------------------------------------------- 1 | #training 2 | echo "training for query17 with large entropy weight" 3 | for x in {1..128}; 4 | do bin/tpchDataLoader ~/tables-scale-10 Y Y Y N Y; 5 | if [ $? -ne 26 ]; then 6 | echo "${x}: to run query" 7 | bin/runQuery17; 8 | bin/tpchDataLoader ~/tables-scale-10 N N N Y; 9 | fi 10 | done; 11 | -------------------------------------------------------------------------------- /src/linearAlgebraDSL/headers/LAParser.h: -------------------------------------------------------------------------------- 1 | #ifndef LA_PARSER_H 2 | #define LA_PARSER_H 3 | 4 | // by Binhang, June 2017 5 | 6 | #include "LALexer.h" 7 | 8 | struct LAStatementsList; 9 | 10 | #ifdef __cplusplus 11 | extern "C" 12 | #endif 13 | 14 | 15 | int 16 | LAparse(LAscan_t, struct LAStatementsList**); 17 | 18 | 19 | #endif -------------------------------------------------------------------------------- /src/queries/headers/SetOperation.h: -------------------------------------------------------------------------------- 1 | #ifndef SETOPERATION_H 2 | #define SETOPERATION_H 3 | 4 | #include "Object.h" 5 | #include "QueryAlgo.h" 6 | 7 | namespace pdb { 8 | /** 9 | * Base class for any query part that processes a PDB set. 10 | */ 11 | class SetOperation { 12 | 13 | public: 14 | }; 15 | } 16 | #endif // SETOPERATION_H 17 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDADocTopicProbSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDADocTopicProbSelection_CC 2 | #define LDADocTopicProbSelection_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/LDADocTopicProbSelection.h" 8 | 9 | GET_V_TABLE(LDADocTopicProbSelection) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/queriesTests/headers/QueriesTestsRunner.h: -------------------------------------------------------------------------------- 1 | #ifndef PDB_QUERIESTESTS_QUERIESTESTSRUNNER_H 2 | #define PDB_QUERIESTESTS_QUERIESTESTSRUNNER_H 3 | 4 | #include "qunit.h" 5 | 6 | using QUnit::UnitTest; 7 | 8 | namespace pdb_tests { 9 | void runQueriesTests(UnitTest& qunit); 10 | } 11 | 12 | #endif // PDB_QUERIESTESTS_QUERIESTESTSRUNNER_H 13 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDADocWordTopicAssignment.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDADocWordTopicAssignment_CC 2 | #define LDADocWordTopicAssignment_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDADocWordTopicAssignment.h" 8 | 9 | GET_V_TABLE(LDADocWordTopicAssignment) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/WriteIntDoubleVectorPairSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef WriteIntDoubleVectorPairSet_CC 2 | #define WriteIntDoubleVectorPairSet_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "WriteIntDoubleVectorPairSet.h" 8 | 9 | GET_V_TABLE(WriteIntDoubleVectorPairSet) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/ScanIntDoubleVectorPairSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef ScanIntDoubleVectorPairSet_CC 2 | #define ScanIntDoubleVectorPairSet_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "ScanIntDoubleVectorPairSet.h" 8 | 9 | GET_V_TABLE(ScanIntDoubleVectorPairSet) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/boost/boost/predef/detail/os_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2013 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_OS_DETECTED 9 | #define BOOST_PREDEF_DETAIL_OS_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/WriteLDADocWordTopicAssignment.cc: -------------------------------------------------------------------------------- 1 | #ifndef WRITE_DOC_WORD_TOPIC_CC 2 | #define WRITE_DOC_WORD_TOPIC_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/WriteLDADocWordTopicAssignment.h" 8 | 9 | GET_V_TABLE(WriteLDADocWordTopicAssignment) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/boost/boost/predef/detail/comp_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2014 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_COMP_DETECTED 9 | #define BOOST_PREDEF_DETAIL_COMP_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/sample03_NN.pdml: -------------------------------------------------------------------------------- 1 | X = load(100,10,10,1, "./src/linearAlgebraDSL/TestDataGenerator/NN_X_1000_10_100_10.data") 2 | t = load(1,10,1,1, "./src/linearAlgebraDSL/TestDataGenerator/NN_t_10_10.data") 3 | M = load(10,10,1,1, "./src/linearAlgebraDSL/TestDataGenerator/NN_M_10_10.data") 4 | D = X - duplicateRow(t,100,10) 5 | i = min(rowSum(D %*% M * D)) -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDAInitialTopicProbSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDAInitialTopicProbSelection_CC 2 | #define LDAInitialTopicProbSelection_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDAInitialTopicProbSelection.h" 8 | 9 | GET_V_TABLE(LDAInitialTopicProbSelection) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /tools/docker/compose-profile/collect-info.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # turn off the profiler with SIGINT 4 | docker-compose kill -s SIGINT 5 | 6 | # make the directory for profile info 7 | mkdir ../../../profile-info 8 | 9 | sleep 2 10 | 11 | for i in $(docker-compose ps -q) ; do 12 | docker cp $i:/profile-info ../../../profile-info/$i 13 | done 14 | -------------------------------------------------------------------------------- /tools/docker/compose/run-cluster.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # copy the binaries 4 | cp -r ../../../bin ../cluster-image/bin 5 | 6 | # rebuild the images 7 | docker-compose rm 8 | docker-compose build 9 | 10 | # remove the binaries 11 | rm -rf ../cluster-image/libraries 12 | rm -rf ../cluster-image/bin 13 | 14 | # start the cluster 15 | docker-compose up -------------------------------------------------------------------------------- /src/boost/boost/predef/detail/platform_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2014 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_PLAT_DETECTED 9 | #define BOOST_PREDEF_DETAIL_PLAT_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDADocTopicFromCountAggregate.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDADocTopicFromCountAggregate_CC 2 | #define LDADocTopicFromCountAggregate_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/LDADocTopicFromCountAggregate.h" 8 | 9 | GET_V_TABLE(LDADocTopicFromCountAggregate) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDADocWordTopicMultiSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDADocWordTopicMultiSelection_CC 2 | #define LDADocWordTopicMultiSelection_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/LDADocWordTopicMultiSelection.h" 8 | 9 | GET_V_TABLE(LDADocWordTopicMultiSelection) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDATopicWordProbMultiSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDATopicWordProbMultiSelection_CC 2 | #define LDATopicWordProbMultiSelection_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/LDATopicWordProbMultiSelection.h" 8 | 9 | GET_V_TABLE(LDATopicWordProbMultiSelection) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/boost/boost/config/abi/borland_suffix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | # pragma option pop 7 | #pragma nopushoptwarn 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDADocWordTopicAssignmentIdentity.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDA_DOC_WORD_TOPIC_IDENTITY_CC 2 | #define LDA_DOC_WORD_TOPIC_IDENTITY_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/LDADocWordTopicAssignmentIdentity.h" 8 | 9 | GET_V_TABLE(LDADocWordTopicAssignmentIdentity) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /scripts/run-tests.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # grab the root directory 4 | export PDB_ROOT=$(pwd) 5 | 6 | # build the tests 7 | printf "Building the tests!\n" 8 | sleep 1 9 | cd ${PDB_ROOT}/tools/docker/build-tests-image 10 | ./build-command.sh 11 | 12 | # run the tests 13 | printf "Running the tests!\n" 14 | sleep 1 15 | cd ${PDB_ROOT}/tools/docker/compose 16 | ./run-cluster.sh -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDAInitialWordTopicProbSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDAInitialWordTopicProbSelection_CC 2 | #define LDAInitialWordTopicProbSelection_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/LDAInitialWordTopicProbSelection.h" 8 | 9 | GET_V_TABLE(LDAInitialWordTopicProbSelection) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/WriteLDADocWordTopicAssignmentSet.cc: -------------------------------------------------------------------------------- 1 | #ifndef WriteLDADocWordTopicAssignmentSet_CC 2 | #define WriteLDADocWordTopicAssignmentSet_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/WriteLDADocWordTopicAssignmentSet.h" 8 | 9 | GET_V_TABLE(WriteLDADocWordTopicAssignmentSet) 10 | 11 | #endif -------------------------------------------------------------------------------- /src/boost/boost/mpl/aux_/preprocessed/bcc551/quote.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2000-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/quote.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /src/boost/boost/mpl/aux_/preprocessed/msvc60/quote.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2000-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/quote.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /src/boost/boost/mpl/aux_/preprocessed/no_ttp/quote.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2000-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/quote.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /tools/cmake/tests/Test90.cmake: -------------------------------------------------------------------------------- 1 | # add the test 2 | add_test(selection-and-join-mixed ${CTEST_BINARY_DIRECTORY}/Test90 Y Y 1024 master Y) 3 | 4 | # add a build dependency to build-tests target 5 | add_dependencies(build-tests Test90) 6 | 7 | # add build dependencies to shared libraries it uses 8 | add_dependencies(Test90 ScanOptimizedSupervisorSet) 9 | add_dependencies(Test90 OptimizedEmployeeGroupBy) -------------------------------------------------------------------------------- /src/boost/boost/mpl/aux_/preprocessed/bcc_pre590/quote.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2000-2008 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // *Preprocessed* version of the main "quote.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /src/logicalPlanTests/headers/LogicalPlanTestsRunner.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef PDB_LOGICALPLANTESTS_LOGICALPLANTESTSRUNNER_H 3 | #define PDB_LOGICALPLANTESTS_LOGICALPLANTESTSRUNNER_H 4 | 5 | #include "qunit.h" 6 | 7 | using QUnit::UnitTest; 8 | 9 | namespace pdb_tests { 10 | void runLogicalPlanTests(UnitTest& qunit); 11 | } 12 | 13 | 14 | #endif // PDB_LOGICALPLANTESTS_LOGICALPLANTESTSRUNNER_H 15 | -------------------------------------------------------------------------------- /scripts/proc/2_collect_all_proc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # by Jia 3 | 4 | PEM_FILE=$1 5 | USERNAME=$2 6 | 7 | if [ ! -d "$PDB_HOME/conf/cluster" ] 8 | then mkdir $PDB_HOME/conf/cluster 9 | fi 10 | $PDB_HOME/scripts/proc/collect_proc.sh $PEM_FILE $USERNAME > $PDB_HOME/conf/cluster/cluster_info.txt 11 | echo "Done! The info of cluster are written to $PDB_HOME/conf/cluster/cluster_info.txt" 12 | -------------------------------------------------------------------------------- /src/boost/boost/functional/hash_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright 2005-2009 Daniel James. 3 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | #if defined(BOOST_HAS_PRAGMA_ONCE) 8 | #pragma once 9 | #endif 10 | 11 | #include 12 | -------------------------------------------------------------------------------- /tools/cmake/tests/Tests.cmake: -------------------------------------------------------------------------------- 1 | # AGGREGATION AND SELECTION MIXED TEST ON G-2 PIPELINE 2 | include(tools/cmake/tests/Test74.cmake) 3 | 4 | # JOIN TEST ON G-2 PIPELINE 5 | include(tools/cmake/tests/Test78.cmake) 6 | 7 | # SELECTION AND JOIN MIXED TEST ON G-2 PIPELINE 8 | include(tools/cmake/tests/Test79.cmake) 9 | 10 | # COMPLEX AGGREGATION TEST ON G-2 PIPELINE 11 | include(tools/cmake/tests/Test90.cmake) -------------------------------------------------------------------------------- /src/boost/boost/mpl/aux_/preprocessed/dmc/template_arity.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2001-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/aux_/template_arity.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /src/boost/boost/mpl/aux_/preprocessed/mwcw/template_arity.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2001-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/aux_/template_arity.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /src/sharedLibraries/source/LDA/LDAInitialWordTopicProbMultiSelection.cc: -------------------------------------------------------------------------------- 1 | #ifndef LDAInitialWordTopicProbMultiSelection_CC 2 | #define LDAInitialWordTopicProbMultiSelection_CC 3 | 4 | // This program is generated by machine at a random time 5 | 6 | #include "GetVTable.h" 7 | #include "LDA/LDAInitialWordTopicProbMultiSelection.h" 8 | 9 | GET_V_TABLE(LDAInitialWordTopicProbMultiSelection) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/work/source/PDBCommWork.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef PDB_COMM_WORK_C 3 | #define PDB_COMM_WORK_C 4 | 5 | #include "PDBCommWork.h" 6 | #include 7 | 8 | 9 | namespace pdb { 10 | 11 | PDBCommunicatorPtr PDBCommWork::getCommunicator() { 12 | return myCommunicator; 13 | } 14 | 15 | void PDBCommWork::setGuts(PDBCommunicatorPtr toMe) { 16 | myCommunicator = toMe; 17 | } 18 | } 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /src/boost/boost/mpl/aux_/preprocessed/plain/template_arity.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2001-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/aux_/template_arity.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /src/boost/boost/predef/library/c/_prefix.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2013 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_LIBRARY_C__PREFIX_H 9 | #define BOOST_PREDEF_LIBRARY_C__PREFIX_H 10 | 11 | #include 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /src/lambdas/headers/ComputeInfo.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef COMPUTE_INFO_H 3 | #define COMPUTE_INFO_H 4 | 5 | #include 6 | 7 | namespace pdb { 8 | 9 | // this is the base class for parameters that are sent into a pipeline when it is built 10 | class ComputeInfo { 11 | 12 | public: 13 | virtual ~ComputeInfo() {} 14 | }; 15 | 16 | typedef std::shared_ptr ComputeInfoPtr; 17 | } 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /scripts/cmdWorkers.sh: -------------------------------------------------------------------------------- 1 | #/bin/bash 2 | # by Jia 3 | 4 | 5 | user=`id -u -n` 6 | pemFile=$1 7 | command=$2 8 | arr=($(awk '{print $0}' $PDB_HOME/conf/serverlist)) 9 | length=${#arr[@]} 10 | echo "There are $length servers" 11 | for (( i=0 ; i<$length ; i++ )) 12 | do 13 | host=${arr[i]} 14 | echo -e "\n+++++++++++ run command:$command at $host" 15 | ssh -i $pemFile $host $command 16 | done 17 | -------------------------------------------------------------------------------- /src/builtInPDBObjects/headers/ExecuteQuery.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef EXEC_QUERY_H 3 | #define EXEC_QUERY_H 4 | 5 | #include "Object.h" 6 | 7 | // PRELOAD %ExecuteQuery% 8 | 9 | namespace pdb { 10 | 11 | // encapsulates a request to run a query 12 | class ExecuteQuery : public Object { 13 | 14 | public: 15 | ExecuteQuery() {} 16 | ~ExecuteQuery() {} 17 | 18 | ENABLE_DEEP_COPY 19 | }; 20 | } 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /src/storage/source/PDBFlushProducerWork.cc: -------------------------------------------------------------------------------- 1 | #ifndef PDB_FLUSH_WORK_CC 2 | #define PDB_FLUSH_WORK_CC 3 | 4 | #include "PDBFlushProducerWork.h" 5 | 6 | PDBFlushProducerWork::PDBFlushProducerWork(pdb::PangeaStorageServer* server) { 7 | this->server = server; 8 | } 9 | 10 | void PDBFlushProducerWork::execute(PDBBuzzerPtr callerBuzzer) { 11 | callerBuzzer->buzz(PDBAlarm::WorkAllDone); 12 | } 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /scripts/sshWorkers.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # by Jia 3 | 4 | 5 | user=`id -u -n` 6 | 7 | arr=($(awk '{print $0}' $HADOOP_HOME/etc/hadoop/slaves)) 8 | length=${#arr[@]} 9 | echo "There are $length servers" 10 | for (( i=0 ; i<$length ; i++ )) 11 | do 12 | host=${arr[i]} 13 | echo -e "\n+++++++++++ reconfig: $host" 14 | scp etc/hadoop/yarn-site.xml $user@$host:$HADOOP_HOME/etc/hadoop/ 15 | done 16 | 17 | -------------------------------------------------------------------------------- /src/queries/headers/SetOperationSelection.h: -------------------------------------------------------------------------------- 1 | #ifndef SETOPERATIONSELECTION_H 2 | #define SETOPERATIONSELECTION_H 3 | 4 | #include "Handle.h" 5 | #include "SetOperation.h" 6 | 7 | namespace pdb { 8 | class SetOperationSelection : public SetOperation { 9 | void execute(Handle algo) override { 10 | algo->forSelection(); 11 | } 12 | }; 13 | } 14 | 15 | #endif // PDB_SETOPERATIONSELECTION_H 16 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/LinkScanner.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "ScanUserSet.h" 4 | #include "Link.h" 5 | 6 | using namespace pdb; 7 | class LinkScanner : public ScanUserSet { 8 | public: 9 | 10 | ENABLE_DEEP_COPY 11 | 12 | LinkScanner() = default; 13 | 14 | LinkScanner(const std::string &dbName, const std::string &setName) { 15 | setDatabaseName(dbName); 16 | setSetName(setName); 17 | } 18 | }; -------------------------------------------------------------------------------- /src/boost/boost/predef/detail/_exception.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL__EXCEPTION_H 9 | #define BOOST_PREDEF_DETAIL__EXCEPTION_H 10 | 11 | #if defined(__cpluplus) 12 | #include 13 | #endif 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src/storage/source/PDBEvictWork.cc: -------------------------------------------------------------------------------- 1 | #ifndef PDB_EVICT_WORK_CC 2 | #define PDB_EVICT_WORK_CC 3 | 4 | #include "PDBEvictWork.h" 5 | 6 | PDBEvictWork::PDBEvictWork(PageCache* cache) { 7 | this->cache = cache; 8 | } 9 | 10 | PDBEvictWork::~PDBEvictWork() {} 11 | 12 | void PDBEvictWork::execute(PDBBuzzerPtr callerBuzzer) { 13 | this->cache->evict(); 14 | callerBuzzer->buzz(PDBAlarm::WorkAllDone); 15 | } 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /tools/docker/build-tests-image/clean-tests.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # do the cleanup 4 | rm -rf ${PDB_ROOT}/Testing 5 | rm -rf ${PDB_ROOT}/CMakeFiles 6 | rm -rf ${PDB_ROOT}/bin/* 7 | rm -rf ${PDB_ROOT}/libraries/* 8 | rm -rf ${PDB_ROOT}/logs/* 9 | rm -rf ${PDB_ROOT}/cmake_install.cmake 10 | rm -rf ${PDB_ROOT}/CMakeCache.txt 11 | rm -rf ${PDB_ROOT}/CTestTestfile.cmake 12 | rm -rf ${PDB_ROOT}/Makefile 13 | 14 | printf "Removed!\n" -------------------------------------------------------------------------------- /src/boost/boost/detail/endian.hpp: -------------------------------------------------------------------------------- 1 | // Copyright 2013 Rene Rivera 2 | // Distributed under the Boost Software License, Version 1.0. (See accompany- 3 | // ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4 | 5 | #ifndef BOOST_DETAIL_ENDIAN_HPP 6 | #define BOOST_DETAIL_ENDIAN_HPP 7 | 8 | // Use the Predef library for the detection of endianess. 9 | #include 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/lambdas/source/LambdaCreationFunctions.cc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | #include 5 | #include "LambdaCreationFunctions.h" 6 | 7 | namespace pdb { 8 | 9 | void* someRandomPointer; 10 | 11 | 12 | int mapToPartitionId (size_t hashVal, int numPartitions) { 13 | 14 | #ifndef NO_MOD_PARTITION 15 | return hashVal % numPartitions; 16 | #else 17 | return (hashVal / numPartitions) % numPartitions; 18 | #endif 19 | 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/queriesTests/headers/SelectionTests.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by barnett on 8/26/16. 3 | // 4 | 5 | #ifndef PDB_QUERYIES_TESTS_SELECTIONTESTS_H 6 | #define PDB_QUERYIES_TESTS_SELECTIONTESTS_H 7 | 8 | #include "qunit.h" 9 | 10 | using QUnit::UnitTest; 11 | 12 | namespace pdb_tests { 13 | void testGetSetInput(UnitTest& qunit); 14 | void testSelectionExecute(UnitTest& qunit); 15 | } 16 | 17 | #endif // PDB_QUERYIES_TESTS_SELECTIONTESTS_H 18 | -------------------------------------------------------------------------------- /scripts/cleanupNode.sh: -------------------------------------------------------------------------------- 1 | rm -rf /var/tmp/*.so 2 | rm -rf pdbRoot* 3 | rm -rf pdbRoot 4 | rm -rf /mnt/pdbRoot* 5 | rm -rf /tmp/CatalogDir 6 | rm -rf CatalogDir/* 7 | rm -rf CatalogDir* 8 | rm -rf /tmp/CatalogDir* 9 | rm -rf logs/* 10 | rm -rf /mnt1/data/* 11 | rm -rf /mnt2/data/* 12 | rm -rf /mnt1/tmp/* 13 | rm -rf /mnt2/tmp/* 14 | rm -rf selfLearningDB 15 | pkill -9 pdb-server 16 | pkill -9 pdb-cluster 17 | pkill -9 test603 18 | pkill -9 test404 19 | -------------------------------------------------------------------------------- /src/boost/boost/predef/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_VERSION_H 9 | #define BOOST_PREDEF_VERSION_H 10 | 11 | #include 12 | 13 | #define BOOST_PREDEF_VERSION BOOST_VERSION_NUMBER(1, 3, 0) 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/RankedUrlWriter.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "WriteUserSet.h" 4 | #include "RankedUrl.h" 5 | 6 | using namespace pdb; 7 | class RankedUrlWriter : public WriteUserSet { 8 | 9 | public: 10 | 11 | ENABLE_DEEP_COPY 12 | 13 | RankedUrlWriter() = default; 14 | 15 | RankedUrlWriter(const std::string &dbName, const std::string &setName) { 16 | this->setOutput(dbName, setName); 17 | } 18 | }; 19 | -------------------------------------------------------------------------------- /tools/docker/compose-debug/run-cluster.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # copy the binaries 4 | cp -r ../../../bin ../cluster-image/bin 5 | 6 | # set environment variable 7 | export PDB_DIR=$(readlink -f ../../../) 8 | 9 | # rebuild the images 10 | docker-compose rm 11 | docker-compose build 12 | 13 | # remove the binaries 14 | rm -rf ../cluster-image/libraries 15 | rm -rf ../cluster-image/bin 16 | 17 | # start the cluster 18 | docker-compose up -------------------------------------------------------------------------------- /scripts/checkProcess.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | processName=$1 3 | echo "to check $processName" 4 | 5 | numProcesses=0 6 | 7 | for x in {1..10}; 8 | do 9 | if pgrep -x $processName > /dev/null 10 | then 11 | echo "$processName is started!" 12 | numProcesses=1 13 | break 14 | fi 15 | sleep 15 16 | done 17 | 18 | if [ "$numProcesses" -eq 0 ]; then 19 | echo "$processName hasn't started!" 20 | exit 1 21 | fi 22 | 23 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/RankedUrlScanner.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "ScanUserSet.h" 4 | #include "RankedUrl.h" 5 | 6 | using namespace pdb; 7 | class RankedUrlScanner : public ScanUserSet { 8 | public: 9 | 10 | ENABLE_DEEP_COPY 11 | 12 | RankedUrlScanner() = default; 13 | 14 | RankedUrlScanner(const std::string &dbName, const std::string &setName) { 15 | setDatabaseName(dbName); 16 | setSetName(setName); 17 | } 18 | }; -------------------------------------------------------------------------------- /src/work/headers/PDBAlarm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * File: PDBAlarm.h 3 | * Author: Chris 4 | * 5 | * Created on September 25, 2015, 5:18 PM 6 | */ 7 | 8 | #ifndef PDBALARM_H 9 | #define PDBALARM_H 10 | 11 | enum PDBAlarm { 12 | WorkAllDone, 13 | GenericError, 14 | FatalServerError, 15 | ServerError, 16 | OpenFileError, 17 | BuildFeatureError, 18 | QueryError, 19 | HeartBeatError 20 | 21 | }; 22 | 23 | #endif /* PDBALARM_H */ 24 | -------------------------------------------------------------------------------- /src/boost/boost/predef/detail/_cassert.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL__CASSERT_H 9 | #define BOOST_PREDEF_DETAIL__CASSERT_H 10 | 11 | #if defined(__cpluplus) 12 | #include 13 | #else 14 | #include 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/bufferMgr/source/MyDB_Table.cc: -------------------------------------------------------------------------------- 1 | 2 | #ifndef TABLE_C 3 | #define TABLE_C 4 | 5 | #include "MyDB_Table.h" 6 | 7 | MyDB_Table::MyDB_Table(string name, string storageLocIn) { 8 | tableName = name; 9 | storageLoc = storageLocIn; 10 | } 11 | 12 | MyDB_Table::~MyDB_Table() {} 13 | 14 | string& MyDB_Table::getName() { 15 | return tableName; 16 | } 17 | 18 | string& MyDB_Table::getStorageLoc() { 19 | return storageLoc; 20 | } 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /src/boost/boost/ref.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_REF_HPP 10 | #define BOOST_REF_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/ref.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/ScanIntSet.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_INT_SET_H 3 | #define SCAN_INT_SET_H 4 | 5 | #include "ScanUserSet.h" 6 | 7 | using namespace pdb; 8 | class ScanIntSet : public ScanUserSet { 9 | 10 | public: 11 | ENABLE_DEEP_COPY 12 | 13 | ScanIntSet() {} 14 | 15 | ScanIntSet(std::string dbName, std::string setName) { 16 | setDatabaseName(dbName); 17 | setSetName(setName); 18 | } 19 | }; 20 | 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /src/boost/boost/predef/detail/test.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_TEST_H 9 | #define BOOST_PREDEF_DETAIL_TEST_H 10 | 11 | #if !defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 12 | 13 | #define BOOST_PREDEF_DECLARE_TEST(x, s) 14 | 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/boost/boost/swap.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_SWAP_HPP 10 | #define BOOST_SWAP_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/swap.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /model-inference/tensorflow-experiments/Extreme_Classification_Test/Save_Input_to_CSV.py: -------------------------------------------------------------------------------- 1 | import psycopg2 2 | import numpy as np 3 | import pandas as pd 4 | import csv 5 | 6 | # create the data which will be saved into CSV and set it as double precision 7 | A = np.random.rand(1000, 597540) 8 | A = np.float64(A) 9 | 10 | # save to CSV file 11 | with open('input_double.csv', 'w', newline='') as file: 12 | mywriter = csv.writer(file, delimiter=',') 13 | mywriter.writerows(A) -------------------------------------------------------------------------------- /tools/docker/compose-profile/run-cluster.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # copy the binaries 4 | mkdir ../cluster-image/libraries 5 | cp -r ../../../libraries/* ../cluster-image/libraries 6 | cp -r ../../../bin/* ../cluster-image/ 7 | 8 | # rebuild the images 9 | docker-compose rm 10 | docker-compose build 11 | 12 | # remove the binaries 13 | rm -rf ../cluster-image/libraries 14 | find ../cluster-image/ -type f -executable -delete 15 | 16 | # start the cluster 17 | docker-compose up -------------------------------------------------------------------------------- /src/linearAlgebraDSL/DSLSamples/sample00_Parser.pdml: -------------------------------------------------------------------------------- 1 | A = load(4,4,2,2,"data.mat") 2 | B = zeros(4,4,2,2) 3 | C = ones(4,4,2,2) 4 | D = identity(4,2) 5 | 6 | E = A + B 7 | F = A - B 8 | G = A * B 9 | H = A '* B 10 | I = A %*% B 11 | 12 | J = A^T 13 | K = A^-1 14 | 15 | K = A + B%*%C 16 | 17 | L = max(A) 18 | M = min(A) 19 | N = rowMax(A) 20 | O = rowMin(A) 21 | P = rowSum(A) 22 | Q = colMax(A) 23 | R = colMin(A) 24 | S = colSum(A) 25 | T = duplicateRow(A,2,2) 26 | U = duplicateCol(A,2,2) -------------------------------------------------------------------------------- /scripts/train.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | queryId=$1 3 | trainingEpochs=$2 4 | 5 | 6 | for x in {1..$trainingEpochs} 7 | do 8 | ./scripts/cleanup.sh ./conf/aaa10.pem 9 | ./scripts/install.sh ./conf/aaa10.pem 10 | ./scripts/startMaster.sh ./conf/aaa10.pem 11 | sleep 5 12 | ./scripts/startWorkers.sh ./conf/aaa10.pem 172.30.4.38 12 30000 13 | ./bin/tpchDataLoader ~/tables_scale_10 14 | sleep 2 15 | ./bin/runQuery$queryId 16 | sleep 2 17 | ./bin/tpchDataLoader N N N N Y 18 | done 19 | -------------------------------------------------------------------------------- /src/objectModel/headers/TypeName.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef TYPE_NAME_H 3 | #define TYPE_NAME_H 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #ifndef _MSC_VER 12 | #include 13 | #endif 14 | 15 | namespace pdb { 16 | 17 | // returns the de-mangled name of the type T, as a string 18 | template 19 | std::string getTypeName(); 20 | } 21 | 22 | #include "TypeName.cc" 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /src/boost/boost/noncopyable.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_NONCOPYABLE_HPP 10 | #define BOOST_NONCOPYABLE_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/noncopyable.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/optimizerBenchmark/headers/ScanStarsInSet.h: -------------------------------------------------------------------------------- 1 | #ifndef SCAN_STARSIN_SET_H 2 | #define SCAN_STARSIN_SET_H 3 | 4 | #include "ScanUserSet.h" 5 | #include "StarsIn.h" 6 | 7 | using namespace pdb; 8 | class ScanStarsInSet : public ScanUserSet { 9 | 10 | public: 11 | ENABLE_DEEP_COPY 12 | 13 | ScanStarsInSet() {} 14 | 15 | ScanStarsInSet(std::string dbName, std::string setName) { 16 | setDatabaseName(dbName); 17 | setSetName(setName); 18 | } 19 | }; 20 | 21 | #endif -------------------------------------------------------------------------------- /src/queries/headers/QueryAlgo.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by barnett on 8/26/16. 3 | // 4 | 5 | #ifndef QUERYALGO_H 6 | #define QUERYALGO_H 7 | 8 | 9 | #include "Object.h" 10 | 11 | namespace pdb { 12 | class QueryBase; 13 | 14 | class QueryAlgo : public Object { 15 | public: 16 | virtual void forSelection(QueryBase& selection) = 0; 17 | 18 | virtual void forSet(QueryBase& set) = 0; 19 | 20 | virtual void forQueryOutput(QueryBase& output) = 0; 21 | }; 22 | } 23 | 24 | #endif // QUERYALGO_H 25 | -------------------------------------------------------------------------------- /src/boost/boost/function/function0.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 0 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /src/boost/boost/function/function1.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 1 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /src/boost/boost/function/function10.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 10 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /src/boost/boost/function/function2.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 2 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /src/boost/boost/function/function3.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 3 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /src/boost/boost/function/function4.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 4 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /src/boost/boost/function/function5.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 5 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /src/boost/boost/function/function6.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 6 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /src/boost/boost/function/function7.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 7 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /src/boost/boost/function/function8.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 8 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /src/boost/boost/function/function9.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 9 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /src/builtInPDBObjects/headers/GetListOfNodes.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef GET_LIST_OF_NODES 3 | #define GET_LIST_OF_NODES 4 | 5 | #include "Object.h" 6 | 7 | // PRELOAD %GetListOfNodes% 8 | 9 | namespace pdb { 10 | 11 | // A request to get the list of current cluster nodes from distribution manager master. 12 | class GetListOfNodes : public Object { 13 | 14 | public: 15 | GetListOfNodes() {} 16 | ~GetListOfNodes() {} 17 | 18 | ENABLE_DEEP_COPY 19 | 20 | 21 | private: 22 | }; 23 | } 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /src/tpchBench/headers/ScanCustomerSet.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_CUSTOMER_SET_H 3 | #define SCAN_CUSTOMER_SET_H 4 | 5 | #include "ScanUserSet.h" 6 | #include "Customer.h" 7 | 8 | using namespace pdb; 9 | class ScanCustomerSet : public ScanUserSet { 10 | 11 | public: 12 | ENABLE_DEEP_COPY 13 | 14 | ScanCustomerSet() {} 15 | 16 | ScanCustomerSet(std::string dbName, std::string setName) { 17 | setDatabaseName(dbName); 18 | setSetName(setName); 19 | } 20 | }; 21 | #endif 22 | -------------------------------------------------------------------------------- /src/boost/boost/predef/other.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2013-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_OTHER_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_OTHER_H 10 | #define BOOST_PREDEF_OTHER_H 11 | #endif 12 | 13 | #include 14 | /*#include */ 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /src/boost/boost/utility/addressof.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_UTILITY_ADDRESSOF_HPP 10 | #define BOOST_UTILITY_ADDRESSOF_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/addressof.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/boost/boost/utility/enable_if.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_UTILITY_ENABLE_IF_HPP 10 | #define BOOST_UTILITY_ENABLE_IF_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/enable_if.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/ScanStringSet.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_STRING_SET_H 3 | #define SCAN_STRING_SET_H 4 | 5 | #include "ScanUserSet.h" 6 | #include "PDBString.h" 7 | 8 | using namespace pdb; 9 | class ScanStringSet : public ScanUserSet { 10 | 11 | public: 12 | ENABLE_DEEP_COPY 13 | 14 | ScanStringSet() {} 15 | 16 | ScanStringSet(std::string dbName, std::string setName) { 17 | setDatabaseName(dbName); 18 | setSetName(setName); 19 | } 20 | }; 21 | 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/WriteSumResultSet.h: -------------------------------------------------------------------------------- 1 | #ifndef WRITE_SUM_RESULT_SET_H 2 | #define WRITE_SUM_RESULT_SET_H 3 | 4 | #include "WriteUserSet.h" 5 | #include "SumResult.h" 6 | 7 | using namespace pdb; 8 | class WriteSumResultSet : public WriteUserSet { 9 | 10 | public: 11 | ENABLE_DEEP_COPY 12 | 13 | WriteSumResultSet() {} 14 | 15 | WriteSumResultSet(std::string dbName, std::string setName) { 16 | this->setOutput(dbName, setName); 17 | } 18 | }; 19 | 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /scripts/lsWorkers.sh: -------------------------------------------------------------------------------- 1 | #/bin/bash 2 | # by Jia 3 | 4 | 5 | user=`id -u -n` 6 | pemFile=$1 7 | 8 | arr=($(awk '{print $0}' $PDB_HOME/conf/serverlist)) 9 | length=${#arr[@]} 10 | echo "There are $length servers" 11 | for (( i=0 ; i<$length ; i++ )) 12 | do 13 | host=${arr[i]} 14 | echo -e "\n+++++++++++ ls: $host" 15 | sleep 1 16 | ssh -i $pemFile $host 'ps aux | grep pdb-server' 17 | sleep 1 18 | ssh -i $pemFile $host "cat $PDB_INSTALL/log.out" 19 | 20 | done 21 | -------------------------------------------------------------------------------- /src/boost/boost/checked_delete.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_CHECKED_DELETE_HPP 10 | #define BOOST_CHECKED_DELETE_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/checked_delete.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/boost/boost/predef/library.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_LIBRARY_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_LIBRARY_H 10 | #define BOOST_PREDEF_LIBRARY_H 11 | #endif 12 | 13 | #include 14 | #include 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /src/optimizerBenchmark/headers/ScanMovieStarSet.h: -------------------------------------------------------------------------------- 1 | #ifndef SCAN_MOVIESTAR_SET_H 2 | #define SCAN_MOVIESTAR_SET_H 3 | 4 | #include "ScanUserSet.h" 5 | #include "MovieStar.h" 6 | 7 | using namespace pdb; 8 | class ScanMovieStarSet : public ScanUserSet { 9 | 10 | public: 11 | ENABLE_DEEP_COPY 12 | 13 | ScanMovieStarSet() {} 14 | 15 | ScanMovieStarSet(std::string dbName, std::string setName) { 16 | setDatabaseName(dbName); 17 | setSetName(setName); 18 | } 19 | }; 20 | 21 | #endif -------------------------------------------------------------------------------- /tools/cmake/tests/Test74.cmake: -------------------------------------------------------------------------------- 1 | # add the test 2 | add_test(aggregation-and-selection-mixed ${CTEST_BINARY_DIRECTORY}/Test74 Y Y 1024 master Y) 3 | 4 | # add a build dependency to build-tests target 5 | add_dependencies(build-tests Test74) 6 | 7 | # add build dependencies to shared libraries it uses 8 | add_dependencies(Test74 SillySelection) 9 | add_dependencies(Test74 ScanSupervisorSet) 10 | add_dependencies(Test74 SillyAggregation) 11 | add_dependencies(Test74 FinalSelection) 12 | add_dependencies(Test74 WriteDoubleSet) 13 | -------------------------------------------------------------------------------- /scripts/query.txt: -------------------------------------------------------------------------------- 1 | 90 342 528 678 957 1001 1950 2022 2045 2345 3238 4456 5218 5301 5798 6001 6119 6120 6153 6670 6715 2 | 6896 7000 7109 7400 7542 8000 10024 10030 10316 10400 10534 11000 11635 11700 11884 11900 12413 3 | 14511 15000 15594 15700 15760 16000 16976 17000 17002 17003 17035 4 | 18437 19000 20848 21000 22004 22202 22203 22339 22400 23984 24000 5 | 24180 25000 26284 27000 27182 28000 28268 28500 28530 29000 31060 31500 32388 32400 32428 32774 6 | 33000 33023 34000 34055 34300 34385 7 | 36745 37000 37232 37500 37990 38000 3982 8 | -------------------------------------------------------------------------------- /src/dispatcher/headers/FairPolicy.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Joseph Hwang on 9/13/16. 3 | // 4 | 5 | #ifndef OBJECTQUERYMODEL_FAIRPOLICY_H 6 | #define OBJECTQUERYMODEL_FAIRPOLICY_H 7 | 8 | /** 9 | * RandomPolicy simply selects a single storage node from its Storage Nodes List to send the entire 10 | * Vector of data to. 11 | * We send the entire Vector to the storage node that has received the least data for the given set 12 | * from this Dispatcher 13 | * thus far 14 | */ 15 | 16 | 17 | #endif // OBJECTQUERYMODEL_FAIRPOLICY_H 18 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/WriteKMeansSet.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef WRITE_K_MEANS_SET_H 3 | #define WRITE_K_MEANS_SET_H 4 | 5 | #include "WriteUserSet.h" 6 | #include "KMeansAggregateOutputType.h" 7 | 8 | using namespace pdb; 9 | class WriteKMeansSet : public WriteUserSet { 10 | 11 | public: 12 | ENABLE_DEEP_COPY 13 | 14 | WriteKMeansSet() {} 15 | 16 | WriteKMeansSet(std::string dbName, std::string setName) { 17 | this->setOutput(dbName, setName); 18 | } 19 | }; 20 | 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /src/tpchBench/headers/JaccardResultWriter.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef JACC_RES_WRIT_H 3 | #define JACC_RES_WRIT_H 4 | 5 | #include "WriteUserSet.h" 6 | #include "TopJaccard.h" 7 | 8 | using namespace pdb; 9 | class JaccardResultWriter : public WriteUserSet>> { 10 | 11 | public: 12 | ENABLE_DEEP_COPY 13 | 14 | JaccardResultWriter() {} 15 | 16 | JaccardResultWriter(std::string dbName, std::string setName) { 17 | this->setOutput(dbName, setName); 18 | } 19 | }; 20 | 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/LDA/WriteTopicsPerWord.h: -------------------------------------------------------------------------------- 1 | #ifndef WRITE_TOPICS_PER_WORD_H 2 | #define WRITE_TOPICS_PER_WORD_H 3 | 4 | #include "WriteUserSet.h" 5 | #include "LDATopicWordProb.h" 6 | 7 | using namespace pdb; 8 | class WriteTopicsPerWord : public WriteUserSet { 9 | 10 | public: 11 | ENABLE_DEEP_COPY 12 | 13 | WriteTopicsPerWord() {} 14 | 15 | WriteTopicsPerWord(std::string dbName, std::string setName) { 16 | this->setOutput(dbName, setName); 17 | } 18 | }; 19 | 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/ScanEmployeeSet.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_EMPLOYEE_SET_H 3 | #define SCAN_EMPLOYEE_SET_H 4 | 5 | #include "ScanUserSet.h" 6 | #include "SharedEmployee.h" 7 | 8 | using namespace pdb; 9 | class ScanEmployeeSet : public ScanUserSet { 10 | 11 | public: 12 | ENABLE_DEEP_COPY 13 | 14 | ScanEmployeeSet() {} 15 | 16 | ScanEmployeeSet(std::string dbName, std::string setName) { 17 | setDatabaseName(dbName); 18 | setSetName(setName); 19 | } 20 | }; 21 | 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /src/boost/boost/config/platform/amigaos.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | #define BOOST_PLATFORM "AmigaOS" 9 | 10 | #define BOOST_DISABLE_THREADS 11 | #define BOOST_NO_CWCHAR 12 | #define BOOST_NO_STD_WSTRING 13 | #define BOOST_NO_INTRINSIC_WCHAR_T 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/boost/boost/mpl/next.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_NEXT_HPP_INCLUDED 3 | #define BOOST_MPL_NEXT_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_NEXT_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /src/conv2d_memory_fusion/headers/Kernel.h: -------------------------------------------------------------------------------- 1 | #ifndef CONV2D_KERNEL_H 2 | #define CONV2D_KERNEL_H 3 | 4 | #include "Matrix3D.h" 5 | #include "PDBObject.h" 6 | 7 | namespace conv2d_memory_fusion { 8 | class Kernel : public Matrix3D { 9 | public: 10 | int index; 11 | 12 | ENABLE_DEEP_COPY 13 | Kernel() {} 14 | Kernel(int index, int x, int y, int z) : index(index), Matrix3D(x, y, z) {} 15 | 16 | int getKey() { return index; } 17 | 18 | int get_num_channels() { return z; } 19 | }; 20 | } // namespace conv2d_memory_fusion 21 | 22 | #endif -------------------------------------------------------------------------------- /src/sharedLibraries/headers/ScanSupervisorSet.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_SUPERVISOR_SET_H 3 | #define SCAN_SUPERVISOR_SET_H 4 | 5 | #include "ScanUserSet.h" 6 | #include "Supervisor.h" 7 | 8 | using namespace pdb; 9 | class ScanSupervisorSet : public ScanUserSet { 10 | 11 | public: 12 | ENABLE_DEEP_COPY 13 | 14 | ScanSupervisorSet() {} 15 | 16 | ScanSupervisorSet(std::string dbName, std::string setName) { 17 | setDatabaseName(dbName); 18 | setSetName(setName); 19 | } 20 | }; 21 | 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /scripts/pangeaDeepRL/setup.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | start_dir = os.getcwd() 4 | 5 | 6 | # apache server 7 | os.system("sudo apt-get -y install apache2") 8 | 9 | # tensorflow 10 | os.system("sudo apt-get -y install python-pip python-dev") 11 | os.system("sudo pip install tensorflow") 12 | 13 | # tflearn 14 | os.system("sudo pip install tflearn") 15 | os.system("sudo apt-get -y install python-h5py") 16 | os.system("sudo apt-get -y install python-scipy") 17 | 18 | # matplotlib 19 | os.system("sudo apt-get -y install python-matplotlib") 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/boost/boost/mpl/prior.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_PRIOR_HPP_INCLUDED 3 | #define BOOST_MPL_PRIOR_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_PRIOR_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /src/builtInPDBObjects/headers/StorageCollectStats.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef STORAGE_COLLECT_STATS_H 3 | #define STORAGE_COLLECT_STATS_H 4 | 5 | #include "Object.h" 6 | #include "Handle.h" 7 | #include "PDBString.h" 8 | 9 | // PRELOAD %StorageCollectStats% 10 | 11 | namespace pdb { 12 | 13 | // encapsulates a request to return all user set information 14 | class StorageCollectStats : public Object { 15 | 16 | public: 17 | StorageCollectStats() {} 18 | ~StorageCollectStats() {} 19 | 20 | 21 | ENABLE_DEEP_COPY 22 | }; 23 | } 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/LinkWithValue.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | namespace pdb { 7 | 8 | class LinkWithValue : public pdb::Object { 9 | public: 10 | 11 | LinkWithValue() = default; 12 | 13 | LinkWithValue(int url, float rank) : url(url), rank(rank) {} 14 | 15 | ENABLE_DEEP_COPY 16 | 17 | // this url 18 | int url; 19 | 20 | 21 | // the value 22 | float rank = 0.0f; 23 | 24 | 25 | size_t hash() const override { 26 | return url; 27 | } 28 | 29 | }; 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/ScanEmpWithVector.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_EMP_WITH_VECTOR_H 3 | #define SCAN_EMP_WITH_VECTOR_H 4 | 5 | #include "ScanUserSet.h" 6 | #include "EmpWithVector.h" 7 | 8 | using namespace pdb; 9 | class ScanEmpWithVector : public ScanUserSet { 10 | 11 | public: 12 | ENABLE_DEEP_COPY 13 | 14 | ScanEmpWithVector() {} 15 | 16 | ScanEmpWithVector(std::string dbName, std::string setName) { 17 | setDatabaseName(dbName); 18 | setSetName(setName); 19 | } 20 | }; 21 | 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /model-inference/deduplication/indexing/lsh/hashFunction.py: -------------------------------------------------------------------------------- 1 | import hashlib 2 | 3 | def hash_sha1(input): 4 | """A hash function based hashlib.sha1 5 | 6 | Args: 7 | input: the data to generate integer-based hash value (need to be encoded with UTF-8) 8 | 9 | Returns: 10 | int: an integer-based hasah values 11 | """ 12 | 13 | if (isinstance(input, bytes) == False): 14 | raise TypeError("The input data must be encoded with UTF-8") 15 | 16 | return int(hashlib.sha1(input).hexdigest()[0:8], 16) 17 | -------------------------------------------------------------------------------- /src/boost/boost/detail/scoped_enum_emulation.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_DETAIL_SCOPED_ENUM_EMULATION_HPP 10 | #define BOOST_DETAIL_SCOPED_ENUM_EMULATION_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/scoped_enum.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/boost/boost/type_traits/detail/size_t_trait_undef.hpp: -------------------------------------------------------------------------------- 1 | 2 | // NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION 3 | 4 | // Copyright Aleksey Gurtovoy 2002-2004 5 | // 6 | // Distributed under the Boost Software License, Version 1.0. 7 | // (See accompanying file LICENSE_1_0.txt or copy at 8 | // http://www.boost.org/LICENSE_1_0.txt) 9 | 10 | // $Source$ 11 | // $Date$ 12 | // $Revision$ 13 | 14 | #undef BOOST_TT_AUX_SIZE_T_TRAIT_DEF1 15 | #undef BOOST_TT_AUX_SIZE_T_TRAIT_SPEC1 16 | #undef BOOST_TT_AUX_SIZE_T_TRAIT_PARTIAL_SPEC1_1 17 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/LDA/ScanTopicsPerWord.h: -------------------------------------------------------------------------------- 1 | #ifndef SCAN_TOPIC_PER_WORD_H 2 | #define SCAN_TOPIC_PER_WORD_H 3 | 4 | #include "ScanUserSet.h" 5 | #include "LDATopicWordProb.h" 6 | 7 | using namespace pdb; 8 | class ScanTopicsPerWord : public ScanUserSet { 9 | 10 | public: 11 | ENABLE_DEEP_COPY 12 | 13 | ScanTopicsPerWord() {} 14 | 15 | ScanTopicsPerWord(std::string dbName, std::string setName) { 16 | setDatabaseName(dbName); 17 | setSetName(setName); 18 | } 19 | }; 20 | 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /src/boost/boost/move/detail/config_end.hpp: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // (C) Copyright Ion Gaztanaga 2012-2012. Distributed under the Boost 4 | // Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | // 7 | // See http://www.boost.org/libs/move for documentation. 8 | // 9 | ////////////////////////////////////////////////////////////////////////////// 10 | #if defined BOOST_MSVC 11 | # pragma warning (pop) 12 | #endif 13 | -------------------------------------------------------------------------------- /src/boost/boost/config/platform/cray.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2011. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | 7 | // See http://www.boost.org for most recent version. 8 | 9 | // SGI Irix specific config options: 10 | 11 | #define BOOST_PLATFORM "Cray" 12 | 13 | // boilerplate code: 14 | #define BOOST_HAS_UNISTD_H 15 | #include 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/boost/boost/iterator.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2000. Distributed under the Boost 2 | // Software License, Version 1.0. (See accompanying file 3 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4 | 5 | #ifndef BOOST_ITERATOR_HPP 6 | #define BOOST_ITERATOR_HPP 7 | 8 | // This header is obsolete and will be deprecated. 9 | 10 | #include 11 | #include // std::ptrdiff_t 12 | 13 | namespace boost 14 | { 15 | 16 | using std::iterator; 17 | 18 | } // namespace boost 19 | 20 | #endif // BOOST_ITERATOR_HPP 21 | -------------------------------------------------------------------------------- /src/builtInPDBObjects/headers/Holder.h: -------------------------------------------------------------------------------- 1 | 2 | #include "Object.h" 3 | #include "PDBTemplateBase.h" 4 | #include "Handle.h" 5 | #include "Array.h" 6 | 7 | #ifndef HOLDER_H 8 | #define HOLDER_H 9 | 10 | #include 11 | #include 12 | #include 13 | #include 14 | 15 | // PRELOAD %Holder% 16 | 17 | namespace pdb { 18 | 19 | 20 | template 21 | class Holder : public Object { 22 | 23 | 24 | public: 25 | ENABLE_DEEP_COPY 26 | 27 | Handle child; 28 | }; 29 | } 30 | 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/ScanBuiltinEmployeeSet.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_BUILTIN_EMPLOYEE_SET_H 3 | #define SCAN_BUILTIN_EMPLOYEE_SET_H 4 | 5 | #include "ScanUserSet.h" 6 | #include "Employee.h" 7 | 8 | using namespace pdb; 9 | class ScanBuiltinEmployeeSet : public ScanUserSet { 10 | 11 | public: 12 | ENABLE_DEEP_COPY 13 | 14 | ScanBuiltinEmployeeSet() {} 15 | 16 | ScanBuiltinEmployeeSet(std::string dbName, std::string setName) { 17 | setDatabaseName(dbName); 18 | setSetName(setName); 19 | } 20 | }; 21 | 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/ScanStringIntPairSet.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_STRING_INT_PAIR_SET_H 3 | #define SCAN_STRING_INT_PAIR_SET_H 4 | 5 | #include "ScanUserSet.h" 6 | #include "StringIntPair.h" 7 | 8 | using namespace pdb; 9 | class ScanStringIntPairSet : public ScanUserSet { 10 | 11 | public: 12 | ENABLE_DEEP_COPY 13 | 14 | ScanStringIntPairSet() {} 15 | 16 | ScanStringIntPairSet(std::string dbName, std::string setName) { 17 | setDatabaseName(dbName); 18 | setSetName(setName); 19 | } 20 | }; 21 | 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /src/boost/boost/detail/no_exceptions_support.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_DETAIL_NO_EXCEPTIONS_SUPPORT_HPP 10 | #define BOOST_DETAIL_NO_EXCEPTIONS_SUPPORT_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/no_exceptions_support.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/builtInPDBObjects/headers/SumResult.h: -------------------------------------------------------------------------------- 1 | #ifndef SUM_RESULT_H 2 | #define SUM_RESULT_H 3 | 4 | 5 | #include "Object.h" 6 | 7 | // PRELOAD %SumResult% 8 | 9 | namespace pdb { 10 | 11 | class SumResult : public Object { 12 | 13 | public: 14 | int total; 15 | int identifier; 16 | 17 | ENABLE_DEEP_COPY 18 | 19 | int getTotal() { 20 | return total; 21 | } 22 | 23 | int& getKey() { 24 | return identifier; 25 | } 26 | 27 | int& getValue() { 28 | return total; 29 | } 30 | 31 | }; 32 | } 33 | 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /src/dispatcher/headers/PartitionPolicyFactory.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef OBJECTQUERYMODEL_PARTITIONPOLICYFACTORY_H 3 | #define OBJECTQUERYMODEL_PARTITIONPOLICYFACTORY_H 4 | 5 | #include "PartitionPolicy.h" 6 | #include "RandomPolicy.h" 7 | #include "RoundRobinPolicy.h" 8 | 9 | namespace pdb { 10 | 11 | class PartitionPolicyFactory { 12 | 13 | public: 14 | static PartitionPolicyPtr buildPartitionPolicy(PartitionPolicy::Policy policy); 15 | 16 | static PartitionPolicyPtr buildDefaultPartitionPolicy(); 17 | }; 18 | } 19 | #endif // OBJECTQUERYMODEL_PARTITIONPOLICYFACTORY_H 20 | -------------------------------------------------------------------------------- /src/sharedLibraries/headers/ScanSimpleEmployeeSet.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCAN_SIMPLE_EMPLOYEE_SET_H 3 | #define SCAN_SIMPLE_EMPLOYEE_SET_H 4 | 5 | #include "ScanUserSet.h" 6 | #include "SimpleEmployee.h" 7 | 8 | using namespace pdb; 9 | class ScanSimpleEmployeeSet : public ScanUserSet { 10 | 11 | public: 12 | ENABLE_DEEP_COPY 13 | 14 | ScanSimpleEmployeeSet() {} 15 | 16 | ScanSimpleEmployeeSet(std::string dbName, std::string setName) { 17 | setDatabaseName(dbName); 18 | setSetName(setName); 19 | } 20 | }; 21 | 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /tools/cmake/tests/Test78.cmake: -------------------------------------------------------------------------------- 1 | # add the test 2 | add_test(selection-and-join-mixed ${CTEST_BINARY_DIRECTORY}/Test78 Y Y 1024 master Y) 3 | 4 | # add a build dependency to build-tests target 5 | add_dependencies(build-tests Test78) 6 | 7 | # add build dependencies to shared libraries it uses 8 | add_dependencies(Test78 IntSillyJoin) 9 | add_dependencies(Test78 ScanIntSet) 10 | add_dependencies(Test78 ScanStringIntPairSet) 11 | add_dependencies(Test78 StringSelectionOfStringIntPair) 12 | add_dependencies(Test78 IntAggregation) 13 | add_dependencies(Test78 WriteSumResultSet) --------------------------------------------------------------------------------