spla
Namespaces | Functions
cl_reduce.hpp File Reference
#include <opencl/cl_accelerator.hpp>
#include <opencl/cl_program_builder.hpp>
#include <opencl/generated/auto_reduce.hpp>
Include dependency graph for cl_reduce.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 (cl::CommandQueue &queue, const cl::Buffer &values, uint n, T init, const ref_ptr< TOpBinary< T, T, T >> &op_reduce, T &result)