Clover Git
OpenCL 1.1 software implementation
|
Devices. More...
#include "CL/cl.h"
#include <core/cpu/device.h>
Go to the source code of this file.
Functions | |
cl_int | clGetDeviceIDs (cl_platform_id platform, cl_device_type device_type, cl_uint num_entries, cl_device_id *devices, cl_uint *num_devices) |
cl_int | clGetDeviceInfo (cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) |
Variables | |
static Coal::CPUDevice | cpudevice |
Devices.
Definition in file api_device.cpp.
cl_int clGetDeviceIDs | ( | cl_platform_id | platform, |
cl_device_type | device_type, | ||
cl_uint | num_entries, | ||
cl_device_id * | devices, | ||
cl_uint * | num_devices | ||
) |
Definition at line 39 of file api_device.cpp.
References Coal::CPUDevice::init().
Referenced by clCreateContextFromType().
cl_int clGetDeviceInfo | ( | cl_device_id | device, |
cl_device_info | param_name, | ||
size_t | param_value_size, | ||
void * | param_value, | ||
size_t * | param_value_size_ret | ||
) |
Definition at line 73 of file api_device.cpp.
References Coal::DeviceInterface::info(), and Coal::Object::T_Device.
Coal::CPUDevice cpudevice [static] |
Definition at line 36 of file api_device.cpp.