Open maleadt opened 6 years ago
https://github.com/una-dinosauria/Rayuela.jl/blob/a3a1bed0e8b722ff0555d71230d3dadf7f9a01fb/deps/build.jl#L58-L59
While looking at https://discourse.julialang.org/t/freeing-memory-in-the-gpu-with-cudadrv-cudanative-cuarrays/10946, I ran into issues building the package because you can't assume nvcc lives there and you might need to pass -ccbin options. CUDAapi does that for you, see eg. https://github.com/JuliaGPU/CUDAnative.jl/blob/1833651e180fa71157a31f0b6d2588a0ad338c7e/test/perf/launch_overhead/build.jl
nvcc
-ccbin
Same with the arch_ options, better figure that out accurately by looking at CUDAdrv, for maximal compatibility with user GPUs.
arch_
https://github.com/una-dinosauria/Rayuela.jl/blob/a3a1bed0e8b722ff0555d71230d3dadf7f9a01fb/deps/build.jl#L58-L59
While looking at https://discourse.julialang.org/t/freeing-memory-in-the-gpu-with-cudadrv-cudanative-cuarrays/10946, I ran into issues building the package because you can't assume
nvcc
lives there and you might need to pass-ccbin
options. CUDAapi does that for you, see eg. https://github.com/JuliaGPU/CUDAnative.jl/blob/1833651e180fa71157a31f0b6d2588a0ad338c7e/test/perf/launch_overhead/build.jlSame with the
arch_
options, better figure that out accurately by looking at CUDAdrv, for maximal compatibility with user GPUs.