java.lang.Object
de.grogra.gpuflux.jocl.JOCLContext
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
static final boolean
-
Constructor Summary
ConstructorDescriptionJOCLContext
(org.jocl.cl_context context, AbstractList<org.jocl.cl_device_id> device_ids) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheBinariesOnDisk
(JOCLProgram program) createBuffer
(int size, long flags) createBufferFromByteArray
(ByteArray byteArray, long flags) void
finalize()
getCachedProgramKey
(org.jocl.cl_device_id program_device, String programKey) getCachedProgramPath
(String cacheKey) org.jocl.cl_context
static org.jocl.cl_device_id[]
getDevices
(org.jocl.cl_context context) getLog()
getProgram
(String key) boolean
boolean
boolean
loadProgram
(String key, JOCLSource source, String options) loadProgramFromDisk
(String key, String options)
-
Field Details
-
KERNEL_VERSION
public final int KERNEL_VERSION- See Also:
-
logResourceManagement
public static final boolean logResourceManagement- See Also:
-
-
Constructor Details
-
JOCLContext
-
-
Method Details
-
finalize
-
getDevices
public static org.jocl.cl_device_id[] getDevices(org.jocl.cl_context context) -
getDevices
-
getIdentifier
-
getLog
-
getProgram
-
loadProgram
- Throws:
IOException
-
getCachedProgramKey
-
getCachedProgramPath
-
loadProgramFromDisk
- Throws:
IOException
-
cacheBinariesOnDisk
-
createBuffer
-
createBufferFromByteArray
-
hasDevices
public boolean hasDevices() -
getClContext
public org.jocl.cl_context getClContext() -
hasLittleEndian
public boolean hasLittleEndian() -
hasBigEndian
public boolean hasBigEndian() -
getExtensions
-
getDeviceNames
-