Number Theory Utils 0.2.0
|
Manages "global" OpenCL state including programs, kernels, the context, and the command queue. More...
#include <cl.h>
Data Fields | |
int | flags |
cl_int | err |
cl_uint | num_platforms |
cl_platform_id * | platform_ids |
cl_uint | num_devices |
cl_device_id * | device_ids |
cl_uint | max_compute_units |
cl_uint | max_work_item_dimensions |
size_t | max_work_group_size |
size_t * | max_work_item_sizes |
cl_context | context |
cl_command_queue | queue |
size_t | programs_len |
size_t | programs_cap |
cl_program * | programs |
size_t | kernels_len |
size_t | kernels_cap |
nut_ClKernel * | kernels |
pthread_mutex_t | log_lock |
Manages "global" OpenCL state including programs, kernels, the context, and the command queue.
Multiple can be created, but this would require manually setting up all but the first to use distinct devices, otherwise there would be multiple for the same device.
nut_ClKernel* nut_ClMgr::kernels |