Closed luraess closed 3 years ago
It seems to be a pure CUDA.jl issue as reported in this MVE
Temporary fix is to downgrade to CUDA v3.0.1:
using Pkg
Pkg.add(Pkg.PackageSpec(;name="CUDA", version="3.0.1"))
https://github.com/JuliaGPU/CUDA.jl/pull/840 fixes this CUDA.jl issue, bumping CUDA to v3.0.3.
CUDA v3.0.2 fix of
produces now an error within ParallelStencil when running code on the
Base.Threads
backend in the REPL when CUDA isn't functional (i.e. nolibcuda
is available).This
if
statement addition in CUDA.jl (src/initialization.jl) seems to be responsible for this.Note that ParallelStencil has CUDA as dependency but won't use it unless activated in
@init_parallel_stencil()
Error stack trace: