com.jogamp.opencl.llb
Interface CLPlatformBinding

All Known Subinterfaces:
CL, CLGL
All Known Implementing Classes:
CLAbstractImpl, CLImpl

public interface CLPlatformBinding

Java bindings to OpenCL platforms.

Author:
Michael Bien, GlueGen, et al.

Field Summary
static int CL_PLATFORM_EXTENSIONS
           
static int CL_PLATFORM_ICD_SUFFIX_KHR
           
static int CL_PLATFORM_NAME
           
static int CL_PLATFORM_NOT_FOUND_KHR
           
static int CL_PLATFORM_PROFILE
           
static int CL_PLATFORM_VENDOR
           
static int CL_PLATFORM_VERSION
           
 
Method Summary
 int clGetDeviceIDs(long platform, long device_type, int num_entries, PointerBuffer devices, IntBuffer num_devices)
          Interface to C language function:
cl_int clGetDeviceIDs(cl_platform_id platform, cl_device_type device_type, cl_uint num_entries, cl_device_id * devices, cl_uint * num_devices);
 int clGetPlatformIDs(int num_entries, PointerBuffer platforms, IntBuffer num_platforms)
          Interface to C language function:
cl_int clGetPlatformIDs(cl_uint num_entries, cl_platform_id * platforms, cl_uint * num_platforms);
 int clGetPlatformInfo(long platform, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
          Interface to C language function:
cl_int clGetPlatformInfo(cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret);
 int clIcdGetPlatformIDsKHR(int arg0, PointerBuffer arg1, IntBuffer arg2)
          Interface to C language function:
cl_int clIcdGetPlatformIDsKHR(cl_uint, cl_platform_id * , cl_uint * );
 

Field Detail

CL_PLATFORM_PROFILE

static final int CL_PLATFORM_PROFILE
See Also:
Constant Field Values

CL_PLATFORM_VERSION

static final int CL_PLATFORM_VERSION
See Also:
Constant Field Values

CL_PLATFORM_NAME

static final int CL_PLATFORM_NAME
See Also:
Constant Field Values

CL_PLATFORM_VENDOR

static final int CL_PLATFORM_VENDOR
See Also:
Constant Field Values

CL_PLATFORM_EXTENSIONS

static final int CL_PLATFORM_EXTENSIONS
See Also:
Constant Field Values

CL_PLATFORM_ICD_SUFFIX_KHR

static final int CL_PLATFORM_ICD_SUFFIX_KHR
See Also:
Constant Field Values

CL_PLATFORM_NOT_FOUND_KHR

static final int CL_PLATFORM_NOT_FOUND_KHR
See Also:
Constant Field Values
Method Detail

clGetDeviceIDs

int clGetDeviceIDs(long platform,
                   long device_type,
                   int num_entries,
                   PointerBuffer devices,
                   IntBuffer num_devices)
Interface to C language function:
cl_int clGetDeviceIDs(cl_platform_id platform, cl_device_type device_type, cl_uint num_entries, cl_device_id * devices, cl_uint * num_devices);

Parameters:
devices - a direct PointerBuffer
num_devices - a direct IntBuffer

clGetPlatformIDs

int clGetPlatformIDs(int num_entries,
                     PointerBuffer platforms,
                     IntBuffer num_platforms)
Interface to C language function:
cl_int clGetPlatformIDs(cl_uint num_entries, cl_platform_id * platforms, cl_uint * num_platforms);

Parameters:
platforms - a direct PointerBuffer
num_platforms - a direct IntBuffer

clGetPlatformInfo

int clGetPlatformInfo(long platform,
                      int param_name,
                      long param_value_size,
                      Buffer param_value,
                      PointerBuffer param_value_size_ret)
Interface to C language function:
cl_int clGetPlatformInfo(cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret);

Parameters:
param_value - a direct Buffer
param_value_size_ret - a direct PointerBuffer

clIcdGetPlatformIDsKHR

int clIcdGetPlatformIDsKHR(int arg0,
                           PointerBuffer arg1,
                           IntBuffer arg2)
Interface to C language function:
cl_int clIcdGetPlatformIDsKHR(cl_uint, cl_platform_id * , cl_uint * );

Parameters:
arg1 - a direct PointerBuffer
arg2 - a direct IntBuffer