MCPcopy Create free account
hub / github.com/ROCm/rocPRIM / operator()

Method operator()

benchmark/benchmark_predicate_iterator.cpp:96–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 using value_type = T;
95
96 void operator()(T* d_input, T* d_output, const size_t size, const hipStream_t stream)
97 {
98 auto t_it = rocprim::make_transform_iterator(d_input, Transform{});
99 auto w_it = rocprim::make_predicate_iterator(d_output, d_input, Predicate{});
100 HIP_CHECK(rocprim::transform(t_it, w_it, size, rocprim::identity<T>{}, stream));
101 }
102};
103
104template<typename IteratorBenchmark>

Callers

nothing calls this directly

Calls 2

make_predicate_iteratorFunction · 0.85
transformClass · 0.50

Tested by

no test coverage detected