Package com.aparapi
Annotation Type Kernel.Constant
-
@Retention(RUNTIME) public static @interface Kernel.ConstantWe can use this Annotation to 'tag' intended constant buffers. So we can either annotate the buffer
Or use a special suffix@Constant int[] buffer = new int[1024];int[] buffer_$constant$ = new int[1024];- See Also:
Kernel.LOCAL_SUFFIX