29package com.jogamp.opencl.util;
31import com.jogamp.opencl.CLDevice;
32import com.jogamp.opencl.CLProgram;
33import java.io.IOException;
34import java.io.ObjectOutputStream;
146 public void save(ObjectOutputStream oos)
throws IOException;
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.
CLBuildConfiguration forDevices(CLDevice... devices)
Adds the devices as build target.
void save(ObjectOutputStream oos)
Saves this configuration to the ObjectOutputStream.
CLBuildConfiguration resetOptions()
Resets this builder's configuration options.
CLBuildConfiguration forDevice(CLDevice device)
Adds the device as build target.
CLBuildConfiguration withDefines(Map< String, ? extends Object > defines)
Adds the definitions to the build configuration.
CLBuildConfiguration resetDevices()
Resets this builder's device list.
CLBuildConfiguration withOptions(String... options)
Adds the compiler options to the build configuration.
CLBuildConfiguration withDefine(String name, Object value)
Adds the definition to the build configuration.
CLBuildConfiguration clone()
Clones this configuration.
CLBuildConfiguration withDefines(String... names)
Adds the definitions to the build configuration.
CLBuildConfiguration reset()
Resets this builder's configuration like options, devices and definitions.
CLProgram build(CLProgram program, CLBuildListener listener)
Builds or rebuilds the program.
CLBuildConfiguration withDefine(String name)
Adds the definition to the build configuration.
CLBuildConfiguration resetDefines()
Resets this builder's macro definitions.
CLProgramConfiguration setProgram(CLProgram program)
Sets the program which should be build.
CLProgram build(CLProgram program)
Builds or rebuilds the program.
CLBuildConfiguration withOption(String option)
Adds the compiler option to the build configuration.
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).