4848#include < thrust/system/cuda/detail/util.h>
4949#include < thrust/type_traits/is_trivially_relocatable.h>
5050
51- #if _CCCL_HAS_CUDA_COMPILER ()
51+ #if _CCCL_CUDA_COMPILATION ()
5252# include < cub/device/dispatch/tuning/tuning_transform.cuh>
53- #endif // _CCCL_HAS_CUDA_COMPILER ()
53+ #endif // _CCCL_CUDA_COMPILATION ()
5454
5555#include < cuda/__fwd/zip_iterator.h>
5656#include < cuda/std/tuple>
@@ -131,7 +131,7 @@ OutputIt _CCCL_HOST non_trivial_cross_system_copy_n(
131131 return ret;
132132}
133133
134- #if _CCCL_HAS_CUDA_COMPILER ()
134+ #if _CCCL_CUDA_COMPILATION ()
135135// non-trivial copy D->H, only supported with NVCC compiler
136136// because copy ctor must have __device__ annotations, which is nvcc-only
137137// feature
@@ -158,7 +158,7 @@ OutputIt _CCCL_HOST non_trivial_cross_system_copy_n(
158158 OutputIt ret = thrust::copy_n (host_s, temp_host.data (), num_items, result);
159159 return ret;
160160}
161- #endif // _CCCL_HAS_CUDA_COMPILER ()
161+ #endif // _CCCL_CUDA_COMPILATION ()
162162
163163template <class System1 , class System2 , class InputIt , class Size , class OutputIt >
164164OutputIt _CCCL_HOST cross_system_copy_n (cross_system<System1, System2> systems, InputIt begin, Size n, OutputIt result)
@@ -188,7 +188,7 @@ OutputIt _CCCL_HOST cross_system_copy_n(cross_system<System1, System2> systems,
188188 }
189189}
190190
191- #if _CCCL_HAS_CUDA_COMPILER ()
191+ #if _CCCL_CUDA_COMPILATION ()
192192template <class Derived , class InputIt , class OutputIt >
193193OutputIt THRUST_RUNTIME_FUNCTION
194194device_to_device (execution_policy<Derived>& policy, InputIt first, InputIt last, OutputIt result)
@@ -229,10 +229,10 @@ device_to_device(execution_policy<Derived>& policy, InputIt first, InputIt last,
229229 policy, first, last, result, ::cuda::proclaim_copyable_arguments (::cuda::std::identity{}));
230230 }
231231}
232- #endif // _CCCL_HAS_CUDA_COMPILER ()
232+ #endif // _CCCL_CUDA_COMPILATION ()
233233} // namespace __copy
234234
235- #if _CCCL_HAS_CUDA_COMPILER ()
235+ #if _CCCL_CUDA_COMPILATION ()
236236
237237_CCCL_EXEC_CHECK_DISABLE
238238template <class System , class InputIterator , class OutputIterator >
@@ -253,7 +253,7 @@ copy_n(execution_policy<System>& system, InputIterator first, Size n, OutputIter
253253 (result = thrust::copy_n (cvt_to_seq (derived_cast (system)), first, n, result);));
254254 return result;
255255}
256- #endif // _CCCL_HAS_CUDA_COMPILER ()
256+ #endif // _CCCL_CUDA_COMPILATION ()
257257
258258template <class System1 , class System2 , class InputIterator , class OutputIterator >
259259OutputIterator _CCCL_HOST
0 commit comments