|
18 | 18 | #include <cub/device/dispatch/dispatch_merge_sort.cuh> |
19 | 19 | #include <cub/util_namespace.cuh> |
20 | 20 |
|
21 | | -#include <cuda/__execution/determinism.h> |
22 | 21 | #include <cuda/__execution/require.h> |
23 | 22 | #include <cuda/std/__execution/env.h> |
24 | 23 |
|
@@ -241,7 +240,6 @@ public: |
241 | 240 | //! - Stream: Query via ``cuda::get_stream`` |
242 | 241 | //! - Memory resource: Query via ``cuda::mr::get_memory_resource`` |
243 | 242 | //! |
244 | | - //! - This operation provides ``run_to_run`` determinism. |
245 | 243 | //! - SortPairs is not guaranteed to be stable. |
246 | 244 | //! |
247 | 245 | //! Snippet |
@@ -296,17 +294,6 @@ public: |
296 | 294 | { |
297 | 295 | _CCCL_NVTX_RANGE_SCOPE(GetName()); |
298 | 296 |
|
299 | | - static_assert(!::cuda::std::execution::__queryable_with<EnvT, ::cuda::execution::determinism::__get_determinism_t>, |
300 | | - "Determinism should be used inside requires to have an effect."); |
301 | | - using requirements_t = ::cuda::std::execution:: |
302 | | - __query_result_or_t<EnvT, ::cuda::execution::__get_requirements_t, ::cuda::std::execution::env<>>; |
303 | | - using determinism_t = |
304 | | - ::cuda::std::execution::__query_result_or_t<requirements_t, |
305 | | - ::cuda::execution::determinism::__get_determinism_t, |
306 | | - ::cuda::execution::determinism::run_to_run_t>; |
307 | | - static_assert(!::cuda::std::is_same_v<determinism_t, ::cuda::execution::determinism::gpu_to_gpu_t>, |
308 | | - "gpu_to_gpu determinism is not supported for unstable sort. Use StableSortPairs instead."); |
309 | | - |
310 | 297 | using ChooseOffsetT = detail::choose_offset_t<OffsetT>; |
311 | 298 |
|
312 | 299 | return detail::dispatch_with_env(env, [&]([[maybe_unused]] auto tuning, void* storage, size_t& bytes, auto stream) { |
@@ -610,7 +597,6 @@ public: |
610 | 597 | //! - Stream: Query via ``cuda::get_stream`` |
611 | 598 | //! - Memory resource: Query via ``cuda::mr::get_memory_resource`` |
612 | 599 | //! |
613 | | - //! - This operation provides ``run_to_run`` determinism. |
614 | 600 | //! - SortKeys is not guaranteed to be stable. |
615 | 601 | //! |
616 | 602 | //! Snippet |
@@ -655,17 +641,6 @@ public: |
655 | 641 | { |
656 | 642 | _CCCL_NVTX_RANGE_SCOPE(GetName()); |
657 | 643 |
|
658 | | - static_assert(!::cuda::std::execution::__queryable_with<EnvT, ::cuda::execution::determinism::__get_determinism_t>, |
659 | | - "Determinism should be used inside requires to have an effect."); |
660 | | - using requirements_t = ::cuda::std::execution:: |
661 | | - __query_result_or_t<EnvT, ::cuda::execution::__get_requirements_t, ::cuda::std::execution::env<>>; |
662 | | - using determinism_t = |
663 | | - ::cuda::std::execution::__query_result_or_t<requirements_t, |
664 | | - ::cuda::execution::determinism::__get_determinism_t, |
665 | | - ::cuda::execution::determinism::run_to_run_t>; |
666 | | - static_assert(!::cuda::std::is_same_v<determinism_t, ::cuda::execution::determinism::gpu_to_gpu_t>, |
667 | | - "gpu_to_gpu determinism is not supported for unstable sort. Use StableSortKeys instead."); |
668 | | - |
669 | 644 | using ChooseOffsetT = detail::choose_offset_t<OffsetT>; |
670 | 645 |
|
671 | 646 | return detail::dispatch_with_env(env, [&]([[maybe_unused]] auto tuning, void* storage, size_t& bytes, auto stream) { |
@@ -955,7 +930,6 @@ public: |
955 | 930 | //! - Stream: Query via ``cuda::get_stream`` |
956 | 931 | //! - Memory resource: Query via ``cuda::mr::get_memory_resource`` |
957 | 932 | //! |
958 | | - //! - This operation provides ``gpu_to_gpu`` determinism. |
959 | 933 | //! - StableSortPairs preserves the relative ordering of equivalent elements. |
960 | 934 | //! |
961 | 935 | //! Snippet |
@@ -1136,7 +1110,6 @@ public: |
1136 | 1110 | //! - Stream: Query via ``cuda::get_stream`` |
1137 | 1111 | //! - Memory resource: Query via ``cuda::mr::get_memory_resource`` |
1138 | 1112 | //! |
1139 | | - //! - This operation provides ``gpu_to_gpu`` determinism. |
1140 | 1113 | //! - StableSortKeys preserves the relative ordering of equivalent elements. |
1141 | 1114 | //! |
1142 | 1115 | //! Snippet |
|
0 commit comments