Package | Description |
---|---|
com.jogamp.opencl |
High level java bindings to OpenCL.
|
com.jogamp.opencl.util |
OpenCL utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
CLProgramBuilder
CLProgramBuilder is a helper for building programs with more complex configurations or
building multiple programs with similar configurations.
|
Modifier and Type | Method and Description |
---|---|
static CLBuildConfiguration |
CLProgramBuilder.createConfiguration()
Creates a new CLBuildConfiguration.
|
static CLBuildConfiguration |
CLProgramBuilder.loadConfiguration(ObjectInputStream ois)
Loads a CLBuildConfiguration.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CLProgramConfiguration
Configuration representing everything needed to build an OpenCL program (program included).
|
Modifier and Type | Method and Description |
---|---|
CLBuildConfiguration |
CLProgramConfiguration.asBuildConfiguration()
Returns a new instance of of this configuration without a
CLProgram ,
program binaries or sources associated with it. |
CLBuildConfiguration |
CLBuildConfiguration.clone()
Clones this configuration.
|
CLBuildConfiguration |
CLBuildConfiguration.forDevice(CLDevice device)
Adds the device as build target.
|
CLBuildConfiguration |
CLBuildConfiguration.forDevices(CLDevice... devices)
Adds the devices as build target.
|
CLBuildConfiguration |
CLBuildConfiguration.reset()
Resets this builder's configuration like options, devices and definitions.
|
CLBuildConfiguration |
CLBuildConfiguration.resetDefines()
Resets this builder's macro definitions.
|
CLBuildConfiguration |
CLBuildConfiguration.resetDevices()
Resets this builder's device list.
|
CLBuildConfiguration |
CLBuildConfiguration.resetOptions()
Resets this builder's configuration options.
|
CLBuildConfiguration |
CLBuildConfiguration.withDefine(String name)
Adds the definition to the build configuration.
|
CLBuildConfiguration |
CLBuildConfiguration.withDefine(String name,
Object value)
Adds the definition to the build configuration.
|
CLBuildConfiguration |
CLBuildConfiguration.withDefines(Map<String,? extends Object> defines)
Adds the definitions to the build configuration.
|
CLBuildConfiguration |
CLBuildConfiguration.withDefines(String... names)
Adds the definitions to the build configuration.
|
CLBuildConfiguration |
CLBuildConfiguration.withOption(String option)
Adds the compiler option to the build configuration.
|
CLBuildConfiguration |
CLBuildConfiguration.withOptions(String... options)
Adds the compiler options to the build configuration.
|