Package org.cytoscape.cycl
Interface CyCLKernel
public interface CyCLKernel
This provides an interface to OpenCL Kernels
-
Method Summary
Modifier and TypeMethodDescriptionvoidExecute this kernelvoidexecuteWithOffset(long[] dimsGlobal, long[] dimsLocal, long[] globalOffset, Object... args) Execute this kernel with offsetslongReturn the internal pointer to this kernelintgetKernelInfoInt(int param_name) Return kernel information as an intlonggetKernelInfoPointer(int param_name) Return kernel information as a memory pointergetKernelInfoStringUTF8(int param_name) Return kernel information as a string
-
Method Details
-
getKernel
long getKernel()Return the internal pointer to this kernel- Returns:
- the internal pointer to the kernel
-
execute
Execute this kernel- Parameters:
dimsGlobal- The dimension of the global variablesdimsLocal- The dimension of the local variablesargs- The args for the kernel
-
executeWithOffset
Execute this kernel with offsets- Parameters:
dimsGlobal- The dimension of the global variablesdimsLocal- The dimension of the local variablesglobalOffset- The offsets for the global variablesargs- The args for the kernel
-
getKernelInfoInt
int getKernelInfoInt(int param_name) Return kernel information as an int- Parameters:
param_name- the parameter to return- Returns:
- the parameter value
-
getKernelInfoPointer
long getKernelInfoPointer(int param_name) Return kernel information as a memory pointer- Parameters:
param_name- the parameter to return- Returns:
- the parameter value
-
getKernelInfoStringUTF8
Return kernel information as a string- Parameters:
param_name- the parameter to return- Returns:
- the parameter value
-