This repository was archived by the owner on Mar 21, 2024. It is now read-only.
Commit 82d037e 1 parent f3c28da commit 82d037e Copy full SHA for 82d037e
File tree 1 file changed +1
-17
lines changed
1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change 26
26
#define THRUST_DEVICE_SYSTEM THRUST_DEVICE_SYSTEM_CUDA
27
27
#endif // THRUST_DEVICE_SYSTEM
28
28
29
- // XXX make the use of THRUST_DEVICE_BACKEND an error in Thrust 1.7
30
- // XXX eliminate the following in Thrust 1.7
31
-
32
- #define THRUST_DEVICE_BACKEND_CUDA THRUST_DEVICE_SYSTEM_CUDA
33
- #define THRUST_DEVICE_BACKEND_OMP THRUST_DEVICE_SYSTEM_OMP
34
- #define THRUST_DEVICE_BACKEND_TBB THRUST_DEVICE_SYSTEM_TBB
35
-
36
29
#ifdef THRUST_DEVICE_BACKEND
37
- # if THRUST_HOST_COMPILER == THRUST_HOST_COMPILER_MSVC
38
- # pragma message("----------------------------------------------------------------------------------")
39
- # pragma message("| WARNING: THRUST_DEVICE_BACKEND is deprecated; use THRUST_DEVICE_SYSTEM instead |")
30
+ # error THRUST_DEVICE_BACKEND is no longer supported; use THRUST_DEVICE_SYSTEM instead.
40
31
# pragma message("----------------------------------------------------------------------------------")
41
- # else
42
- # warning ----------------------------------------------------------------------------------
43
- # warning | WARNING: THRUST_DEVICE_BACKEND is deprecated; use THRUST_DEVICE_SYSTEM instead |
44
- # warning ----------------------------------------------------------------------------------
45
- # endif // THRUST_HOST_COMPILER
46
- # undef THRUST_DEVICE_SYSTEM
47
- # define THRUST_DEVICE_SYSTEM THRUST_DEVICE_BACKEND
48
32
#endif // THRUST_DEVICE_BACKEND
49
33
50
34
#if THRUST_DEVICE_SYSTEM == THRUST_DEVICE_SYSTEM_CUDA
You can’t perform that action at this time.
0 commit comments