Open hagertnl opened 1 year ago
Thanks, Nick. The CUDA backend tests are pretty new, and we've been testing primarily with HPC SDK 23.5 which has a few 11+ versions of CUDA included.
We are talking internally about whether to provide an alternate fix or just to document with a warning for older versions of CUDA.
The NVCC wrapper in CUDA versions <= 11.0.3 filters out the required "-DUSE_CUDA" define (in fact, it appears to filter out all defines) when compiling
backend-support-tests.c
, which results in Spatter not being compiled with the CUDA backend (see last line of the output below).Current README specifies that CUDA 10.0+ is required, which I believe should be updated to be > 11.0.3. I am not sure 11.0.3 is the last version this is a problem, the next version I have access to is 11.1.1, and that version works. Minimal reproducer attached at the end of this ticket.
Minimal reproducer: