Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit 562ef69

Browse files
committed
remove deprecated support for THRUST_HOST_BACKEND macro
1 parent b7f7d11 commit 562ef69

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

thrust/detail/config/host_system.h

+1-18
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,8 @@
2525
#define THRUST_HOST_SYSTEM THRUST_HOST_SYSTEM_CPP
2626
#endif // THRUST_HOST_SYSTEM
2727

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-
3528
#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.
4730
#endif // THRUST_HOST_BACKEND
4831

4932
#if THRUST_HOST_SYSTEM == THRUST_HOST_SYSTEM_CPP

0 commit comments

Comments
 (0)