Uses of Annotation Type
com.aparapi.internal.annotation.UsedByJNICode

Packages that use UsedByJNICode
  • Uses of UsedByJNICode in com.aparapi.internal.jni

    Fields in com.aparapi.internal.jni with annotations of type UsedByJNICode
    Modifier and Type
    Field
    Description
    protected static final int
    KernelRunnerJNI.ARG_APARAPI_BUFFER
    TODO:
    protected static final int
    KernelRunnerJNI.ARG_ARRAY
    This 'bit' indicates that a particular KernelArg represents an array.
    So ARG_ARRAY|ARG_INT tells us this arg is an array of int.
    protected static final int
    KernelRunnerJNI.ARG_ARRAYLENGTH
    This 'bit' indicates that a particular KernelArg has it's length reference, in which case a synthetic arg is passed (name mangled) to the OpenCL kernel.
    protected static final int
    KernelRunnerJNI.ARG_BOOLEAN
    This 'bit' indicates that a particular KernelArg represents a boolean type (array or primitive).
    protected static final int
    KernelRunnerJNI.ARG_BYTE
    This 'bit' indicates that a particular KernelArg represents a byte type (array or primitive).
    protected static final int
    KernelRunnerJNI.ARG_CHAR
    This 'bit' indicates that a particular KernelArg represents a char type (array or primitive).
    protected static final int
    KernelRunnerJNI.ARG_CONSTANT
    This 'bit' indicates that a particular KernelArg resides in constant memory in the generated OpenCL code.
    protected static final int
    KernelRunnerJNI.ARG_DOUBLE
    This 'bit' indicates that a particular KernelArg represents a double type (array or primitive).
    protected static final int
    KernelRunnerJNI.ARG_EXPLICIT
    This 'bit' indicates that the arg has been explicitly marked for reading
    protected static final int
    KernelRunnerJNI.ARG_EXPLICIT_WRITE
    This 'bit' indicates that the arg has been explicitly marked for writing
    protected static final int
    KernelRunnerJNI.ARG_FLOAT
    This 'bit' indicates that a particular KernelArg represents a float type (array or primitive).
    protected static final int
    KernelRunnerJNI.ARG_GLOBAL
    This 'bit' indicates that a particular KernelArg resides in global memory in the generated OpenCL code.
    protected static final int
    KernelRunnerJNI.ARG_INT
    This 'bit' indicates that a particular KernelArg represents a int type (array or primitive).
    protected static final int
    KernelRunnerJNI.ARG_LOCAL
    This 'bit' indicates that a particular KernelArg resides in local memory in the generated OpenCL code.
    protected static final int
    KernelRunnerJNI.ARG_LONG
    This 'bit' indicates that a particular KernelArg represents a long type (array or primitive).
    protected static final int
    KernelRunnerJNI.ARG_OBJ_ARRAY_STRUCT
    TODO:
    protected static final int
    KernelRunnerJNI.ARG_PRIMITIVE
    This 'bit' indicates that a particular KernelArg represents a primitive (non array).
    So ARG_PRIMITIVE|ARG_INT tells us this arg is a primitive int.
    protected static final int
    KernelRunnerJNI.ARG_READ
    This 'bit' indicates that a particular KernelArg is read by the Kernel (note from the Kernel's point of view).
    So ARG_ARRAY|ARG_INT|ARG_READ tells us this arg is an array of int's that are read by the kernel.
    protected static final int
    KernelRunnerJNI.ARG_SHORT
    TODO:
    protected static final int
    KernelRunnerJNI.ARG_STATIC
    This 'bit' indicates that a particular KernelArg represents a static field (array or primitive).
    protected static final int
    KernelRunnerJNI.ARG_WRITE
    This 'bit' indicates that a particular KernelArg is mutated by the Kernel (note from the Kernel's point of view).
    So ARG_ARRAY|ARG_INT|ARG_WRITE tells us this arg is an array of int's that we expect the kernel to mutate.
    protected Object
    KernelArgJNI.array
    Only set for array objs, not used on JNI
    protected Object
    KernelArgJNI.buffer
     
    protected int[]
    KernelArgJNI.dims
    If this is an multidimensional array then the dimensions are stored here
    protected int
    RangeJNI.dims
     
    static final boolean
    ConfigJNI.enableProfiling
    Allows the user to turn on OpenCL profiling for the JNI/OpenCL layer.
    static final boolean
    Allows the user to turn on OpenCL profiling for the JNI/OpenCL layer, this information will be written to CSV file Usage -Dcom.codegen.enableProfiling={true|false}
    static final boolean
    Allows the user to request that verbose JNI messages be dumped to stderr.
    static final boolean
    Allows the user to request tracking of opencl resources.
    protected Field
    KernelArgJNI.field
    Field in Kernel class corresponding to this arg
    protected int
    RangeJNI.globalSize_0
     
    protected int
    RangeJNI.globalSize_1
     
    protected int
    RangeJNI.globalSize_2
     
    protected Object
    KernelArgJNI.javaArray
    If this field represents a Java array then the instance will be captured here
    protected Object
    KernelArgJNI.javaBuffer
    If this field represents an codegen buffer then the instance will be captured here
    protected static final int
    KernelRunnerJNI.JNI_FLAG_USE_ACC
    This 'bit' indicates that we want to execute on the Acceleratr.
    protected static final int
    KernelRunnerJNI.JNI_FLAG_USE_GPU
    This 'bit' indicates that we want to execute on the GPU.
    protected boolean
     
    protected int
    RangeJNI.localSize_0
     
    protected int
    RangeJNI.localSize_1
     
    protected int
    RangeJNI.localSize_2
     
    protected String
    KernelArgJNI.name
    Name of the field
    protected int
    KernelArgJNI.numDims
    If this is an multidimensional array then the number of dimensions is stored here
    protected int
    KernelArgJNI.numElements
    If this is an array buffer then the number of elements is stored here
    protected int
    KernelArgJNI.sizeInBytes
    If this is an array or a buffer then the size (in bytes) is held here
    protected int
    KernelArgJNI.type
    The type of this KernelArg.
    protected boolean
    RangeJNI.valid
     
  • Uses of UsedByJNICode in com.aparapi.internal.kernel

    Fields in com.aparapi.internal.kernel with annotations of type UsedByJNICode
    Modifier and Type
    Field
    Description
    static final int
    KernelRunner.CANCEL_STATUS_FALSE
     
    static final int
    KernelRunner.CANCEL_STATUS_TRUE
     
    static final int
     
    static final int