Package org.cytoscape.cycl
Interface CyCLProgram
public interface CyCLProgram
Interface to an OpenCL program, including methods to get an OpenCL kernel
by name and to get build information after the program has been created (see
CyCLDevice
addProgram method).-
Method Summary
Modifier and TypeMethodDescriptiongetBuildInfoString
(CyCLDevice device, int param_name) Return the build information string identified by the param_nameReturn the named kernel that's part of this programlong
Return the internal memory pointer to this programint
getProgramBuildInfoInt
(long cl_device_id, int param_name) Return the build information value identified by the param_namegetProgramBuildInfoStringASCII
(long cl_device_id, int param_name) Return the build information string identified by the param_name
-
Method Details
-
getProgram
long getProgram()Return the internal memory pointer to this program- Returns:
- program pointer
-
getKernel
Return the named kernel that's part of this program- Parameters:
name
- kernel name- Returns:
- the kernel
-
getBuildInfoString
Return the build information string identified by the param_name- Parameters:
device
- the device this was built onparam_name
- the parameter value to return- Returns:
- the requested information as a string
-
getProgramBuildInfoStringASCII
Return the build information string identified by the param_name- Parameters:
cl_device_id
- the internal pointer to the device this was built onparam_name
- the parameter value to return- Returns:
- the requested information as a string
-
getProgramBuildInfoInt
int getProgramBuildInfoInt(long cl_device_id, int param_name) Return the build information value identified by the param_name- Parameters:
cl_device_id
- the internal pointer to the device this was built onparam_name
- the parameter value to return- Returns:
- the requested information as a string
-