java.lang.Object
de.grogra.gpuflux.jocl.JOCLDevice
-
Method Summary
Modifier and TypeMethodDescriptiondeviceTypeToString
(long type) void
executeKernel
(JOCLKernel joclKernel, int stream_size) void
executeKernel
(JOCLKernel kernel, int n, org.jocl.cl_event event) void
finalize()
void
finish()
org.jocl.cl_device_id
static org.jocl.cl_device_id[]
getDevices
(org.jocl.cl_platform_id platform_id) long
static long
getDeviceType
(org.jocl.cl_device_id device) String[]
static String
getIdentifier
(org.jocl.cl_device_id program_device) getName()
static org.jocl.cl_platform_id
getPlatform
(org.jocl.cl_device_id device_id) boolean
static boolean
isLittleEndian
(org.jocl.cl_device_id device) void
readBuffer
(JOCLBuffer buffer, byte[] out) void
readBuffer
(JOCLBuffer buffer, int[] out) static boolean
supportsExtensions
(org.jocl.cl_device_id device_id, String[] extensions) toString()
-
Method Details
-
isLittleEndian
public boolean isLittleEndian() -
readBuffer
-
readBuffer
-
finalize
-
finish
public void finish() -
executeKernel
-
executeKernel
-
getName
-
isLittleEndian
public static boolean isLittleEndian(org.jocl.cl_device_id device) -
getDeviceType
public static long getDeviceType(org.jocl.cl_device_id device) -
getByteOrder
-
getClDevice
public org.jocl.cl_device_id getClDevice() -
getExtensions
-
getExtensionList
-
getVendor
-
getVersion
-
toString
-
deviceTypeToString
-
getDeviceType
public long getDeviceType() -
getPlatform
public static org.jocl.cl_platform_id getPlatform(org.jocl.cl_device_id device_id) -
getDevices
public static org.jocl.cl_device_id[] getDevices(org.jocl.cl_platform_id platform_id) -
supportsExtensions
-
getIdentifier
-
getIdentifier
-