Package | Description |
---|---|
com.aparapi.internal.jni | |
com.aparapi.internal.kernel |
Modifier and Type | Field and Description |
---|---|
protected static int |
KernelRunnerJNI.ARG_APARAPI_BUFFER
TODO:
|
protected static 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 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 int |
KernelRunnerJNI.ARG_BOOLEAN
This 'bit' indicates that a particular
KernelArg represents a boolean type (array or primitive). |
protected static int |
KernelRunnerJNI.ARG_BYTE
This 'bit' indicates that a particular
KernelArg represents a byte type (array or primitive). |
protected static int |
KernelRunnerJNI.ARG_CHAR
This 'bit' indicates that a particular
KernelArg represents a char type (array or primitive). |
protected static int |
KernelRunnerJNI.ARG_CONSTANT
This 'bit' indicates that a particular
KernelArg resides in constant memory in the generated OpenCL code. |
protected static int |
KernelRunnerJNI.ARG_DOUBLE
This 'bit' indicates that a particular
KernelArg represents a double type (array or primitive). |
protected static int |
KernelRunnerJNI.ARG_EXPLICIT
This 'bit' indicates that the arg has been explicitly marked for reading
|
protected static int |
KernelRunnerJNI.ARG_EXPLICIT_WRITE
This 'bit' indicates that the arg has been explicitly marked for writing
|
protected static int |
KernelRunnerJNI.ARG_FLOAT
This 'bit' indicates that a particular
KernelArg represents a float type (array or primitive). |
protected static int |
KernelRunnerJNI.ARG_GLOBAL
This 'bit' indicates that a particular
KernelArg resides in global memory in the generated OpenCL code. |
protected static int |
KernelRunnerJNI.ARG_INT
This 'bit' indicates that a particular
KernelArg represents a int type (array or primitive). |
protected static int |
KernelRunnerJNI.ARG_LOCAL
This 'bit' indicates that a particular
KernelArg resides in local memory in the generated OpenCL code. |
protected static int |
KernelRunnerJNI.ARG_LONG
This 'bit' indicates that a particular
KernelArg represents a long type (array or primitive). |
protected static int |
KernelRunnerJNI.ARG_OBJ_ARRAY_STRUCT
TODO:
|
protected static 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 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 int |
KernelRunnerJNI.ARG_SHORT
TODO:
|
protected static int |
KernelRunnerJNI.ARG_STATIC
This 'bit' indicates that a particular
KernelArg represents a static field (array or primitive). |
protected static 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 java.lang.Object |
KernelArgJNI.array
Only set for array objs, not used on JNI
|
protected java.lang.Object |
KernelArgJNI.buffer |
protected int[] |
KernelArgJNI.dims
If this is an multidimensional array then the dimensions are stored here
|
protected int |
RangeJNI.dims |
static boolean |
ConfigJNI.enableProfiling
Allows the user to turn on OpenCL profiling for the JNI/OpenCL layer.
|
static 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 boolean |
ConfigJNI.enableVerboseJNI
Allows the user to request that verbose JNI messages be dumped to stderr.
|
static boolean |
ConfigJNI.enableVerboseJNIOpenCLResourceTracking
Allows the user to request tracking of opencl resources.
|
protected java.lang.reflect.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 java.lang.Object |
KernelArgJNI.javaArray
If this field represents a Java array then the instance will be captured here
|
protected java.lang.Object |
KernelArgJNI.javaBuffer
If this field represents an codegen buffer then the instance will be captured here
|
protected static int |
KernelRunnerJNI.JNI_FLAG_USE_ACC
This 'bit' indicates that we want to execute on the Acceleratr.
|
protected static 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 java.lang.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 |
Modifier and Type | Field and Description |
---|---|
static int |
KernelRunner.CANCEL_STATUS_FALSE |
static int |
KernelRunner.CANCEL_STATUS_TRUE |
static int |
KernelRunner.PASS_ID_COMPLETED_EXECUTION |
static int |
KernelRunner.PASS_ID_PREPARING_EXECUTION |