Package com.aparapi
Annotation Type Kernel.Constant
- Enclosing class:
Kernel
We can use this Annotation to 'tag' intended constant buffers.
So we can either annotate the buffer
invalid input: '@'Constant int[] buffer = new int[1024];
Or use a special suffix
int[] buffer_$constant$ = new int[1024];
- See Also: