diff --git a/thrust/thrust/allocate_unique.h b/thrust/thrust/allocate_unique.h index 26bc260fdfa..cd52327abe3 100644 --- a/thrust/thrust/allocate_unique.h +++ b/thrust/thrust/allocate_unique.h @@ -15,7 +15,6 @@ # pragma system_header #endif // no system header #include -#include #include #include #include diff --git a/thrust/thrust/detail/cpp11_required.h b/thrust/thrust/detail/cpp11_required.h deleted file mode 100644 index 4248459b91a..00000000000 --- a/thrust/thrust/detail/cpp11_required.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2018 NVIDIA Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#pragma once - -#include - -#if defined(_CCCL_IMPLICIT_SYSTEM_HEADER_GCC) -# pragma GCC system_header -#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_CLANG) -# pragma clang system_header -#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) -# pragma system_header -#endif // no system header - -#ifndef THRUST_CPP11_REQUIRED_NO_ERROR -# if _CCCL_STD_VER < 2011 -# error C++11 is required for this Thrust feature; please upgrade your compiler or pass the appropriate -std=c++XX flag to it. -# endif -#endif diff --git a/thrust/thrust/detail/dependencies_aware_execution_policy.h b/thrust/thrust/detail/dependencies_aware_execution_policy.h index d27c80e8490..67ae2825749 100644 --- a/thrust/thrust/detail/dependencies_aware_execution_policy.h +++ b/thrust/thrust/detail/dependencies_aware_execution_policy.h @@ -25,7 +25,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #include #include diff --git a/thrust/thrust/detail/execute_with_dependencies.h b/thrust/thrust/detail/execute_with_dependencies.h index 67ddedf4439..4d9ead51c9b 100644 --- a/thrust/thrust/detail/execute_with_dependencies.h +++ b/thrust/thrust/detail/execute_with_dependencies.h @@ -25,7 +25,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #include #include diff --git a/thrust/thrust/detail/select_system.h b/thrust/thrust/detail/select_system.h index ca8b488f083..65450582967 100644 --- a/thrust/thrust/detail/select_system.h +++ b/thrust/thrust/detail/select_system.h @@ -25,7 +25,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #include #include #include diff --git a/thrust/thrust/detail/shuffle.inl b/thrust/thrust/detail/shuffle.inl index 128498a583b..d016516acbb 100644 --- a/thrust/thrust/detail/shuffle.inl +++ b/thrust/thrust/detail/shuffle.inl @@ -25,7 +25,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #include #include #include diff --git a/thrust/thrust/detail/tuple_algorithms.h b/thrust/thrust/detail/tuple_algorithms.h index ce8f2e00b6a..dfb9daf289a 100644 --- a/thrust/thrust/detail/tuple_algorithms.h +++ b/thrust/thrust/detail/tuple_algorithms.h @@ -25,7 +25,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #include #include diff --git a/thrust/thrust/detail/type_deduction.h b/thrust/thrust/detail/type_deduction.h index 99cca2d3e1c..08f31630bb5 100644 --- a/thrust/thrust/detail/type_deduction.h +++ b/thrust/thrust/detail/type_deduction.h @@ -16,7 +16,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #include #include diff --git a/thrust/thrust/device_make_unique.h b/thrust/thrust/device_make_unique.h index 09fb915cde6..7712e2a5692 100644 --- a/thrust/thrust/device_make_unique.h +++ b/thrust/thrust/device_make_unique.h @@ -30,7 +30,6 @@ # pragma system_header #endif // no system header #include -#include #include #include #include diff --git a/thrust/thrust/mr/disjoint_sync_pool.h b/thrust/thrust/mr/disjoint_sync_pool.h index 2a884a1696c..fe18317f2f3 100644 --- a/thrust/thrust/mr/disjoint_sync_pool.h +++ b/thrust/thrust/mr/disjoint_sync_pool.h @@ -29,7 +29,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #include #include diff --git a/thrust/thrust/mr/disjoint_tls_pool.h b/thrust/thrust/mr/disjoint_tls_pool.h index 4b5f5a34d1b..ad10bea0b58 100644 --- a/thrust/thrust/mr/disjoint_tls_pool.h +++ b/thrust/thrust/mr/disjoint_tls_pool.h @@ -29,7 +29,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #include THRUST_NAMESPACE_BEGIN diff --git a/thrust/thrust/mr/sync_pool.h b/thrust/thrust/mr/sync_pool.h index 023fb7b7427..15322d590df 100644 --- a/thrust/thrust/mr/sync_pool.h +++ b/thrust/thrust/mr/sync_pool.h @@ -29,7 +29,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #include #include diff --git a/thrust/thrust/mr/tls_pool.h b/thrust/thrust/mr/tls_pool.h index 44f00ff9925..032c7778334 100644 --- a/thrust/thrust/mr/tls_pool.h +++ b/thrust/thrust/mr/tls_pool.h @@ -29,7 +29,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #include THRUST_NAMESPACE_BEGIN diff --git a/thrust/thrust/optional.h b/thrust/thrust/optional.h index 4ee69d8ab85..34ed630a414 100644 --- a/thrust/thrust/optional.h +++ b/thrust/thrust/optional.h @@ -23,7 +23,6 @@ # pragma system_header #endif // no system header #include -#include #include #include diff --git a/thrust/thrust/per_device_resource.h b/thrust/thrust/per_device_resource.h index 9d70248fe41..76fa1aca0c8 100644 --- a/thrust/thrust/per_device_resource.h +++ b/thrust/thrust/per_device_resource.h @@ -25,7 +25,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #include #include #include diff --git a/thrust/thrust/shuffle.h b/thrust/thrust/shuffle.h index 3b9d4ff99f8..30ec9130f5f 100644 --- a/thrust/thrust/shuffle.h +++ b/thrust/thrust/shuffle.h @@ -30,7 +30,6 @@ # pragma system_header #endif // no system header -#include #include THRUST_NAMESPACE_BEGIN diff --git a/thrust/thrust/system/cuda/detail/per_device_resource.h b/thrust/thrust/system/cuda/detail/per_device_resource.h index a50bf7bc35d..0bb09091280 100644 --- a/thrust/thrust/system/cuda/detail/per_device_resource.h +++ b/thrust/thrust/system/cuda/detail/per_device_resource.h @@ -36,7 +36,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #if THRUST_DEVICE_COMPILER == THRUST_DEVICE_COMPILER_NVCC diff --git a/thrust/thrust/system/detail/generic/shuffle.h b/thrust/thrust/system/detail/generic/shuffle.h index 9b4bcc87ea9..2e5830ddb0b 100644 --- a/thrust/thrust/system/detail/generic/shuffle.h +++ b/thrust/thrust/system/detail/generic/shuffle.h @@ -30,7 +30,6 @@ # pragma system_header #endif // no system header -#include #include THRUST_NAMESPACE_BEGIN diff --git a/thrust/thrust/type_traits/integer_sequence.h b/thrust/thrust/type_traits/integer_sequence.h index 8e9f5a79a52..50e82779812 100644 --- a/thrust/thrust/type_traits/integer_sequence.h +++ b/thrust/thrust/type_traits/integer_sequence.h @@ -31,7 +31,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #include #include diff --git a/thrust/thrust/type_traits/logical_metafunctions.h b/thrust/thrust/type_traits/logical_metafunctions.h index ae6cb59867e..9f034731a81 100644 --- a/thrust/thrust/type_traits/logical_metafunctions.h +++ b/thrust/thrust/type_traits/logical_metafunctions.h @@ -33,7 +33,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #include diff --git a/thrust/thrust/zip_function.h b/thrust/thrust/zip_function.h index f2aa048c4f9..3d407d098f9 100644 --- a/thrust/thrust/zip_function.h +++ b/thrust/thrust/zip_function.h @@ -16,7 +16,6 @@ #elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) # pragma system_header #endif // no system header -#include #include #if !defined(THRUST_LEGACY_GCC)