Generalised CUDA/CPU

Raf
Tue, 08 Oct 2019 04:12:31 +0000
Internals & Design

So this is the old question of using exponents and similar in code that runs on Cuda. I’m wondering what solutions are people using in late 2019.

There are answers like this: https://github.com/JuliaGPU/CuArrays.jl/issues/283 but they depend on CuArrays.

How can we release packages that don’t depend on CuArrays but can still use these GPU methods?
Is there a reason there isn’t a small base package that we could depend on that takes care of it? or is this a task for Cassette?

11 posts - 6 participants