26 namespace Data_Namespace {
42 const std::vector<std::vector<DecisionTreeEntry>>& decision_trees,
43 const std::vector<int64_t>& decision_tree_offsets,
44 const bool compute_avg);
47 llvm::Value*
codegen(
const std::vector<llvm::Value*>& regressor_inputs,
52 const std::vector<std::vector<DecisionTreeEntry>>& decision_trees,
53 const std::vector<int64_t>& decision_tree_offsets);
void createKernelBuffers()
int64_t decision_tree_table_size_bytes_
int8_t * host_decision_tree_offsets_
TreeModelPredictionMgr(const Data_Namespace::MemoryLevel memory_level, Executor *executor, const std::vector< std::vector< DecisionTreeEntry >> &decision_trees, const std::vector< int64_t > &decision_tree_offsets, const bool compute_avg)
llvm::Value * codegen(const std::vector< llvm::Value * > ®ressor_inputs, const CompilationOptions &co) const
std::vector< Data_Namespace::AbstractBuffer * > decision_tree_table_device_buffers_
int8_t * host_decision_tree_table_
Data_Namespace::DataMgr * data_mgr_
int64_t decision_tree_offsets_size_bytes_
std::vector< const int8_t * > kernel_decision_tree_tables_
~TreeModelPredictionMgr()
std::vector< Data_Namespace::AbstractBuffer * > decision_tree_offsets_device_buffers_
std::vector< const int8_t * > kernel_decision_tree_offsets_
void allocateAndPopulateHostBuffers(const std::vector< std::vector< DecisionTreeEntry >> &decision_trees, const std::vector< int64_t > &decision_tree_offsets)
const Data_Namespace::MemoryLevel memory_level_