Commit 617a4d1
Test that backend is CUDA before using CUDA-specifics in temporary_allocator.
To handle the case that we are using nvcc to compile non-CUDA, e.g.
OMP, code, test that the backend THRUST_DEVICE_SYSTEM is
THRUST_DEVICE_SYSTEM_CUDA before including and using CUDA-specific
code, terminate_with_message().1 parent 393b542 commit 617a4d1
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments