cuda.tile.Array#
- class cuda.tile.Array#
A global array (or array) is a container of objects stored in a logical multidimensional space.
Global arrays are always stored in memory. Copying an array does not copy the underlying data.
Global arrays can be used in host code and tile code. They can be kernel parameters.
Any object that implements the DLPack format or the CUDA Array Interface can be used as a global array. Example: CuPy arrays and PyTorch tensors.
- property shape#
The number of elements in each of the array’s dimensions.
- Return type:
tuple[int32,…]