Hi,
KernelAbstractions is really awesome to get things work fast on both CPU and GPU without bothering too much.
However, I'm missing a get_backend for Memory type.
I suppose it is just a matter of adding somewhere
get_backend(::Memory) = CPU()
I can even make a PR for that, am I missing something?
Actually, I need that for FixedSizeArrays where parent(::FixedSizeArray) return a Memory array. I can also propose an extension there but I believe it is better to consider the Memory case here.
Thanks
Hi,
KernelAbstractions is really awesome to get things work fast on both CPU and GPU without bothering too much.
However, I'm missing a
get_backendforMemorytype.I suppose it is just a matter of adding somewhere
I can even make a PR for that, am I missing something?
Actually, I need that for FixedSizeArrays where
parent(::FixedSizeArray)return a Memory array. I can also propose an extension there but I believe it is better to consider theMemorycase here.Thanks