spla
Namespaces | Functions
cl_reduce_by_key.hpp File Reference
#include <opencl/cl_accelerator.hpp>
#include <opencl/cl_alloc.hpp>
#include <opencl/cl_alloc_general.hpp>
#include <opencl/cl_counter.hpp>
#include <opencl/cl_prefix_sum.hpp>
#include <opencl/cl_program_builder.hpp>
#include <opencl/generated/auto_reduce_by_key.hpp>
#include <spla/timer.hpp>
Include dependency graph for cl_reduce_by_key.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 spla
 

Functions

template<typename T >
void spla::cl_reduce_by_key (cl::CommandQueue &queue, const cl::Buffer &keys, const cl::Buffer &values, const uint size, cl::Buffer &unique_keys, cl::Buffer &reduce_values, uint &reduced_size, const ref_ptr< TOpBinary< T, T, T >> &reduce_op, CLAlloc *tmp_alloc)