|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of cl_device_id in org.jocl |
---|
Methods in org.jocl with parameters of type cl_device_id | |
---|---|
static int |
CL.clBuildProgram(cl_program program,
int num_devices,
cl_device_id[] device_list,
java.lang.String options,
BuildProgramFunction pfn_notify,
java.lang.Object user_data)
Builds (compiles and links) a program executable from the program source or binary. |
static cl_command_queue |
CL.clCreateCommandQueue(cl_context context,
cl_device_id device,
long properties,
int[] errcode_ret)
Create a command-queue on a specific device. |
static cl_context |
CL.clCreateContext(cl_context_properties properties,
int num_devices,
cl_device_id[] devices,
CreateContextFunction pfn_notify,
java.lang.Object user_data,
int[] errcode_ret)
Creates an OpenCL context. |
static cl_program |
CL.clCreateProgramWithBinary(cl_context context,
int num_devices,
cl_device_id[] device_list,
long[] lengths,
byte[][] binaries,
int[] binary_status,
int[] errcode_ret)
Creates a program object for a context, and loads the binary bits specified by binary into the program object. |
static int |
CL.clGetDeviceIDs(cl_platform_id platform,
long device_type,
int num_entries,
cl_device_id[] devices,
int[] num_devices)
Obtain the list of devices available on a platform. |
static int |
CL.clGetDeviceInfo(cl_device_id device,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_ret)
Get information about an OpenCL device. |
static int |
CL.clGetKernelWorkGroupInfo(cl_kernel kernel,
cl_device_id device,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_ret)
Returns information about the kernel object that may be specific to a device. |
static int |
CL.clGetProgramBuildInfo(cl_program program,
cl_device_id device,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_ret)
Returns build information for each device in the program object. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |