Package com.aparapi

Annotation Type Kernel.Constant


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