Look at this example
abstract type AbstractTest end
struct ATest <: AbstractTest end
struct BTest <: AbstractTest end
struct CTest{T <: AbstractTest}
a::T
end
using CUDA
CuArray([CTest(ATest()), CTest(BTest())])
Are there any method or trick to copy [CTest(ATest()), CTest(BTest())]
to GPU with CUDA.jl
?