de.grogra.gpuflux.jocl
public class JOCLDevice extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
deviceTypeToString(long type) |
void |
executeKernel(JOCLKernel joclKernel,
int stream_size) |
void |
executeKernel(JOCLKernel kernel,
int n,
org.jocl.cl_event event) |
void |
finalize() |
void |
finish() |
java.nio.ByteOrder |
getByteOrder() |
org.jocl.cl_device_id |
getClDevice() |
static org.jocl.cl_device_id[] |
getDevices(org.jocl.cl_platform_id platform_id) |
long |
getDeviceType() |
static long |
getDeviceType(org.jocl.cl_device_id device) |
java.lang.String[] |
getExtensionList() |
java.lang.String |
getExtensions() |
java.lang.String |
getIdentifier() |
static java.lang.String |
getIdentifier(org.jocl.cl_device_id program_device) |
java.lang.String |
getName() |
static org.jocl.cl_platform_id |
getPlatform(org.jocl.cl_device_id device_id) |
java.lang.String |
getVendor() |
java.lang.String |
getVersion() |
boolean |
isLittleEndian() |
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,
java.lang.String[] extensions) |
java.lang.String |
toString() |
public java.lang.String deviceTypeToString(long type)
public void executeKernel(JOCLKernel joclKernel, int stream_size)
public void executeKernel(JOCLKernel kernel, int n, org.jocl.cl_event event)
public void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic void finish()
public java.nio.ByteOrder getByteOrder()
public org.jocl.cl_device_id getClDevice()
public static org.jocl.cl_device_id[] getDevices(org.jocl.cl_platform_id platform_id)
public long getDeviceType()
public static long getDeviceType(org.jocl.cl_device_id device)
public java.lang.String[] getExtensionList()
public java.lang.String getExtensions()
public java.lang.String getIdentifier()
public static java.lang.String getIdentifier(org.jocl.cl_device_id program_device)
public java.lang.String getName()
public static org.jocl.cl_platform_id getPlatform(org.jocl.cl_device_id device_id)
public java.lang.String getVendor()
public java.lang.String getVersion()
public boolean isLittleEndian()
public static boolean isLittleEndian(org.jocl.cl_device_id device)
public void readBuffer(JOCLBuffer buffer, byte[] out)
public void readBuffer(JOCLBuffer buffer, int[] out)
public static boolean supportsExtensions(org.jocl.cl_device_id device_id,
java.lang.String[] extensions)
public java.lang.String toString()
toString in class java.lang.Object