Clover Git
OpenCL 1.1 software implementation
Functions | Variables

api_device.cpp File Reference

Devices. More...

#include "CL/cl.h"
#include <core/cpu/device.h>
Include dependency graph for api_device.cpp:

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

Detailed Description

Devices.

Definition in file api_device.cpp.


Function Documentation

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.


Variable Documentation

Definition at line 36 of file api_device.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines