TrixiParticles.jl
TrixiParticles.jl copied to clipboard
Adapt `@threaded` macro to work with GPUs
Based on #532, #533.
This is basically an alternative to #493.
Instead of defining a separate kernel for every threaded loop, I redefine the @threaded macro to run code multithreaded on the CPU or the GPU, depending on the type of the passed system.