![]() |
PARALUTION
1.0.0
PARALUTION
|
#include <CL/cl.h>
Go to the source code of this file.
Namespaces | |
paralution | |
Functions | |
template<typename DataType > | |
void | paralution::allocate_ocl (const int, cl_context, cl_mem **) |
Allocate device memory. More... | |
void | paralution::free_ocl (cl_mem **) |
Free device memory. More... | |
template<typename DataType > | |
void | paralution::ocl_set_to (cl_kernel, cl_command_queue, const size_t, const size_t, const int, const DataType, cl_mem *) |
Set device object to specific values. More... | |
template<typename DataType > | |
void | paralution::ocl_host2dev (const int, const DataType *, cl_mem *, cl_command_queue) |
Copy object from host to device memory. More... | |
template<typename DataType > | |
void | paralution::ocl_dev2host (const int, cl_mem *, DataType *, cl_command_queue) |
Copy object from device to host memory. More... | |
template<typename DataType > | |
void | paralution::ocl_dev2dev (const int, cl_mem *, cl_mem *, cl_command_queue) |
Copy object from device to device (intra) memory. More... | |