80 bool has_categorical_nodes,
82 typename vector_output_t = std::nullptr_t,
83 typename categorical_data_t = std::nullptr_t>
84 std::enable_if_t<std::disjunction_v<std::bool_constant<D == raft_proto::device_type::cpu>,
85 std::bool_constant<!raft_proto::GPU_ENABLED>>,
89 typename forest_t::io_type* output,
90 typename forest_t::io_type* input,
94 vector_output_t vector_output =
nullptr,
95 categorical_data_t categorical_data =
nullptr,
97 std::optional<index_type> specified_chunk_size = std::nullopt,
105 infer_kernel_cpu<has_categorical_nodes, true>(
113 specified_chunk_size.value_or(hardware_constructive_interference_size),
114 hardware_constructive_interference_size,
119 infer_kernel_cpu<has_categorical_nodes, false>(
127 specified_chunk_size.value_or(hardware_constructive_interference_size),
128 hardware_constructive_interference_size,
#define CUML_FIL_INFER_ALL(template_type, dev, variant_index)
Definition: infer_macros.hpp:148
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:87
infer_kind
Definition: infer_kind.hpp:19
uint32_t index_type
Definition: index_type.hpp:20
Definition: dbscan.hpp:29
Definition: buffer.hpp:35
int cuda_stream
Definition: cuda_stream.hpp:25
device_type
Definition: device_type.hpp:18
Definition: forest.hpp:35
Definition: postprocessor.hpp:140
Definition: gpu_support.hpp:47