|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CLBuildConfiguration
Configuration representing everything needed to build an OpenCL program.
CLProgramBuilder.createConfiguration()
,
CLProgramBuilder.loadConfiguration(java.io.ObjectInputStream)
Method Summary | |
---|---|
CLProgram |
build(CLProgram program)
Builds or rebuilds the program. |
CLProgram |
build(CLProgram program,
CLBuildListener listener)
Builds or rebuilds the program. |
CLBuildConfiguration |
clone()
Clones this configuration. |
CLBuildConfiguration |
forDevice(CLDevice device)
Adds the device as build target. |
CLBuildConfiguration |
forDevices(CLDevice... devices)
Adds the devices as build target. |
CLBuildConfiguration |
reset()
Resets this builder's configuration like options, devices and definitions. |
CLBuildConfiguration |
resetDefines()
Resets this builder's macro definitions. |
CLBuildConfiguration |
resetDevices()
Resets this builder's device list. |
CLBuildConfiguration |
resetOptions()
Resets this builder's configuration options. |
void |
save(ObjectOutputStream oos)
Saves this configuration to the ObjectOutputStream. |
CLProgramConfiguration |
setProgram(CLProgram program)
Sets the program which should be build. |
CLBuildConfiguration |
withDefine(String name)
Adds the definition to the build configuration. |
CLBuildConfiguration |
withDefine(String name,
Object value)
Adds the definition to the build configuration. |
CLBuildConfiguration |
withDefines(Map<String,? extends Object> defines)
Adds the definitions to the build configuration. |
CLBuildConfiguration |
withDefines(String... names)
Adds the definitions to the build configuration. |
CLBuildConfiguration |
withOption(String option)
Adds the compiler option to the build configuration. |
CLBuildConfiguration |
withOptions(String... options)
Adds the compiler options to the build configuration. |
Method Detail |
---|
CLProgram build(CLProgram program)
program
- The program which should be build.CLProgram build(CLProgram program, CLBuildListener listener)
program
- The program which should be build.listener
- The callback who is notified when the program has built.CLProgramConfiguration setProgram(CLProgram program)
CLBuildConfiguration forDevice(CLDevice device)
CLBuildConfiguration forDevices(CLDevice... devices)
CLBuildConfiguration reset()
CLBuildConfiguration resetOptions()
CLBuildConfiguration resetDefines()
CLBuildConfiguration resetDevices()
CLBuildConfiguration withDefine(String name)
CLProgram.define(java.lang.String)
CLBuildConfiguration withDefine(String name, Object value)
CLProgram.define(java.lang.String, java.lang.Object)
CLBuildConfiguration withDefines(String... names)
CLProgram.define(java.lang.String)
CLBuildConfiguration withDefines(Map<String,? extends Object> defines)
CLProgram.define(java.lang.String, java.lang.Object)
CLBuildConfiguration withOption(String option)
CLProgram.CompilerOptions
CLBuildConfiguration withOptions(String... options)
CLProgram.CompilerOptions
CLBuildConfiguration clone()
void save(ObjectOutputStream oos) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |