Top Description Fields Methods
com.jogamp.opencl.llb

public Interface CLPlatformBinding

Known Direct Subinterfaces
com.jogamp.opencl.llb.CL
Imports
com.jogamp.gluegen.runtime.*, com.jogamp.common.os.*, com.jogamp.common.nio.*, java.nio.*

Java bindings to OpenCL platforms.
Author
Michael Bien, GlueGen, et al.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
CL_PLATFORM_NAME

CType: int

public static final int
public static final int
public static final int
public static final int

Method Summary

Modifier and TypeMethod and Description
public int
clGetDeviceIDs(long platform, long device_type, int num_entries, PointerBuffer devices, IntBuffer
a direct only java.nio.IntBuffer
num_devices
)

Interface to C language function: cl_int {@native clGetDeviceIDs}(cl_platform_id platform, cl_device_type device_type, cl_uint num_entries, cl_device_id * devices, cl_uint * num_devices)

public int
clGetPlatformIDs(int num_entries, PointerBuffer platforms, IntBuffer
a direct only java.nio.IntBuffer
num_platforms
)

Interface to C language function: cl_int {@native clGetPlatformIDs}(cl_uint num_entries, cl_platform_id * platforms, cl_uint * num_platforms)

public int
clGetPlatformInfo(long platform, int param_name, long param_value_size, Buffer
a direct only java.nio.Buffer
param_value
,
PointerBuffer param_value_size_ret)

Interface to C language function: cl_int {@native clGetPlatformInfo}(cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)

public int
clIcdGetPlatformIDsKHR(int arg0, PointerBuffer arg1, IntBuffer
a direct only java.nio.IntBuffer
arg2
)

Interface to C language function: cl_int {@native clIcdGetPlatformIDsKHR}(cl_uint, cl_platform_id * , cl_uint * )

Field Detail

CL_PLATFORM_EXTENSIONSback to summary
public static final int CL_PLATFORM_EXTENSIONS

CType: int

CL_PLATFORM_ICD_SUFFIX_KHRback to summary
public static final int CL_PLATFORM_ICD_SUFFIX_KHR

CType: int

CL_PLATFORM_NAMEback to summary
public static final int CL_PLATFORM_NAME

CType: int

CL_PLATFORM_NOT_FOUND_KHRback to summary
public static final int CL_PLATFORM_NOT_FOUND_KHR

CType: int

CL_PLATFORM_PROFILEback to summary
public static final int CL_PLATFORM_PROFILE

CType: int

CL_PLATFORM_VENDORback to summary
public static final int CL_PLATFORM_VENDOR

CType: int

CL_PLATFORM_VERSIONback to summary
public static final int CL_PLATFORM_VERSION

CType: int

Method Detail

clGetDeviceIDsback to summary
public int clGetDeviceIDs(long platform, long device_type, int num_entries, PointerBuffer devices, IntBuffer num_devices)

Interface to C language function:
cl_int {@native clGetDeviceIDs}(cl_platform_id platform, cl_device_type device_type, cl_uint num_entries, cl_device_id * devices, cl_uint * num_devices)

Parameters
devices:PointerBuffer

a direct only com.jogamp.common.nio.PointerBuffer

num_devices:IntBuffer

a direct only java.nio.IntBuffer

clGetPlatformIDsback to summary
public int clGetPlatformIDs(int num_entries, PointerBuffer platforms, IntBuffer num_platforms)

Interface to C language function:
cl_int {@native clGetPlatformIDs}(cl_uint num_entries, cl_platform_id * platforms, cl_uint * num_platforms)

Parameters
platforms:PointerBuffer

a direct only com.jogamp.common.nio.PointerBuffer

num_platforms:IntBuffer

a direct only java.nio.IntBuffer

clGetPlatformInfoback to summary
public 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 {@native 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:Buffer

a direct only java.nio.Buffer

param_value_size_ret:PointerBuffer

a direct only com.jogamp.common.nio.PointerBuffer

clIcdGetPlatformIDsKHRback to summary
public int clIcdGetPlatformIDsKHR(int arg0, PointerBuffer arg1, IntBuffer arg2)

Interface to C language function:
cl_int {@native clIcdGetPlatformIDsKHR}(cl_uint, cl_platform_id * , cl_uint * )

Parameters
arg1:PointerBuffer

a direct only com.jogamp.common.nio.PointerBuffer

arg2:IntBuffer

a direct only java.nio.IntBuffer