35 namespace experimental {
81 bool has_categorical_nodes,
83 typename vector_output_t = std::nullptr_t,
84 typename categorical_data_t = std::nullptr_t>
85 std::enable_if_t<std::disjunction_v<std::bool_constant<D == raft_proto::device_type::cpu>,
86 std::bool_constant<!raft_proto::GPU_ENABLED>>,
90 typename forest_t::io_type* output,
91 typename forest_t::io_type* input,
95 vector_output_t vector_output =
nullptr,
96 categorical_data_t categorical_data =
nullptr,
98 std::optional<index_type> specified_chunk_size = std::nullopt,
106 infer_kernel_cpu<has_categorical_nodes, true>(
114 specified_chunk_size.value_or(hardware_constructive_interference_size),
115 hardware_constructive_interference_size,
120 infer_kernel_cpu<has_categorical_nodes, false>(
128 specified_chunk_size.value_or(hardware_constructive_interference_size),
129 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:88
uint32_t index_type
Definition: index_type.hpp:21
infer_kind
Definition: infer_kind.hpp:20
forest< real_t > * forest_t
Definition: fil.h:89
Definition: dbscan.hpp:30
Definition: buffer.hpp:35
int cuda_stream
Definition: cuda_stream.hpp:25
device_type
Definition: device_type.hpp:18
Definition: forest.hpp:36
Definition: postprocessor.hpp:141
Definition: gpu_support.hpp:47