Package com.aparapi

Annotation Type Kernel.NoCL

Enclosing class:
Kernel

@Retention(RUNTIME) @Target({METHOD,FIELD}) public static @interface Kernel.NoCL
Annotation which can be applied to either a getter (with usual java bean naming convention relative to an instance field), or to any method with void return type, which prevents both the method body and any calls to the method being emitted in the generated OpenCL. (In the case of a getter, the underlying field is used in place of the NoCL getter method.) This allows for code specialization within a java/JTP execution path, for example to allow logging/breakpointing when debugging, or to apply ThreadLocal processing (see Kernel.PrivateMemorySpace) in java to simulate OpenCL __private memory.