GPUArraysCore.AbstractGPUArrayType
AbstractGPUArray{T, N} <: DenseArray{T, N}

Supertype for N-dimensional GPU arrays (or array-like types) with elements of type T. Instances of this type are expected to live on the host, see AbstractDeviceArray for device-side objects.

GPUArraysCore.AbstractGPUArrayStyleType

Abstract supertype for GPU array styles. The N parameter is the dimensionality.

Downstream implementations should provide a concrete array style type that inherits from this supertype.

GPUArraysCore.allowscalarFunction
allowscalar([true])
allowscalar([true]) do
    ...
end

Use this function to allow or disallow scalar indexing, either globall or for the duration of the do block.

See also: @allowscalar.

GPUArraysCore.backendMethod
backend(x)
backend(T::Type)

Gets the GPUArrays back-end responsible for managing arrays of type T.