69 bool has_categorical_nodes,
71 typename vector_output_t = std::nullptr_t,
72 typename categorical_data_t = std::nullptr_t>
73 std::enable_if_t<std::disjunction_v<std::bool_constant<D == raft_proto::device_type::cpu>,
74 std::bool_constant<!raft_proto::GPU_ENABLED>>,
78 typename forest_t::io_type* output,
79 typename forest_t::io_type* input,
83 vector_output_t vector_output =
nullptr,
84 categorical_data_t categorical_data =
nullptr,
86 std::optional<index_type> specified_chunk_size = std::nullopt,
94 infer_kernel_cpu<has_categorical_nodes, true>(
102 specified_chunk_size.value_or(hardware_constructive_interference_size),
103 hardware_constructive_interference_size,
108 infer_kernel_cpu<has_categorical_nodes, false>(
116 specified_chunk_size.value_or(hardware_constructive_interference_size),
117 hardware_constructive_interference_size,
#define CUML_FIL_INFER_ALL(template_type, dev, variant_index)
Definition: infer_macros.hpp:137
std::enable_if_t< std::disjunction_v< std::bool_constant< D==raft_proto::device_type::cpu >, std::bool_constant<!raft_proto::GPU_ENABLED > >, void > infer(forest_t const &forest, postprocessor< typename forest_t::io_type > const &postproc, typename forest_t::io_type *output, typename forest_t::io_type *input, index_type row_count, index_type col_count, index_type output_count, vector_output_t vector_output=nullptr, categorical_data_t categorical_data=nullptr, infer_kind infer_type=infer_kind::default_kind, std::optional< index_type > specified_chunk_size=std::nullopt, raft_proto::device_id< D > device=raft_proto::device_id< D >{}, raft_proto::cuda_stream=raft_proto::cuda_stream{})
Definition: cpu.hpp:76
infer_kind
Definition: infer_kind.hpp:8
uint32_t index_type
Definition: index_type.hpp:9
Definition: dbscan.hpp:18
Definition: buffer.hpp:24
int cuda_stream
Definition: cuda_stream.hpp:14
device_type
Definition: device_type.hpp:7
Definition: forest.hpp:24
Definition: postprocessor.hpp:135
Definition: gpu_support.hpp:36