Package com.aparapi

Annotation Type Kernel.Local


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