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 UsedByJNICodeModifier and TypeFieldDescriptionprotected static final int
KernelRunnerJNI.ARG_APARAPI_BUFFER
TODO:protected static final int
KernelRunnerJNI.ARG_ARRAY
This 'bit' indicates that a particularKernelArg
represents an array.
SoARG_ARRAY|ARG_INT
tells us this arg is an array ofint
.protected static final int
KernelRunnerJNI.ARG_ARRAYLENGTH
This 'bit' indicates that a particularKernelArg
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 particularKernelArg
represents aboolean
type (array or primitive).protected static final int
KernelRunnerJNI.ARG_BYTE
This 'bit' indicates that a particularKernelArg
represents abyte
type (array or primitive).protected static final int
KernelRunnerJNI.ARG_CHAR
This 'bit' indicates that a particularKernelArg
represents achar
type (array or primitive).protected static final int
KernelRunnerJNI.ARG_CONSTANT
This 'bit' indicates that a particularKernelArg
resides in constant memory in the generated OpenCL code.protected static final int
KernelRunnerJNI.ARG_DOUBLE
This 'bit' indicates that a particularKernelArg
represents adouble
type (array or primitive).protected static final int
KernelRunnerJNI.ARG_EXPLICIT
This 'bit' indicates that the arg has been explicitly marked for readingprotected static final int
KernelRunnerJNI.ARG_EXPLICIT_WRITE
This 'bit' indicates that the arg has been explicitly marked for writingprotected static final int
KernelRunnerJNI.ARG_FLOAT
This 'bit' indicates that a particularKernelArg
represents afloat
type (array or primitive).protected static final int
KernelRunnerJNI.ARG_GLOBAL
This 'bit' indicates that a particularKernelArg
resides in global memory in the generated OpenCL code.protected static final int
KernelRunnerJNI.ARG_INT
This 'bit' indicates that a particularKernelArg
represents aint
type (array or primitive).protected static final int
KernelRunnerJNI.ARG_LOCAL
This 'bit' indicates that a particularKernelArg
resides in local memory in the generated OpenCL code.protected static final int
KernelRunnerJNI.ARG_LONG
This 'bit' indicates that a particularKernelArg
represents along
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 particularKernelArg
represents a primitive (non array).
SoARG_PRIMITIVE|ARG_INT
tells us this arg is a primitiveint
.protected static final int
KernelRunnerJNI.ARG_READ
This 'bit' indicates that a particularKernelArg
is read by the Kernel (note from the Kernel's point of view).
SoARG_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 particularKernelArg
represents astatic
field (array or primitive).protected static final int
KernelRunnerJNI.ARG_WRITE
This 'bit' indicates that a particularKernelArg
is mutated by the Kernel (note from the Kernel's point of view).
SoARG_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 JNIprotected Object
KernelArgJNI.buffer
protected int[]
KernelArgJNI.dims
If this is an multidimensional array then the dimensions are stored hereprotected int
RangeJNI.dims
static final boolean
ConfigJNI.enableProfiling
Allows the user to turn on OpenCL profiling for the JNI/OpenCL layer.static final boolean
ConfigJNI.enableProfilingCSV
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
ConfigJNI.enableVerboseJNI
Allows the user to request that verbose JNI messages be dumped to stderr.static final boolean
ConfigJNI.enableVerboseJNIOpenCLResourceTracking
Allows the user to request tracking of opencl resources.protected Field
KernelArgJNI.field
Field in Kernel class corresponding to this argprotected 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 hereprotected Object
KernelArgJNI.javaBuffer
If this field represents an codegen buffer then the instance will be captured hereprotected 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
RangeJNI.localIsDerived
protected int
RangeJNI.localSize_0
protected int
RangeJNI.localSize_1
protected int
RangeJNI.localSize_2
protected String
KernelArgJNI.name
Name of the fieldprotected int
KernelArgJNI.numDims
If this is an multidimensional array then the number of dimensions is stored hereprotected int
KernelArgJNI.numElements
If this is an array buffer then the number of elements is stored hereprotected int
KernelArgJNI.sizeInBytes
If this is an array or a buffer then the size (in bytes) is held hereprotected 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 UsedByJNICodeModifier and TypeFieldDescriptionstatic final int
KernelRunner.CANCEL_STATUS_FALSE
static final int
KernelRunner.CANCEL_STATUS_TRUE
static final int
KernelRunner.PASS_ID_COMPLETED_EXECUTION
static final int
KernelRunner.PASS_ID_PREPARING_EXECUTION