Closed tanhevg closed 4 years ago
We don't support nested wrappers, https://github.com/JuliaGPU/Adapt.jl/issues/21, doing so would require an ever increasing number of method definitions while we really need something structural (e.g., https://github.com/JuliaLang/julia/pull/31563).
MWE:
This is because the code that defines broadcast styles in
GPUArrays.broadcast.jl
only defines them for adapted types for the nested level of 1.I guess one possible workaround would be
I am not sure, however, if this would break other things, and whether it should sit within JuliaGPU or in Base