29package com.jogamp.opencl.util;
31import com.jogamp.opencl.CLDevice;
32import com.jogamp.opencl.CLProgram;
This object represents an OpenCL device.
Represents a OpenCL program executed on one or more CLDevices.
Configuration representing everything needed to build an OpenCL program.
A callback an application can register to be called when the program executable has been built (succe...
Configuration representing everything needed to build an OpenCL program (program included).
CLProgramConfiguration forDevices(CLDevice... devices)
Adds the devices as build target.
CLProgramConfiguration withDefine(String name, Object value)
Adds the definition to the build configuration.
CLProgramConfiguration resetDevices()
Resets this builder's device list.
CLProgramConfiguration resetOptions()
Resets this builder's configuration options.
CLProgramConfiguration reset()
Resets this builder's configuration like options, devices and definitions.
CLBuildConfiguration asBuildConfiguration()
Returns a new instance of of this configuration without a CLProgram, program binaries or sources asso...
CLProgramConfiguration withDefines(String... names)
Adds the definitions to the build configuration.
CLProgramConfiguration withOptions(String... options)
Adds the compiler options to the build configuration.
CLProgramConfiguration resetDefines()
Resets this builder's macro definitions.
CLProgram build()
Builds or rebuilds a program.
CLProgramConfiguration forDevice(CLDevice device)
Adds the device as build target.
CLProgramConfiguration withDefine(String name)
Adds the definition to the build configuration.
CLProgramConfiguration withOption(String option)
Adds the compiler option to the build configuration.
CLProgramConfiguration withDefines(Map< String, ? extends Object > defines)
Adds the definitions to the build configuration.
CLProgram getProgram()
Returns the program.
CLProgramConfiguration clone()
Clones this configuration.
CLProgram build(CLBuildListener listener)
Builds or rebuilds a program.