Skip to content

Commit

Permalink
Drop Thrust's cpp14_required.h
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Jan 9, 2025
1 parent d48b19a commit bbb451d
Show file tree
Hide file tree
Showing 22 changed files with 0 additions and 56 deletions.
2 changes: 0 additions & 2 deletions thrust/cmake/ThrustHeaderTesting.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ function(thrust_add_header_test thrust_target label definitions)
target_link_libraries(${headertest_target} PUBLIC ${thrust_target})
target_compile_definitions(${headertest_target} PRIVATE
${header_definitions}
"THRUST_CPP11_REQUIRED_NO_ERROR"
"THRUST_CPP14_REQUIRED_NO_ERROR"
"THRUST_MODERN_GCC_REQUIRED_NO_ERROR"
)
thrust_clone_target_properties(${headertest_target} ${thrust_target})
Expand Down
2 changes: 0 additions & 2 deletions thrust/testing/unittest/util_async.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

#include <thrust/detail/config.h>

#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

# include <thrust/future.h>
Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/async/copy.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/async/for_each.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/async/reduce.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/async/scan.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/async/sort.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/async/transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
33 changes: 0 additions & 33 deletions thrust/thrust/detail/cpp14_required.h

This file was deleted.

1 change: 0 additions & 1 deletion thrust/thrust/detail/event_error.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/future.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/system/cuda/detail/async/copy.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/system/cuda/detail/async/customization.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/system/cuda/detail/async/exclusive_scan.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/system/cuda/detail/async/for_each.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/system/cuda/detail/async/inclusive_scan.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/system/cuda/detail/async/reduce.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/system/cuda/detail/async/scan.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,5 @@
# pragma system_header
#endif // no system header

#include <thrust/detail/cpp14_required.h>
#include <thrust/system/cuda/detail/async/exclusive_scan.h>
#include <thrust/system/cuda/detail/async/inclusive_scan.h>
1 change: 0 additions & 1 deletion thrust/thrust/system/cuda/detail/async/sort.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/system/cuda/detail/async/transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/system/cuda/detail/future.inl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down
1 change: 0 additions & 1 deletion thrust/thrust/system/cuda/future.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
# pragma system_header
#endif // no system header
#include <thrust/detail/cpp14_required.h>

#if _CCCL_STD_VER >= 2014

Expand Down

0 comments on commit bbb451d

Please sign in to comment.