The dimensions of the array.
The constant values held in the array. This must be Array[Float] for 1D array, Array[Array[Float] ] for a 2D array, and Array[Array[Array[Float] ] ] for a 3D array.
Upper bound on number of dimensions for an array.
Upper bound on number of dimensions for an array.
Maximum size of tensor, minimizing register pressure for kernel fusion.
Maximum size of tensor, minimizing register pressure for kernel fusion.
Array indexing, uses Scala convention of apply.
Array indexing, uses Scala convention of apply.
Array indexing, uses Scala convention of apply.
Array indexing, uses Scala convention of apply.
Fundamental vector type of the variable.
Fundamental vector type of the variable. In OpenCL float, float2, float3, ... are all fundamental types. Vectors and scalars are not really distinguished.
Called by subclasses to signal that construction is complete.
Called by subclasses to signal that construction is complete. This is used for debugging.
Declare an internal error described by message
.
Declare an internal error described by message
.
True if variable is shared (local).
True if variable is shared (local).
True if variable is volatile.
True if variable is volatile.
Unique name for the variable.
Unique name for the variable.
The dimensions of the array.
The dimensions of the array.
Converts Float constants to their OpenCL equivalents, including the special cases.
Converts Float constants to their OpenCL equivalents, including the special cases.
Create GPU code for the constant array declaration.
Create GPU code for the constant array declaration.
A constant array declaration. This currently supports only arrays of floats.
NOTE: These have been disabled since constant arrays may only be declared at program scope and we don't yet have a mechanism for doing that.