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