| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface | CLProgram.
CLProgram utility methods interface. |
| Modifier and Type | Field and Description |
|---|---|
| private final CLObjectRegistry | |
| private static final CLProgram. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public CLKernel[] | Returns: a CLKernel arrayCreates kernel objects for all kernels functions in this program. |
| public int | Returns: the parameter valuethe parameter param_name)Returns the integer value of the specified parameter. |
| public String | Returns: the parameter valuethe parameter param_name)Returns the String value of the specified parameter. |
| public CLKernel | Returns: the CLKernel objectthe kernel id id)Returns a CLKernel associated with this program. |
| pack-priv CLObjectRegistry | |
| public ByteBuffer | Returns: the array of devicesthe target ByteBuffer array. target)Returns the program binaries for all devices associated with program, written sequentially in the target ByteBuffer. |
| public ByteBuffer[] | Returns: the array of devicesthe target ByteBuffer array. target)Returns the program binaries for all devices associated with program, as a ByteBuffer array. |
| public CLDevice[] | Returns: the array of devicesReturns an array of CLDevices associated with this program. |
| public int | Returns: the parameter valuethe parameter param_name)Returns the integer value of the specified parameter. |
| public long[] | Returns: the parameter valuesthe parameter param_name)Returns an array of size_t values of the specified parameter. |
| public String | Returns: the parameter valuethe parameter param_name)Returns the String value of the specified parameter. |
| pack-priv void | registerCLKernels(final PointerBuffer
a buffer containing CLKernel pointers. kernels)Called from clCreateKernelsInProgram to register new CLKernels. |
| pack-priv int |
| clKernels | back to summary |
|---|---|
| private final CLObjectRegistry<CLKernel> clKernels | |
| util | back to summary |
|---|---|
| private static final CLProgram. | |
| CLProgram | back to summary |
|---|---|
| pack-priv CLProgram(final long pointer, final CLContext context) | |
| createKernelsInProgram | back to summary |
|---|---|
| public CLKernel[] createKernelsInProgram() Creates kernel objects for all kernels functions in this program.
| |
| getBuildInfoInt | back to summary |
|---|---|
| public int getBuildInfoInt(final CLDevice device, final int param_name) Returns the integer value of the specified parameter.
| |
| getBuildInfoString | back to summary |
|---|---|
| public String getBuildInfoString(final CLDevice device, final int param_name) Returns the String value of the specified parameter.
| |
| getCLKernel | back to summary |
|---|---|
| public CLKernel getCLKernel(final long id) Returns a CLKernel associated with this program.
| |
| getCLKernelRegistry | back to summary |
|---|---|
| pack-priv CLObjectRegistry | |
| getInfoBinaries | back to summary |
|---|---|
| public ByteBuffer getInfoBinaries(final ByteBuffer target) Returns the program binaries for all devices associated with program,
written sequentially in the target ByteBuffer. If the
| |
| getInfoBinaries | back to summary |
|---|---|
| public ByteBuffer[] getInfoBinaries(final ByteBuffer[] target) Returns the program binaries for all devices associated with program,
as a ByteBuffer array. If the
| |
| getInfoDevices | back to summary |
|---|---|
| public CLDevice[] getInfoDevices() Returns an array of CLDevices associated with this program.
| |
| getInfoInt | back to summary |
|---|---|
| public int getInfoInt(final int param_name) Returns the integer value of the specified parameter.
| |
| getInfoSizeArray | back to summary |
|---|---|
| public long[] getInfoSizeArray(final int param_name) Returns an array of size_t values of the specified parameter.
| |
| getInfoString | back to summary |
|---|---|
| public String getInfoString(final int param_name) Returns the String value of the specified parameter.
| |
| registerCLKernels | back to summary |
|---|---|
| pack-priv void registerCLKernels(final PointerBuffer kernels) Called from clCreateKernelsInProgram to register new CLKernels.
| |
| release | back to summary |
|---|---|
| pack-priv int release() Overrides org. | |
| Modifier and Type | Method and Description |
|---|---|
| public CLKernel[] | |
| public int | |
| public String | |
| public ByteBuffer | |
| public ByteBuffer[] | |
| public CLDevice[] |
| createKernelsInProgram | back to summary |
|---|---|
| public CLKernel[] createKernelsInProgram(CLProgram program) | |
| getBuildInfoInt | back to summary |
|---|---|
| public int getBuildInfoInt(CLProgram program, final CLDevice device, int param_name) | |
| getBuildInfoString | back to summary |
|---|---|
| public String getBuildInfoString(CLProgram program, final CLDevice device, int param_name) | |
| getInfoBinaries | back to summary |
|---|---|
| public ByteBuffer getInfoBinaries(CLProgram program, ByteBuffer target) | |
| getInfoBinaries | back to summary |
|---|---|
| public ByteBuffer[] getInfoBinaries(CLProgram program, ByteBuffer[] target) | |
| getInfoDevices | back to summary |
|---|---|
| public CLDevice[] getInfoDevices(CLProgram program) | |