4 #ifndef __OPENCL_BACKEND_H__
5 #define __OPENCL_BACKEND_H__
7 #define __CL_ENABLE_EXCEPTIONS
25 #include <type_traits>
29 #ifdef USE_SINGLE_PRECISION
48 std::stringstream
opt;
77 std::map<std::string, cl::Buffer>
buffers;
109 size_t width,
size_t height,
bool read_only);
114 template <
typename ValueType>
122 template <
typename ValueType>
125 template <
typename ValueType>