What do I get when I subtype GPUArray?

jpsamaroo
Tue, 26 Nov 2019 17:30:14 +0000
GPU

As the main developer of ROCArrays.jl, I’m trying to understand what benefits I get when I make ROCArray <: GPUArray. GPUArrays.jl is a rather large package (likely due to it also implementing JLArray), so it’s hard for me to tease out what the differences are between making ROCArray a subtype of GPUArray over DenseArray or AbstractArray. Having that info at hand would make it easier for me to debug why things break as I work towards making this a reality, and also help me contribute to GPUArrays.jl in the future.

If there’s an overview somewhere of the differences between <: GPUArray and <: DenseArray/<: AbstractArray, or just a file I should look at that has most of this functionality isolated out, I would greatly appreciated being pointed to it

8 posts - 5 participants