diff --git a/cub/cub/util_device.cuh b/cub/cub/util_device.cuh index 145fbcc5c78..0f9cf691b70 100644 --- a/cub/cub/util_device.cuh +++ b/cub/cub/util_device.cuh @@ -754,6 +754,6 @@ private: }; CUB_NAMESPACE_END -#if _CCCL_HAS_CUDA_COMPILER() && !_CCCL_COMPILER(NVRTC) +#if _CCCL_CUDA_COMPILATION() && !_CCCL_COMPILER(NVRTC) # include // to complete the definition of TripleChevronFactory -#endif // _CCCL_HAS_CUDA_COMPILER() && !_CCCL_COMPILER(NVRTC) +#endif // _CCCL_CUDA_COMPILATION() && !_CCCL_COMPILER(NVRTC) diff --git a/cudax/include/cuda/experimental/__container/async_buffer.cuh b/cudax/include/cuda/experimental/__container/async_buffer.cuh index 2baf848293b..1bf83c954e9 100644 --- a/cudax/include/cuda/experimental/__container/async_buffer.cuh +++ b/cudax/include/cuda/experimental/__container/async_buffer.cuh @@ -21,9 +21,9 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include -#endif // _CCCL_HAS_CUDA_COMPILER() +#endif // _CCCL_CUDA_COMPILATION() #include #include @@ -604,12 +604,13 @@ __fill_n(cuda::stream_ref __stream, _Tp* __first, ::cuda::std::size_t __count, c } else { -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() ::cuda::experimental::__ensure_current_device __guard(__stream); ::cub::DeviceTransform::Fill(__first, __count, __value, __stream.get()); -#else - static_assert(0, "CUDA compiler is required to initialize an async_buffer with elements larger than 4 bytes"); -#endif +#else // ^^^ _CCCL_CUDA_COMPILATION() ^^^ / vvv !_CCCL_CUDA_COMPILATION() vvv + static_assert(sizeof(_Tp) <= 4, + "CUDA compiler is required to initialize an async_buffer with elements larger than 4 bytes"); +#endif // ^^^ !_CCCL_CUDA_COMPILATION() ^^^ } } } diff --git a/libcudacxx/codegen/generators/header.h b/libcudacxx/codegen/generators/header.h index 7bc0984ee25..9cf6dee2917 100644 --- a/libcudacxx/codegen/generators/header.h +++ b/libcudacxx/codegen/generators/header.h @@ -59,7 +59,7 @@ inline void FormatHeader(std::ostream& out) _CCCL_BEGIN_NAMESPACE_CUDA_STD -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() extern "C" _CCCL_DEVICE void __atomic_cas_128b_unsupported_before_SM_90(); extern "C" _CCCL_DEVICE void __atomic_exchange_128b_unsupported_before_SM_90(); @@ -72,7 +72,7 @@ extern "C" _CCCL_DEVICE void __atomic_ldst_128b_unsupported_before_SM_70(); inline void FormatTail(std::ostream& out) { std::string tail = R"XXX( -#endif // _CCCL_HAS_CUDA_COMPILER() +#endif // _CCCL_CUDA_COMPILATION() _CCCL_END_NAMESPACE_CUDA_STD diff --git a/libcudacxx/include/cuda/__memcpy_async/memcpy_async.h b/libcudacxx/include/cuda/__memcpy_async/memcpy_async.h index a0fd534c28f..19e2034a892 100644 --- a/libcudacxx/include/cuda/__memcpy_async/memcpy_async.h +++ b/libcudacxx/include/cuda/__memcpy_async/memcpy_async.h @@ -22,7 +22,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include @@ -174,6 +174,6 @@ _CCCL_END_NAMESPACE_CUDA # include -#endif // _CCCL_HAS_CUDA_COMPILER() +#endif // _CCCL_CUDA_COMPILATION() #endif // _CUDA___MEMCPY_ASYNC_MEMCPY_ASYNC_H_ diff --git a/libcudacxx/include/cuda/std/__atomic/functions/cuda_ptx_generated.h b/libcudacxx/include/cuda/std/__atomic/functions/cuda_ptx_generated.h index b07a03f2877..e708d369870 100644 --- a/libcudacxx/include/cuda/std/__atomic/functions/cuda_ptx_generated.h +++ b/libcudacxx/include/cuda/std/__atomic/functions/cuda_ptx_generated.h @@ -42,7 +42,7 @@ _CCCL_BEGIN_NAMESPACE_CUDA_STD -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() extern "C" _CCCL_DEVICE void __atomic_cas_128b_unsupported_before_SM_90(); extern "C" _CCCL_DEVICE void __atomic_exchange_128b_unsupported_before_SM_90(); @@ -4426,7 +4426,7 @@ template return __atomic_fetch_add_cuda(__ptr, -__op, __memorder, _Sco{}); } -#endif // _CCCL_HAS_CUDA_COMPILER() +#endif // _CCCL_CUDA_COMPILATION() _CCCL_END_NAMESPACE_CUDA_STD diff --git a/thrust/examples/include/host_device.h b/thrust/examples/include/host_device.h index aebb753aeba..da2f7f0ddde 100644 --- a/thrust/examples/include/host_device.h +++ b/thrust/examples/include/host_device.h @@ -18,7 +18,7 @@ #include -#if !_CCCL_HAS_CUDA_COMPILER() +#if !_CCCL_CUDA_COMPILATION() # ifndef __host__ # define __host__ diff --git a/thrust/thrust/random/detail/normal_distribution_base.h b/thrust/thrust/random/detail/normal_distribution_base.h index 482c8175ff2..7b7e531b120 100644 --- a/thrust/thrust/random/detail/normal_distribution_base.h +++ b/thrust/thrust/random/detail/normal_distribution_base.h @@ -147,7 +147,7 @@ class normal_distribution_portable template struct normal_distribution_base { -#if _CCCL_HAS_CUDA_COMPILER() && !_CCCL_CUDA_COMPILER(NVHPC) +#if _CCCL_CUDA_COMPILATION() && !_CCCL_CUDA_COMPILER(NVHPC) using type = normal_distribution_nvcc; #else using type = normal_distribution_portable; diff --git a/thrust/thrust/system/cuda/detail/adjacent_difference.h b/thrust/thrust/system/cuda/detail/adjacent_difference.h index e990cd7b543..b659ba56b1c 100644 --- a/thrust/thrust/system/cuda/detail/adjacent_difference.h +++ b/thrust/thrust/system/cuda/detail/adjacent_difference.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include diff --git a/thrust/thrust/system/cuda/detail/assign_value.h b/thrust/thrust/system/cuda/detail/assign_value.h index 1a07e7b4d77..b8a6c068a0b 100644 --- a/thrust/thrust/system/cuda/detail/assign_value.h +++ b/thrust/thrust/system/cuda/detail/assign_value.h @@ -26,7 +26,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/copy.h b/thrust/thrust/system/cuda/detail/copy.h index fe3d3f5f5e7..26ce18ac740 100644 --- a/thrust/thrust/system/cuda/detail/copy.h +++ b/thrust/thrust/system/cuda/detail/copy.h @@ -48,9 +48,9 @@ #include #include -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include -#endif // _CCCL_HAS_CUDA_COMPILER() +#endif // _CCCL_CUDA_COMPILATION() #include #include @@ -131,7 +131,7 @@ OutputIt _CCCL_HOST non_trivial_cross_system_copy_n( return ret; } -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() // non-trivial copy D->H, only supported with NVCC compiler // because copy ctor must have __device__ annotations, which is nvcc-only // feature @@ -158,7 +158,7 @@ OutputIt _CCCL_HOST non_trivial_cross_system_copy_n( OutputIt ret = thrust::copy_n(host_s, temp_host.data(), num_items, result); return ret; } -#endif // _CCCL_HAS_CUDA_COMPILER() +#endif // _CCCL_CUDA_COMPILATION() template OutputIt _CCCL_HOST cross_system_copy_n(cross_system systems, InputIt begin, Size n, OutputIt result) @@ -188,7 +188,7 @@ OutputIt _CCCL_HOST cross_system_copy_n(cross_system systems, } } -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() template OutputIt THRUST_RUNTIME_FUNCTION device_to_device(execution_policy& policy, InputIt first, InputIt last, OutputIt result) @@ -229,10 +229,10 @@ device_to_device(execution_policy& policy, InputIt first, InputIt last, policy, first, last, result, ::cuda::proclaim_copyable_arguments(::cuda::std::identity{})); } } -#endif // _CCCL_HAS_CUDA_COMPILER() +#endif // _CCCL_CUDA_COMPILATION() } // namespace __copy -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() _CCCL_EXEC_CHECK_DISABLE template @@ -253,7 +253,7 @@ copy_n(execution_policy& system, InputIterator first, Size n, OutputIter (result = thrust::copy_n(cvt_to_seq(derived_cast(system)), first, n, result);)); return result; } -#endif // _CCCL_HAS_CUDA_COMPILER() +#endif // _CCCL_CUDA_COMPILATION() template OutputIterator _CCCL_HOST diff --git a/thrust/thrust/system/cuda/detail/copy_if.h b/thrust/thrust/system/cuda/detail/copy_if.h index 315ddfb776f..8ba3040ba65 100644 --- a/thrust/thrust/system/cuda/detail/copy_if.h +++ b/thrust/thrust/system/cuda/detail/copy_if.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include diff --git a/thrust/thrust/system/cuda/detail/core/agent_launcher.h b/thrust/thrust/system/cuda/detail/core/agent_launcher.h index 096690acacf..19f10fcc88d 100644 --- a/thrust/thrust/system/cuda/detail/core/agent_launcher.h +++ b/thrust/thrust/system/cuda/detail/core/agent_launcher.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/count.h b/thrust/thrust/system/cuda/detail/count.h index bad4cb888d0..a2c154da088 100644 --- a/thrust/thrust/system/cuda/detail/count.h +++ b/thrust/thrust/system/cuda/detail/count.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/equal.h b/thrust/thrust/system/cuda/detail/equal.h index 06d8e123b7d..fb008bb093c 100644 --- a/thrust/thrust/system/cuda/detail/equal.h +++ b/thrust/thrust/system/cuda/detail/equal.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/extrema.h b/thrust/thrust/system/cuda/detail/extrema.h index e0c05a55d71..7eeb07ee06c 100644 --- a/thrust/thrust/system/cuda/detail/extrema.h +++ b/thrust/thrust/system/cuda/detail/extrema.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include diff --git a/thrust/thrust/system/cuda/detail/fill.h b/thrust/thrust/system/cuda/detail/fill.h index 3e093efba34..631f44a1ba4 100644 --- a/thrust/thrust/system/cuda/detail/fill.h +++ b/thrust/thrust/system/cuda/detail/fill.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/find.h b/thrust/thrust/system/cuda/detail/find.h index 60658dfba32..e4abb4131f1 100644 --- a/thrust/thrust/system/cuda/detail/find.h +++ b/thrust/thrust/system/cuda/detail/find.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/for_each.h b/thrust/thrust/system/cuda/detail/for_each.h index cd3f14eb95a..932cad780f0 100644 --- a/thrust/thrust/system/cuda/detail/for_each.h +++ b/thrust/thrust/system/cuda/detail/for_each.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/gather.h b/thrust/thrust/system/cuda/detail/gather.h index 8a0487b900e..bee6d7d890e 100644 --- a/thrust/thrust/system/cuda/detail/gather.h +++ b/thrust/thrust/system/cuda/detail/gather.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/generate.h b/thrust/thrust/system/cuda/detail/generate.h index ef9774b43b4..77dc1959026 100644 --- a/thrust/thrust/system/cuda/detail/generate.h +++ b/thrust/thrust/system/cuda/detail/generate.h @@ -12,7 +12,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/get_value.h b/thrust/thrust/system/cuda/detail/get_value.h index 140305c6e75..3e1d71472e4 100644 --- a/thrust/thrust/system/cuda/detail/get_value.h +++ b/thrust/thrust/system/cuda/detail/get_value.h @@ -26,7 +26,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/inner_product.h b/thrust/thrust/system/cuda/detail/inner_product.h index 03f492cf0aa..83aa908aaf9 100644 --- a/thrust/thrust/system/cuda/detail/inner_product.h +++ b/thrust/thrust/system/cuda/detail/inner_product.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include # include diff --git a/thrust/thrust/system/cuda/detail/iter_swap.h b/thrust/thrust/system/cuda/detail/iter_swap.h index ef301b39ceb..b0595b5079f 100644 --- a/thrust/thrust/system/cuda/detail/iter_swap.h +++ b/thrust/thrust/system/cuda/detail/iter_swap.h @@ -26,7 +26,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include diff --git a/thrust/thrust/system/cuda/detail/merge.h b/thrust/thrust/system/cuda/detail/merge.h index 6bd87bc1a90..3a09497e1b9 100644 --- a/thrust/thrust/system/cuda/detail/merge.h +++ b/thrust/thrust/system/cuda/detail/merge.h @@ -12,7 +12,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include diff --git a/thrust/thrust/system/cuda/detail/mismatch.h b/thrust/thrust/system/cuda/detail/mismatch.h index e8b6277ce09..2f481173b78 100644 --- a/thrust/thrust/system/cuda/detail/mismatch.h +++ b/thrust/thrust/system/cuda/detail/mismatch.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/parallel_for.h b/thrust/thrust/system/cuda/detail/parallel_for.h index 0ff8904ffc2..449ffeb1eaf 100644 --- a/thrust/thrust/system/cuda/detail/parallel_for.h +++ b/thrust/thrust/system/cuda/detail/parallel_for.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include diff --git a/thrust/thrust/system/cuda/detail/partition.h b/thrust/thrust/system/cuda/detail/partition.h index 97ec49c6c04..3f3846ff3a9 100644 --- a/thrust/thrust/system/cuda/detail/partition.h +++ b/thrust/thrust/system/cuda/detail/partition.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include diff --git a/thrust/thrust/system/cuda/detail/per_device_resource.h b/thrust/thrust/system/cuda/detail/per_device_resource.h index b8fa0acf9a9..d8540a9223a 100644 --- a/thrust/thrust/system/cuda/detail/per_device_resource.h +++ b/thrust/thrust/system/cuda/detail/per_device_resource.h @@ -37,7 +37,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include diff --git a/thrust/thrust/system/cuda/detail/reduce.h b/thrust/thrust/system/cuda/detail/reduce.h index a712f259505..b50b22eab27 100644 --- a/thrust/thrust/system/cuda/detail/reduce.h +++ b/thrust/thrust/system/cuda/detail/reduce.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include diff --git a/thrust/thrust/system/cuda/detail/reduce_by_key.h b/thrust/thrust/system/cuda/detail/reduce_by_key.h index 959206edd76..568e09758d1 100644 --- a/thrust/thrust/system/cuda/detail/reduce_by_key.h +++ b/thrust/thrust/system/cuda/detail/reduce_by_key.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include diff --git a/thrust/thrust/system/cuda/detail/remove.h b/thrust/thrust/system/cuda/detail/remove.h index 8b777fe2ec4..b34104ead15 100644 --- a/thrust/thrust/system/cuda/detail/remove.h +++ b/thrust/thrust/system/cuda/detail/remove.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include THRUST_NAMESPACE_BEGIN diff --git a/thrust/thrust/system/cuda/detail/replace.h b/thrust/thrust/system/cuda/detail/replace.h index 323b6520a50..7d6f3014fa0 100644 --- a/thrust/thrust/system/cuda/detail/replace.h +++ b/thrust/thrust/system/cuda/detail/replace.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/reverse.h b/thrust/thrust/system/cuda/detail/reverse.h index 678debcd9ff..470d3cd84f1 100644 --- a/thrust/thrust/system/cuda/detail/reverse.h +++ b/thrust/thrust/system/cuda/detail/reverse.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include THRUST_NAMESPACE_BEGIN diff --git a/thrust/thrust/system/cuda/detail/scan.h b/thrust/thrust/system/cuda/detail/scan.h index 82652a3c6c0..15b9060b8a6 100644 --- a/thrust/thrust/system/cuda/detail/scan.h +++ b/thrust/thrust/system/cuda/detail/scan.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include diff --git a/thrust/thrust/system/cuda/detail/scan_by_key.h b/thrust/thrust/system/cuda/detail/scan_by_key.h index 49ef3dc8e91..2665a271caa 100644 --- a/thrust/thrust/system/cuda/detail/scan_by_key.h +++ b/thrust/thrust/system/cuda/detail/scan_by_key.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include diff --git a/thrust/thrust/system/cuda/detail/scatter.h b/thrust/thrust/system/cuda/detail/scatter.h index 8a70a92b572..9934d35f0b8 100644 --- a/thrust/thrust/system/cuda/detail/scatter.h +++ b/thrust/thrust/system/cuda/detail/scatter.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/set_operations.h b/thrust/thrust/system/cuda/detail/set_operations.h index 464cf91da5e..75602e5985f 100644 --- a/thrust/thrust/system/cuda/detail/set_operations.h +++ b/thrust/thrust/system/cuda/detail/set_operations.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/sort.h b/thrust/thrust/system/cuda/detail/sort.h index d799da99bf3..7c72ca1898b 100644 --- a/thrust/thrust/system/cuda/detail/sort.h +++ b/thrust/thrust/system/cuda/detail/sort.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/swap_ranges.h b/thrust/thrust/system/cuda/detail/swap_ranges.h index 879f4846c58..c22e986f67e 100644 --- a/thrust/thrust/system/cuda/detail/swap_ranges.h +++ b/thrust/thrust/system/cuda/detail/swap_ranges.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/tabulate.h b/thrust/thrust/system/cuda/detail/tabulate.h index 68717529032..6d81389f3f6 100644 --- a/thrust/thrust/system/cuda/detail/tabulate.h +++ b/thrust/thrust/system/cuda/detail/tabulate.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/transform.h b/thrust/thrust/system/cuda/detail/transform.h index 3eed0113371..aee924dd64e 100644 --- a/thrust/thrust/system/cuda/detail/transform.h +++ b/thrust/thrust/system/cuda/detail/transform.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/transform_reduce.h b/thrust/thrust/system/cuda/detail/transform_reduce.h index 716c5c80820..5c5a8f6fe08 100644 --- a/thrust/thrust/system/cuda/detail/transform_reduce.h +++ b/thrust/thrust/system/cuda/detail/transform_reduce.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include diff --git a/thrust/thrust/system/cuda/detail/transform_scan.h b/thrust/thrust/system/cuda/detail/transform_scan.h index af20c0ffc05..3567c7c1c70 100644 --- a/thrust/thrust/system/cuda/detail/transform_scan.h +++ b/thrust/thrust/system/cuda/detail/transform_scan.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include # include diff --git a/thrust/thrust/system/cuda/detail/uninitialized_copy.h b/thrust/thrust/system/cuda/detail/uninitialized_copy.h index a0132d8e642..8820359ba2e 100644 --- a/thrust/thrust/system/cuda/detail/uninitialized_copy.h +++ b/thrust/thrust/system/cuda/detail/uninitialized_copy.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include # include diff --git a/thrust/thrust/system/cuda/detail/uninitialized_fill.h b/thrust/thrust/system/cuda/detail/uninitialized_fill.h index a8d07cd8ba6..698ead1a3ac 100644 --- a/thrust/thrust/system/cuda/detail/uninitialized_fill.h +++ b/thrust/thrust/system/cuda/detail/uninitialized_fill.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include # include # include diff --git a/thrust/thrust/system/cuda/detail/unique.h b/thrust/thrust/system/cuda/detail/unique.h index 750c1c9a7a8..17876cdf31b 100644 --- a/thrust/thrust/system/cuda/detail/unique.h +++ b/thrust/thrust/system/cuda/detail/unique.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include diff --git a/thrust/thrust/system/cuda/detail/unique_by_key.h b/thrust/thrust/system/cuda/detail/unique_by_key.h index c2177f3fa9b..13e3b5c42e2 100644 --- a/thrust/thrust/system/cuda/detail/unique_by_key.h +++ b/thrust/thrust/system/cuda/detail/unique_by_key.h @@ -36,7 +36,7 @@ # pragma system_header #endif // no system header -#if _CCCL_HAS_CUDA_COMPILER() +#if _CCCL_CUDA_COMPILATION() # include