omlins / ParallelStencil.jl

Package for writing high-level code for parallel high-performance stencil computations that can be deployed on both GPUs and CPUs
BSD 3-Clause "New" or "Revised" License
311 stars 31 forks source link

Control backend selection with Preferences #70

Closed jpsamaroo closed 1 year ago

jpsamaroo commented 1 year ago

Uses Preferences to control which backends are available.

Currently untested!

jpsamaroo commented 1 year ago

AMDGPU tests are passing for me, except the test/ParallelKernel/test_parallel.jl tests still seem to be trying to reference CUDA.

omlins commented 1 year ago

As we have concluded in offline discussions, we will not move to backend selection with preferences; AMD.jl and CUDA.jl support also in future to be loaded without a working installation or a device. @jpsamaroo : Was it in this PR or in the ImplicitGlobalGrid PR where you fixed some unrelated did little issues?