cuda-cccl 0.4.3__cp312-cp312-manylinux_2_26_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cuda/cccl/__init__.py +27 -0
- cuda/cccl/_cuda_version_utils.py +24 -0
- cuda/cccl/cooperative/__init__.py +9 -0
- cuda/cccl/cooperative/experimental/__init__.py +24 -0
- cuda/cccl/headers/__init__.py +7 -0
- cuda/cccl/headers/include/__init__.py +1 -0
- cuda/cccl/headers/include/cub/agent/agent_adjacent_difference.cuh +233 -0
- cuda/cccl/headers/include/cub/agent/agent_batch_memcpy.cuh +1158 -0
- cuda/cccl/headers/include/cub/agent/agent_for.cuh +55 -0
- cuda/cccl/headers/include/cub/agent/agent_histogram.cuh +699 -0
- cuda/cccl/headers/include/cub/agent/agent_merge.cuh +365 -0
- cuda/cccl/headers/include/cub/agent/agent_merge_sort.cuh +721 -0
- cuda/cccl/headers/include/cub/agent/agent_radix_sort_downsweep.cuh +756 -0
- cuda/cccl/headers/include/cub/agent/agent_radix_sort_histogram.cuh +277 -0
- cuda/cccl/headers/include/cub/agent/agent_radix_sort_onesweep.cuh +715 -0
- cuda/cccl/headers/include/cub/agent/agent_radix_sort_upsweep.cuh +546 -0
- cuda/cccl/headers/include/cub/agent/agent_reduce.cuh +592 -0
- cuda/cccl/headers/include/cub/agent/agent_reduce_by_key.cuh +780 -0
- cuda/cccl/headers/include/cub/agent/agent_rle.cuh +1092 -0
- cuda/cccl/headers/include/cub/agent/agent_scan.cuh +564 -0
- cuda/cccl/headers/include/cub/agent/agent_scan_by_key.cuh +448 -0
- cuda/cccl/headers/include/cub/agent/agent_segmented_radix_sort.cuh +263 -0
- cuda/cccl/headers/include/cub/agent/agent_segmented_scan.cuh +292 -0
- cuda/cccl/headers/include/cub/agent/agent_select_if.cuh +1090 -0
- cuda/cccl/headers/include/cub/agent/agent_sub_warp_merge_sort.cuh +346 -0
- cuda/cccl/headers/include/cub/agent/agent_three_way_partition.cuh +584 -0
- cuda/cccl/headers/include/cub/agent/agent_topk.cuh +762 -0
- cuda/cccl/headers/include/cub/agent/agent_unique_by_key.cuh +599 -0
- cuda/cccl/headers/include/cub/agent/single_pass_scan_operators.cuh +1384 -0
- cuda/cccl/headers/include/cub/block/block_adjacent_difference.cuh +939 -0
- cuda/cccl/headers/include/cub/block/block_discontinuity.cuh +1200 -0
- cuda/cccl/headers/include/cub/block/block_exchange.cuh +1279 -0
- cuda/cccl/headers/include/cub/block/block_histogram.cuh +396 -0
- cuda/cccl/headers/include/cub/block/block_load.cuh +1269 -0
- cuda/cccl/headers/include/cub/block/block_load_to_shared.cuh +437 -0
- cuda/cccl/headers/include/cub/block/block_merge_sort.cuh +771 -0
- cuda/cccl/headers/include/cub/block/block_radix_rank.cuh +1215 -0
- cuda/cccl/headers/include/cub/block/block_radix_sort.cuh +2129 -0
- cuda/cccl/headers/include/cub/block/block_raking_layout.cuh +124 -0
- cuda/cccl/headers/include/cub/block/block_reduce.cuh +661 -0
- cuda/cccl/headers/include/cub/block/block_run_length_decode.cuh +406 -0
- cuda/cccl/headers/include/cub/block/block_scan.cuh +2168 -0
- cuda/cccl/headers/include/cub/block/block_shuffle.cuh +319 -0
- cuda/cccl/headers/include/cub/block/block_store.cuh +1238 -0
- cuda/cccl/headers/include/cub/block/radix_rank_sort_operations.cuh +597 -0
- cuda/cccl/headers/include/cub/block/specializations/block_histogram_atomic.cuh +62 -0
- cuda/cccl/headers/include/cub/block/specializations/block_histogram_sort.cuh +209 -0
- cuda/cccl/headers/include/cub/block/specializations/block_reduce_raking.cuh +230 -0
- cuda/cccl/headers/include/cub/block/specializations/block_reduce_raking_commutative_only.cuh +207 -0
- cuda/cccl/headers/include/cub/block/specializations/block_reduce_warp_reductions.cuh +257 -0
- cuda/cccl/headers/include/cub/block/specializations/block_scan_raking.cuh +766 -0
- cuda/cccl/headers/include/cub/block/specializations/block_scan_warp_scans.cuh +514 -0
- cuda/cccl/headers/include/cub/config.cuh +29 -0
- cuda/cccl/headers/include/cub/cub.cuh +96 -0
- cuda/cccl/headers/include/cub/detail/array_utils.cuh +54 -0
- cuda/cccl/headers/include/cub/detail/choose_offset.cuh +135 -0
- cuda/cccl/headers/include/cub/detail/detect_cuda_runtime.cuh +50 -0
- cuda/cccl/headers/include/cub/detail/device_double_buffer.cuh +94 -0
- cuda/cccl/headers/include/cub/detail/device_memory_resource.cuh +60 -0
- cuda/cccl/headers/include/cub/detail/env_dispatch.cuh +87 -0
- cuda/cccl/headers/include/cub/detail/fast_modulo_division.cuh +227 -0
- cuda/cccl/headers/include/cub/detail/integer_utils.cuh +87 -0
- cuda/cccl/headers/include/cub/detail/launcher/cuda_driver.cuh +149 -0
- cuda/cccl/headers/include/cub/detail/launcher/cuda_runtime.cuh +103 -0
- cuda/cccl/headers/include/cub/detail/mdspan_utils.cuh +112 -0
- cuda/cccl/headers/include/cub/detail/ptx-json/array.cuh +41 -0
- cuda/cccl/headers/include/cub/detail/ptx-json/json.cuh +39 -0
- cuda/cccl/headers/include/cub/detail/ptx-json/object.cuh +71 -0
- cuda/cccl/headers/include/cub/detail/ptx-json/string.cuh +79 -0
- cuda/cccl/headers/include/cub/detail/ptx-json/value.cuh +95 -0
- cuda/cccl/headers/include/cub/detail/ptx-json-parser.cuh +39 -0
- cuda/cccl/headers/include/cub/detail/rfa.cuh +706 -0
- cuda/cccl/headers/include/cub/detail/strong_load.cuh +163 -0
- cuda/cccl/headers/include/cub/detail/strong_store.cuh +194 -0
- cuda/cccl/headers/include/cub/detail/temporary_storage.cuh +377 -0
- cuda/cccl/headers/include/cub/detail/type_traits.cuh +185 -0
- cuda/cccl/headers/include/cub/detail/uninitialized_copy.cuh +48 -0
- cuda/cccl/headers/include/cub/detail/unsafe_bitcast.cuh +33 -0
- cuda/cccl/headers/include/cub/device/device_adjacent_difference.cuh +572 -0
- cuda/cccl/headers/include/cub/device/device_copy.cuh +276 -0
- cuda/cccl/headers/include/cub/device/device_for.cuh +1061 -0
- cuda/cccl/headers/include/cub/device/device_histogram.cuh +1485 -0
- cuda/cccl/headers/include/cub/device/device_memcpy.cuh +171 -0
- cuda/cccl/headers/include/cub/device/device_merge.cuh +203 -0
- cuda/cccl/headers/include/cub/device/device_merge_sort.cuh +955 -0
- cuda/cccl/headers/include/cub/device/device_partition.cuh +644 -0
- cuda/cccl/headers/include/cub/device/device_radix_sort.cuh +3413 -0
- cuda/cccl/headers/include/cub/device/device_reduce.cuh +2303 -0
- cuda/cccl/headers/include/cub/device/device_run_length_encode.cuh +346 -0
- cuda/cccl/headers/include/cub/device/device_scan.cuh +2152 -0
- cuda/cccl/headers/include/cub/device/device_segmented_radix_sort.cuh +1472 -0
- cuda/cccl/headers/include/cub/device/device_segmented_reduce.cuh +1635 -0
- cuda/cccl/headers/include/cub/device/device_segmented_scan.cuh +1398 -0
- cuda/cccl/headers/include/cub/device/device_segmented_sort.cuh +2787 -0
- cuda/cccl/headers/include/cub/device/device_select.cuh +1204 -0
- cuda/cccl/headers/include/cub/device/device_topk.cuh +521 -0
- cuda/cccl/headers/include/cub/device/device_transform.cuh +666 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_adjacent_difference.cuh +289 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_batch_memcpy.cuh +694 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_common.cuh +50 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_copy_mdspan.cuh +77 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_fixed_size_segmented_reduce.cuh +349 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_for.cuh +160 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_histogram.cuh +1849 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_merge.cuh +317 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_merge_sort.cuh +429 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_radix_sort.cuh +1066 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_reduce.cuh +830 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_reduce_by_key.cuh +629 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_reduce_deterministic.cuh +479 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_reduce_nondeterministic.cuh +256 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_rle.cuh +603 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_scan.cuh +447 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_scan_by_key.cuh +545 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_segmented_radix_sort.cuh +638 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_segmented_reduce.cuh +410 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_segmented_scan.cuh +278 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_segmented_sort.cuh +899 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_select_if.cuh +831 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_streaming_reduce.cuh +321 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_streaming_reduce_by_key.cuh +454 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_three_way_partition.cuh +364 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_topk.cuh +626 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_transform.cuh +527 -0
- cuda/cccl/headers/include/cub/device/dispatch/dispatch_unique_by_key.cuh +472 -0
- cuda/cccl/headers/include/cub/device/dispatch/kernels/kernel_for_each.cuh +259 -0
- cuda/cccl/headers/include/cub/device/dispatch/kernels/kernel_histogram.cuh +669 -0
- cuda/cccl/headers/include/cub/device/dispatch/kernels/kernel_merge_sort.cuh +332 -0
- cuda/cccl/headers/include/cub/device/dispatch/kernels/kernel_radix_sort.cuh +553 -0
- cuda/cccl/headers/include/cub/device/dispatch/kernels/kernel_reduce.cuh +584 -0
- cuda/cccl/headers/include/cub/device/dispatch/kernels/kernel_scan.cuh +178 -0
- cuda/cccl/headers/include/cub/device/dispatch/kernels/kernel_segmented_radix_sort.cuh +262 -0
- cuda/cccl/headers/include/cub/device/dispatch/kernels/kernel_segmented_reduce.cuh +295 -0
- cuda/cccl/headers/include/cub/device/dispatch/kernels/kernel_segmented_scan.cuh +77 -0
- cuda/cccl/headers/include/cub/device/dispatch/kernels/kernel_segmented_sort.cuh +521 -0
- cuda/cccl/headers/include/cub/device/dispatch/kernels/kernel_three_way_partition.cuh +200 -0
- cuda/cccl/headers/include/cub/device/dispatch/kernels/kernel_transform.cuh +1049 -0
- cuda/cccl/headers/include/cub/device/dispatch/kernels/kernel_unique_by_key.cuh +175 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/common.cuh +97 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_adjacent_difference.cuh +43 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_batch_memcpy.cuh +94 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_for.cuh +34 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_histogram.cuh +268 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_merge.cuh +108 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_merge_sort.cuh +100 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_radix_sort.cuh +1045 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_reduce.cuh +681 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_reduce_by_key.cuh +918 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_run_length_encode.cuh +647 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_scan.cuh +571 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_scan_by_key.cuh +986 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_segmented_scan.cuh +108 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_segmented_sort.cuh +373 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_select_if.cuh +1563 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_three_way_partition.cuh +415 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_topk.cuh +84 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_transform.cuh +476 -0
- cuda/cccl/headers/include/cub/device/dispatch/tuning/tuning_unique_by_key.cuh +858 -0
- cuda/cccl/headers/include/cub/grid/grid_even_share.cuh +203 -0
- cuda/cccl/headers/include/cub/grid/grid_mapping.cuh +82 -0
- cuda/cccl/headers/include/cub/grid/grid_queue.cuh +175 -0
- cuda/cccl/headers/include/cub/iterator/arg_index_input_iterator.cuh +230 -0
- cuda/cccl/headers/include/cub/iterator/cache_modified_input_iterator.cuh +235 -0
- cuda/cccl/headers/include/cub/iterator/cache_modified_output_iterator.cuh +226 -0
- cuda/cccl/headers/include/cub/iterator/tex_obj_input_iterator.cuh +293 -0
- cuda/cccl/headers/include/cub/thread/thread_load.cuh +353 -0
- cuda/cccl/headers/include/cub/thread/thread_operators.cuh +664 -0
- cuda/cccl/headers/include/cub/thread/thread_reduce.cuh +525 -0
- cuda/cccl/headers/include/cub/thread/thread_scan.cuh +472 -0
- cuda/cccl/headers/include/cub/thread/thread_search.cuh +214 -0
- cuda/cccl/headers/include/cub/thread/thread_simd.cuh +456 -0
- cuda/cccl/headers/include/cub/thread/thread_sort.cuh +78 -0
- cuda/cccl/headers/include/cub/thread/thread_store.cuh +341 -0
- cuda/cccl/headers/include/cub/util_allocator.cuh +897 -0
- cuda/cccl/headers/include/cub/util_arch.cuh +176 -0
- cuda/cccl/headers/include/cub/util_cpp_dialect.cuh +71 -0
- cuda/cccl/headers/include/cub/util_debug.cuh +183 -0
- cuda/cccl/headers/include/cub/util_device.cuh +838 -0
- cuda/cccl/headers/include/cub/util_macro.cuh +73 -0
- cuda/cccl/headers/include/cub/util_math.cuh +92 -0
- cuda/cccl/headers/include/cub/util_namespace.cuh +152 -0
- cuda/cccl/headers/include/cub/util_policy_wrapper_t.cuh +31 -0
- cuda/cccl/headers/include/cub/util_ptx.cuh +483 -0
- cuda/cccl/headers/include/cub/util_temporary_storage.cuh +93 -0
- cuda/cccl/headers/include/cub/util_type.cuh +1084 -0
- cuda/cccl/headers/include/cub/util_vsmem.cuh +227 -0
- cuda/cccl/headers/include/cub/version.cuh +65 -0
- cuda/cccl/headers/include/cub/warp/specializations/warp_exchange_shfl.cuh +304 -0
- cuda/cccl/headers/include/cub/warp/specializations/warp_exchange_smem.cuh +152 -0
- cuda/cccl/headers/include/cub/warp/specializations/warp_reduce_shfl.cuh +567 -0
- cuda/cccl/headers/include/cub/warp/specializations/warp_reduce_smem.cuh +378 -0
- cuda/cccl/headers/include/cub/warp/specializations/warp_scan_shfl.cuh +922 -0
- cuda/cccl/headers/include/cub/warp/specializations/warp_scan_smem.cuh +691 -0
- cuda/cccl/headers/include/cub/warp/warp_exchange.cuh +381 -0
- cuda/cccl/headers/include/cub/warp/warp_load.cuh +591 -0
- cuda/cccl/headers/include/cub/warp/warp_merge_sort.cuh +145 -0
- cuda/cccl/headers/include/cub/warp/warp_reduce.cuh +810 -0
- cuda/cccl/headers/include/cub/warp/warp_scan.cuh +1863 -0
- cuda/cccl/headers/include/cub/warp/warp_store.cuh +498 -0
- cuda/cccl/headers/include/cub/warp/warp_utils.cuh +59 -0
- cuda/cccl/headers/include/cuda/__algorithm/common.h +68 -0
- cuda/cccl/headers/include/cuda/__algorithm/copy.h +199 -0
- cuda/cccl/headers/include/cuda/__algorithm/fill.h +110 -0
- cuda/cccl/headers/include/cuda/__annotated_ptr/access_property.h +165 -0
- cuda/cccl/headers/include/cuda/__annotated_ptr/access_property_encoding.h +171 -0
- cuda/cccl/headers/include/cuda/__annotated_ptr/annotated_ptr.h +216 -0
- cuda/cccl/headers/include/cuda/__annotated_ptr/annotated_ptr_base.h +100 -0
- cuda/cccl/headers/include/cuda/__annotated_ptr/apply_access_property.h +83 -0
- cuda/cccl/headers/include/cuda/__annotated_ptr/associate_access_property.h +128 -0
- cuda/cccl/headers/include/cuda/__annotated_ptr/createpolicy.h +210 -0
- cuda/cccl/headers/include/cuda/__atomic/atomic.h +145 -0
- cuda/cccl/headers/include/cuda/__barrier/async_contract_fulfillment.h +39 -0
- cuda/cccl/headers/include/cuda/__barrier/barrier.h +65 -0
- cuda/cccl/headers/include/cuda/__barrier/barrier_arrive_tx.h +101 -0
- cuda/cccl/headers/include/cuda/__barrier/barrier_block_scope.h +528 -0
- cuda/cccl/headers/include/cuda/__barrier/barrier_expect_tx.h +73 -0
- cuda/cccl/headers/include/cuda/__barrier/barrier_thread_scope.h +60 -0
- cuda/cccl/headers/include/cuda/__bit/bit_reverse.h +198 -0
- cuda/cccl/headers/include/cuda/__bit/bitfield.h +121 -0
- cuda/cccl/headers/include/cuda/__bit/bitmask.h +89 -0
- cuda/cccl/headers/include/cuda/__cccl_config +38 -0
- cuda/cccl/headers/include/cuda/__cmath/ceil_div.h +123 -0
- cuda/cccl/headers/include/cuda/__cmath/fast_modulo_division.h +178 -0
- cuda/cccl/headers/include/cuda/__cmath/ilog.h +194 -0
- cuda/cccl/headers/include/cuda/__cmath/ipow.h +111 -0
- cuda/cccl/headers/include/cuda/__cmath/isqrt.h +80 -0
- cuda/cccl/headers/include/cuda/__cmath/mul_hi.h +145 -0
- cuda/cccl/headers/include/cuda/__cmath/neg.h +47 -0
- cuda/cccl/headers/include/cuda/__cmath/pow2.h +74 -0
- cuda/cccl/headers/include/cuda/__cmath/round_down.h +102 -0
- cuda/cccl/headers/include/cuda/__cmath/round_up.h +104 -0
- cuda/cccl/headers/include/cuda/__cmath/sincos.h +134 -0
- cuda/cccl/headers/include/cuda/__cmath/uabs.h +57 -0
- cuda/cccl/headers/include/cuda/__complex/complex.h +238 -0
- cuda/cccl/headers/include/cuda/__complex/get_real_imag.h +89 -0
- cuda/cccl/headers/include/cuda/__complex/traits.h +64 -0
- cuda/cccl/headers/include/cuda/__complex_ +28 -0
- cuda/cccl/headers/include/cuda/__container/buffer.h +891 -0
- cuda/cccl/headers/include/cuda/__container/heterogeneous_iterator.h +436 -0
- cuda/cccl/headers/include/cuda/__container/uninitialized_async_buffer.h +416 -0
- cuda/cccl/headers/include/cuda/__device/all_devices.h +140 -0
- cuda/cccl/headers/include/cuda/__device/arch_id.h +194 -0
- cuda/cccl/headers/include/cuda/__device/arch_traits.h +553 -0
- cuda/cccl/headers/include/cuda/__device/attributes.h +772 -0
- cuda/cccl/headers/include/cuda/__device/compute_capability.h +172 -0
- cuda/cccl/headers/include/cuda/__device/device_ref.h +168 -0
- cuda/cccl/headers/include/cuda/__device/physical_device.h +178 -0
- cuda/cccl/headers/include/cuda/__driver/driver_api.h +1041 -0
- cuda/cccl/headers/include/cuda/__event/event.h +171 -0
- cuda/cccl/headers/include/cuda/__event/event_ref.h +157 -0
- cuda/cccl/headers/include/cuda/__event/timed_event.h +120 -0
- cuda/cccl/headers/include/cuda/__execution/determinism.h +89 -0
- cuda/cccl/headers/include/cuda/__execution/output_ordering.h +87 -0
- cuda/cccl/headers/include/cuda/__execution/policy.h +53 -0
- cuda/cccl/headers/include/cuda/__execution/require.h +75 -0
- cuda/cccl/headers/include/cuda/__execution/tune.h +70 -0
- cuda/cccl/headers/include/cuda/__functional/address_stability.h +131 -0
- cuda/cccl/headers/include/cuda/__functional/for_each_canceled.h +321 -0
- cuda/cccl/headers/include/cuda/__functional/maximum.h +77 -0
- cuda/cccl/headers/include/cuda/__functional/minimum.h +77 -0
- cuda/cccl/headers/include/cuda/__functional/minimum_maximum_common.h +52 -0
- cuda/cccl/headers/include/cuda/__functional/proclaim_return_type.h +106 -0
- cuda/cccl/headers/include/cuda/__fwd/barrier.h +38 -0
- cuda/cccl/headers/include/cuda/__fwd/complex.h +48 -0
- cuda/cccl/headers/include/cuda/__fwd/devices.h +44 -0
- cuda/cccl/headers/include/cuda/__fwd/execution_policy.h +47 -0
- cuda/cccl/headers/include/cuda/__fwd/get_stream.h +38 -0
- cuda/cccl/headers/include/cuda/__fwd/pipeline.h +37 -0
- cuda/cccl/headers/include/cuda/__fwd/zip_iterator.h +58 -0
- cuda/cccl/headers/include/cuda/__hierarchy/dimensions.h +162 -0
- cuda/cccl/headers/include/cuda/__hierarchy/hierarchy_dimensions.h +986 -0
- cuda/cccl/headers/include/cuda/__hierarchy/hierarchy_levels.h +494 -0
- cuda/cccl/headers/include/cuda/__hierarchy/level_dimensions.h +225 -0
- cuda/cccl/headers/include/cuda/__iterator/constant_iterator.h +315 -0
- cuda/cccl/headers/include/cuda/__iterator/counting_iterator.h +490 -0
- cuda/cccl/headers/include/cuda/__iterator/discard_iterator.h +324 -0
- cuda/cccl/headers/include/cuda/__iterator/permutation_iterator.h +456 -0
- cuda/cccl/headers/include/cuda/__iterator/shuffle_iterator.h +334 -0
- cuda/cccl/headers/include/cuda/__iterator/strided_iterator.h +418 -0
- cuda/cccl/headers/include/cuda/__iterator/tabulate_output_iterator.h +367 -0
- cuda/cccl/headers/include/cuda/__iterator/transform_input_output_iterator.h +528 -0
- cuda/cccl/headers/include/cuda/__iterator/transform_iterator.h +527 -0
- cuda/cccl/headers/include/cuda/__iterator/transform_output_iterator.h +486 -0
- cuda/cccl/headers/include/cuda/__iterator/zip_common.h +147 -0
- cuda/cccl/headers/include/cuda/__iterator/zip_function.h +114 -0
- cuda/cccl/headers/include/cuda/__iterator/zip_iterator.h +555 -0
- cuda/cccl/headers/include/cuda/__iterator/zip_transform_iterator.h +589 -0
- cuda/cccl/headers/include/cuda/__latch/latch.h +44 -0
- cuda/cccl/headers/include/cuda/__launch/configuration.h +754 -0
- cuda/cccl/headers/include/cuda/__launch/host_launch.h +115 -0
- cuda/cccl/headers/include/cuda/__launch/launch.h +334 -0
- cuda/cccl/headers/include/cuda/__mdspan/host_device_accessor.h +531 -0
- cuda/cccl/headers/include/cuda/__mdspan/host_device_mdspan.h +239 -0
- cuda/cccl/headers/include/cuda/__mdspan/restrict_accessor.h +152 -0
- cuda/cccl/headers/include/cuda/__mdspan/restrict_mdspan.h +118 -0
- cuda/cccl/headers/include/cuda/__mdspan/shared_memory_accessor.h +208 -0
- cuda/cccl/headers/include/cuda/__mdspan/shared_memory_mdspan.h +129 -0
- cuda/cccl/headers/include/cuda/__memcpy_async/check_preconditions.h +79 -0
- cuda/cccl/headers/include/cuda/__memcpy_async/completion_mechanism.h +47 -0
- cuda/cccl/headers/include/cuda/__memcpy_async/cp_async_bulk_shared_global.h +77 -0
- cuda/cccl/headers/include/cuda/__memcpy_async/cp_async_fallback.h +72 -0
- cuda/cccl/headers/include/cuda/__memcpy_async/cp_async_shared_global.h +148 -0
- cuda/cccl/headers/include/cuda/__memcpy_async/dispatch_memcpy_async.h +165 -0
- cuda/cccl/headers/include/cuda/__memcpy_async/elect_one.h +52 -0
- cuda/cccl/headers/include/cuda/__memcpy_async/is_local_smem_barrier.h +53 -0
- cuda/cccl/headers/include/cuda/__memcpy_async/memcpy_async.h +179 -0
- cuda/cccl/headers/include/cuda/__memcpy_async/memcpy_async_barrier.h +99 -0
- cuda/cccl/headers/include/cuda/__memcpy_async/memcpy_async_tx.h +102 -0
- cuda/cccl/headers/include/cuda/__memcpy_async/memcpy_completion.h +164 -0
- cuda/cccl/headers/include/cuda/__memcpy_async/try_get_barrier_handle.h +57 -0
- cuda/cccl/headers/include/cuda/__memory/address_space.h +256 -0
- cuda/cccl/headers/include/cuda/__memory/align_down.h +77 -0
- cuda/cccl/headers/include/cuda/__memory/align_up.h +77 -0
- cuda/cccl/headers/include/cuda/__memory/aligned_size.h +61 -0
- cuda/cccl/headers/include/cuda/__memory/check_address.h +111 -0
- cuda/cccl/headers/include/cuda/__memory/discard_memory.h +64 -0
- cuda/cccl/headers/include/cuda/__memory/get_device_address.h +58 -0
- cuda/cccl/headers/include/cuda/__memory/is_aligned.h +60 -0
- cuda/cccl/headers/include/cuda/__memory/is_pointer_accessible.h +278 -0
- cuda/cccl/headers/include/cuda/__memory/ptr_in_range.h +92 -0
- cuda/cccl/headers/include/cuda/__memory/ptr_rebind.h +75 -0
- cuda/cccl/headers/include/cuda/__memory/ranges_overlap.h +125 -0
- cuda/cccl/headers/include/cuda/__memory_pool/device_memory_pool.h +166 -0
- cuda/cccl/headers/include/cuda/__memory_pool/managed_memory_pool.h +161 -0
- cuda/cccl/headers/include/cuda/__memory_pool/memory_pool_base.h +644 -0
- cuda/cccl/headers/include/cuda/__memory_pool/pinned_memory_pool.h +218 -0
- cuda/cccl/headers/include/cuda/__memory_resource/any_resource.h +882 -0
- cuda/cccl/headers/include/cuda/__memory_resource/get_memory_resource.h +82 -0
- cuda/cccl/headers/include/cuda/__memory_resource/get_property.h +153 -0
- cuda/cccl/headers/include/cuda/__memory_resource/legacy_managed_memory_resource.h +148 -0
- cuda/cccl/headers/include/cuda/__memory_resource/legacy_pinned_memory_resource.h +141 -0
- cuda/cccl/headers/include/cuda/__memory_resource/properties.h +130 -0
- cuda/cccl/headers/include/cuda/__memory_resource/resource.h +135 -0
- cuda/cccl/headers/include/cuda/__memory_resource/shared_resource.h +261 -0
- cuda/cccl/headers/include/cuda/__memory_resource/synchronous_resource_adapter.h +136 -0
- cuda/cccl/headers/include/cuda/__numeric/add_overflow.h +331 -0
- cuda/cccl/headers/include/cuda/__numeric/div_overflow.h +150 -0
- cuda/cccl/headers/include/cuda/__numeric/narrow.h +108 -0
- cuda/cccl/headers/include/cuda/__numeric/overflow_cast.h +59 -0
- cuda/cccl/headers/include/cuda/__numeric/overflow_result.h +43 -0
- cuda/cccl/headers/include/cuda/__numeric/sub_overflow.h +359 -0
- cuda/cccl/headers/include/cuda/__nvtx/nvtx.h +120 -0
- cuda/cccl/headers/include/cuda/__nvtx/nvtx3.h +2977 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/barrier_cluster.h +43 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/bfind.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/bmsk.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/clusterlaunchcontrol.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/cp_async_bulk.h +44 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/cp_async_bulk_commit_group.h +43 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/cp_async_bulk_tensor.h +45 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/cp_async_bulk_wait_group.h +43 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/cp_async_mbarrier_arrive.h +42 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/cp_reduce_async_bulk.h +60 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/cp_reduce_async_bulk_tensor.h +43 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/elect_sync.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/exit.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/fence.h +49 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/barrier_cluster.h +115 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/bfind.h +190 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/bmsk.h +54 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/clusterlaunchcontrol.h +240 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/cp_async_bulk.h +245 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/cp_async_bulk_commit_group.h +25 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/cp_async_bulk_multicast.h +52 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/cp_async_bulk_tensor.h +977 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/cp_async_bulk_tensor_gather_scatter.h +302 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/cp_async_bulk_tensor_multicast.h +631 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/cp_async_bulk_wait_group.h +46 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/cp_async_mbarrier_arrive.h +26 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/cp_async_mbarrier_arrive_noinc.h +26 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/cp_reduce_async_bulk.h +1470 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/cp_reduce_async_bulk_bf16.h +132 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/cp_reduce_async_bulk_f16.h +132 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/cp_reduce_async_bulk_tensor.h +601 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/elect_sync.h +36 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/exit.h +25 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/fence.h +208 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/fence_mbarrier_init.h +31 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/fence_proxy_alias.h +25 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/fence_proxy_async.h +58 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/fence_proxy_async_generic_sync_restrict.h +64 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/fence_proxy_tensormap_generic.h +102 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/fence_sync_restrict.h +64 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/get_sreg.h +949 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/getctarank.h +32 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/ld.h +5542 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/mbarrier_arrive.h +399 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/mbarrier_arrive_expect_tx.h +184 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/mbarrier_arrive_no_complete.h +34 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/mbarrier_expect_tx.h +102 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/mbarrier_init.h +27 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/mbarrier_inval.h +26 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/mbarrier_test_wait.h +143 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/mbarrier_test_wait_parity.h +144 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/mbarrier_try_wait.h +286 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/mbarrier_try_wait_parity.h +290 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/multimem_ld_reduce.h +2202 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/multimem_red.h +1362 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/multimem_st.h +236 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/prmt.h +230 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/red_async.h +460 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/setmaxnreg.h +58 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/shl.h +96 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/shr.h +168 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/st.h +1490 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/st_async.h +123 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/st_bulk.h +31 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/tcgen05_alloc.h +120 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/tcgen05_commit.h +91 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/tcgen05_cp.h +693 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/tcgen05_fence.h +50 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/tcgen05_ld.h +11437 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/tcgen05_mma.h +6513 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/tcgen05_mma_ws.h +6726 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/tcgen05_shift.h +40 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/tcgen05_st.h +4767 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/tcgen05_wait.h +48 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/tensormap_cp_fenceproxy.h +71 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/tensormap_replace.h +886 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/generated/trap.h +25 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/get_sreg.h +43 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/getctarank.h +43 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/ld.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/mbarrier_arrive.h +45 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/mbarrier_expect_tx.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/mbarrier_init.h +43 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/mbarrier_inval.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/mbarrier_wait.h +46 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/multimem_ld_reduce.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/multimem_red.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/multimem_st.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/prmt.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/red_async.h +43 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/setmaxnreg.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/shfl_sync.h +244 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/shl.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/shr.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/st.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/st_async.h +43 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/st_bulk.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/tcgen05_alloc.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/tcgen05_commit.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/tcgen05_cp.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/tcgen05_fence.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/tcgen05_ld.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/tcgen05_mma.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/tcgen05_mma_ws.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/tcgen05_shift.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/tcgen05_st.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/tcgen05_wait.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/tensormap_cp_fenceproxy.h +43 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/tensormap_replace.h +43 -0
- cuda/cccl/headers/include/cuda/__ptx/instructions/trap.h +41 -0
- cuda/cccl/headers/include/cuda/__ptx/pragmas/enable_smem_spilling.h +47 -0
- cuda/cccl/headers/include/cuda/__ptx/ptx_dot_variants.h +230 -0
- cuda/cccl/headers/include/cuda/__ptx/ptx_helper_functions.h +178 -0
- cuda/cccl/headers/include/cuda/__random/feistel_bijection.h +105 -0
- cuda/cccl/headers/include/cuda/__random/pcg_engine.h +398 -0
- cuda/cccl/headers/include/cuda/__random/random_bijection.h +88 -0
- cuda/cccl/headers/include/cuda/__runtime/api_wrapper.h +62 -0
- cuda/cccl/headers/include/cuda/__runtime/ensure_current_context.h +99 -0
- cuda/cccl/headers/include/cuda/__runtime/types.h +41 -0
- cuda/cccl/headers/include/cuda/__semaphore/counting_semaphore.h +53 -0
- cuda/cccl/headers/include/cuda/__stream/get_stream.h +109 -0
- cuda/cccl/headers/include/cuda/__stream/internal_streams.h +49 -0
- cuda/cccl/headers/include/cuda/__stream/invalid_stream.h +47 -0
- cuda/cccl/headers/include/cuda/__stream/launch_transform.h +193 -0
- cuda/cccl/headers/include/cuda/__stream/stream.h +145 -0
- cuda/cccl/headers/include/cuda/__stream/stream_ref.h +356 -0
- cuda/cccl/headers/include/cuda/__tma/make_tma_descriptor.h +657 -0
- cuda/cccl/headers/include/cuda/__type_traits/is_floating_point.h +47 -0
- cuda/cccl/headers/include/cuda/__type_traits/is_instantiable_with.h +47 -0
- cuda/cccl/headers/include/cuda/__type_traits/is_specialization_of.h +37 -0
- cuda/cccl/headers/include/cuda/__type_traits/vector_type.h +355 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/access.h +88 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/any_cast.h +83 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/basic_any_base.h +148 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/basic_any_from.h +96 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/basic_any_fwd.h +128 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/basic_any_ptr.h +304 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/basic_any_ref.h +337 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/basic_any_value.h +611 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/conversions.h +170 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/dynamic_any_cast.h +147 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/interfaces.h +359 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/iset.h +142 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/overrides.h +64 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/rtti.h +256 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/semiregular.h +323 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/storage.h +79 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/tagged_ptr.h +58 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/virtcall.h +162 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/virtual_functions.h +183 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/virtual_ptrs.h +80 -0
- cuda/cccl/headers/include/cuda/__utility/__basic_any/virtual_tables.h +155 -0
- cuda/cccl/headers/include/cuda/__utility/basic_any.h +507 -0
- cuda/cccl/headers/include/cuda/__utility/immovable.h +50 -0
- cuda/cccl/headers/include/cuda/__utility/in_range.h +65 -0
- cuda/cccl/headers/include/cuda/__utility/inherit.h +36 -0
- cuda/cccl/headers/include/cuda/__utility/no_init.h +29 -0
- cuda/cccl/headers/include/cuda/__utility/static_for.h +79 -0
- cuda/cccl/headers/include/cuda/__warp/lane_mask.h +326 -0
- cuda/cccl/headers/include/cuda/__warp/warp_match_all.h +65 -0
- cuda/cccl/headers/include/cuda/__warp/warp_shuffle.h +251 -0
- cuda/cccl/headers/include/cuda/access_property +26 -0
- cuda/cccl/headers/include/cuda/algorithm +28 -0
- cuda/cccl/headers/include/cuda/annotated_ptr +29 -0
- cuda/cccl/headers/include/cuda/atomic +27 -0
- cuda/cccl/headers/include/cuda/barrier +293 -0
- cuda/cccl/headers/include/cuda/bit +29 -0
- cuda/cccl/headers/include/cuda/buffer +27 -0
- cuda/cccl/headers/include/cuda/cmath +38 -0
- cuda/cccl/headers/include/cuda/devices +33 -0
- cuda/cccl/headers/include/cuda/discard_memory +32 -0
- cuda/cccl/headers/include/cuda/functional +32 -0
- cuda/cccl/headers/include/cuda/hierarchy +28 -0
- cuda/cccl/headers/include/cuda/iterator +39 -0
- cuda/cccl/headers/include/cuda/latch +27 -0
- cuda/cccl/headers/include/cuda/launch +28 -0
- cuda/cccl/headers/include/cuda/mdspan +29 -0
- cuda/cccl/headers/include/cuda/memory +37 -0
- cuda/cccl/headers/include/cuda/memory_pool +27 -0
- cuda/cccl/headers/include/cuda/memory_resource +41 -0
- cuda/cccl/headers/include/cuda/numeric +31 -0
- cuda/cccl/headers/include/cuda/pipeline +580 -0
- cuda/cccl/headers/include/cuda/ptx +131 -0
- cuda/cccl/headers/include/cuda/semaphore +31 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/adjacent_find.h +59 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/all_of.h +45 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/any_of.h +45 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/binary_search.h +53 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/clamp.h +48 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/comp.h +58 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/comp_ref_type.h +85 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/copy.h +143 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/copy_backward.h +80 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/copy_if.h +47 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/copy_n.h +73 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/count.h +49 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/count_if.h +49 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/equal.h +128 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/equal_range.h +101 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/fill.h +58 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/fill_n.h +51 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/find.h +62 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/find_end.h +225 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/find_first_of.h +73 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/find_if.h +46 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/find_if_not.h +46 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/for_each.h +42 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/for_each_n.h +48 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/generate.h +41 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/generate_n.h +46 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/half_positive.h +49 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/in_fun_result.h +55 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/includes.h +90 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/inplace_merge.h +293 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/is_heap.h +50 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/is_heap_until.h +83 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/is_partitioned.h +57 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/is_permutation.h +252 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/is_sorted.h +49 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/is_sorted_until.h +68 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/iter_swap.h +82 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/iterator_operations.h +185 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/lexicographical_compare.h +68 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/lower_bound.h +82 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/make_heap.h +70 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/make_projected.h +88 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/max.h +62 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/max_element.h +67 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/merge.h +89 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/min.h +62 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/min_element.h +87 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/minmax.h +66 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/minmax_element.h +139 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/mismatch.h +83 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/move.h +91 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/move_backward.h +84 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/next_permutation.h +88 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/none_of.h +45 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/nth_element.h +309 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/partial_sort.h +102 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/partial_sort_copy.h +122 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/partition.h +120 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/partition_copy.h +59 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/partition_point.h +61 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/pop_heap.h +93 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/prev_permutation.h +88 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/push_heap.h +100 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/ranges_find_if.h +78 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/ranges_find_if_not.h +85 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/ranges_for_each.h +84 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/ranges_for_each_n.h +68 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/ranges_iterator_concept.h +65 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/ranges_min.h +97 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/ranges_min_element.h +68 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/remove.h +55 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/remove_copy.h +47 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/remove_copy_if.h +47 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/remove_if.h +56 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/replace.h +45 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/replace_copy.h +54 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/replace_copy_if.h +50 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/replace_if.h +45 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/reverse.h +81 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/reverse_copy.h +43 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/rotate.h +261 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/rotate_copy.h +40 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/sample.h +116 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/search.h +185 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/search_n.h +163 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/set_difference.h +95 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/set_intersection.h +122 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/set_symmetric_difference.h +134 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/set_union.h +128 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/shift_left.h +84 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/shift_right.h +144 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/shuffle.h +71 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/sift_down.h +139 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/sort.h +1097 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/sort_heap.h +70 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/stable_partition.h +359 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/stable_sort.h +321 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/swap_ranges.h +78 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/transform.h +59 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/unique.h +76 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/unique_copy.h +153 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/unwrap_iter.h +95 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/unwrap_range.h +126 -0
- cuda/cccl/headers/include/cuda/std/__algorithm/upper_bound.h +83 -0
- cuda/cccl/headers/include/cuda/std/__atomic/api/common.h +192 -0
- cuda/cccl/headers/include/cuda/std/__atomic/api/owned.h +136 -0
- cuda/cccl/headers/include/cuda/std/__atomic/api/reference.h +118 -0
- cuda/cccl/headers/include/cuda/std/__atomic/functions/common.h +58 -0
- cuda/cccl/headers/include/cuda/std/__atomic/functions/cuda_local.h +208 -0
- cuda/cccl/headers/include/cuda/std/__atomic/functions/cuda_ptx_derived.h +458 -0
- cuda/cccl/headers/include/cuda/std/__atomic/functions/cuda_ptx_generated.h +4436 -0
- cuda/cccl/headers/include/cuda/std/__atomic/functions/cuda_ptx_generated_helper.h +184 -0
- cuda/cccl/headers/include/cuda/std/__atomic/functions/host.h +242 -0
- cuda/cccl/headers/include/cuda/std/__atomic/functions.h +33 -0
- cuda/cccl/headers/include/cuda/std/__atomic/order.h +158 -0
- cuda/cccl/headers/include/cuda/std/__atomic/platform/msvc_to_builtins.h +654 -0
- cuda/cccl/headers/include/cuda/std/__atomic/platform.h +93 -0
- cuda/cccl/headers/include/cuda/std/__atomic/scopes.h +105 -0
- cuda/cccl/headers/include/cuda/std/__atomic/types/base.h +242 -0
- cuda/cccl/headers/include/cuda/std/__atomic/types/common.h +103 -0
- cuda/cccl/headers/include/cuda/std/__atomic/types/locked.h +225 -0
- cuda/cccl/headers/include/cuda/std/__atomic/types/reference.h +72 -0
- cuda/cccl/headers/include/cuda/std/__atomic/types/small.h +238 -0
- cuda/cccl/headers/include/cuda/std/__atomic/types.h +51 -0
- cuda/cccl/headers/include/cuda/std/__atomic/wait/notify_wait.h +95 -0
- cuda/cccl/headers/include/cuda/std/__atomic/wait/polling.h +65 -0
- cuda/cccl/headers/include/cuda/std/__barrier/barrier.h +227 -0
- cuda/cccl/headers/include/cuda/std/__barrier/empty_completion.h +37 -0
- cuda/cccl/headers/include/cuda/std/__barrier/poll_tester.h +82 -0
- cuda/cccl/headers/include/cuda/std/__bit/bit_cast.h +81 -0
- cuda/cccl/headers/include/cuda/std/__bit/blsr.h +51 -0
- cuda/cccl/headers/include/cuda/std/__bit/byteswap.h +209 -0
- cuda/cccl/headers/include/cuda/std/__bit/countl.h +191 -0
- cuda/cccl/headers/include/cuda/std/__bit/countr.h +202 -0
- cuda/cccl/headers/include/cuda/std/__bit/endian.h +39 -0
- cuda/cccl/headers/include/cuda/std/__bit/has_single_bit.h +43 -0
- cuda/cccl/headers/include/cuda/std/__bit/integral.h +125 -0
- cuda/cccl/headers/include/cuda/std/__bit/popcount.h +172 -0
- cuda/cccl/headers/include/cuda/std/__bit/reference.h +1272 -0
- cuda/cccl/headers/include/cuda/std/__bit/rotate.h +185 -0
- cuda/cccl/headers/include/cuda/std/__cccl/algorithm_wrapper.h +36 -0
- cuda/cccl/headers/include/cuda/std/__cccl/architecture.h +78 -0
- cuda/cccl/headers/include/cuda/std/__cccl/assert.h +161 -0
- cuda/cccl/headers/include/cuda/std/__cccl/attributes.h +206 -0
- cuda/cccl/headers/include/cuda/std/__cccl/builtin.h +494 -0
- cuda/cccl/headers/include/cuda/std/__cccl/compiler.h +213 -0
- cuda/cccl/headers/include/cuda/std/__cccl/cuda_capabilities.h +51 -0
- cuda/cccl/headers/include/cuda/std/__cccl/cuda_toolkit.h +56 -0
- cuda/cccl/headers/include/cuda/std/__cccl/deprecated.h +87 -0
- cuda/cccl/headers/include/cuda/std/__cccl/diagnostic.h +131 -0
- cuda/cccl/headers/include/cuda/std/__cccl/dialect.h +197 -0
- cuda/cccl/headers/include/cuda/std/__cccl/epilogue.h +355 -0
- cuda/cccl/headers/include/cuda/std/__cccl/exceptions.h +36 -0
- cuda/cccl/headers/include/cuda/std/__cccl/execution_space.h +74 -0
- cuda/cccl/headers/include/cuda/std/__cccl/extended_data_types.h +139 -0
- cuda/cccl/headers/include/cuda/std/__cccl/host_std_lib.h +59 -0
- cuda/cccl/headers/include/cuda/std/__cccl/is_non_narrowing_convertible.h +71 -0
- cuda/cccl/headers/include/cuda/std/__cccl/memory_wrapper.h +36 -0
- cuda/cccl/headers/include/cuda/std/__cccl/numeric_wrapper.h +36 -0
- cuda/cccl/headers/include/cuda/std/__cccl/os.h +54 -0
- cuda/cccl/headers/include/cuda/std/__cccl/preprocessor.h +1288 -0
- cuda/cccl/headers/include/cuda/std/__cccl/prologue.h +312 -0
- cuda/cccl/headers/include/cuda/std/__cccl/ptx_isa.h +363 -0
- cuda/cccl/headers/include/cuda/std/__cccl/rtti.h +72 -0
- cuda/cccl/headers/include/cuda/std/__cccl/sequence_access.h +87 -0
- cuda/cccl/headers/include/cuda/std/__cccl/system_header.h +38 -0
- cuda/cccl/headers/include/cuda/std/__cccl/unreachable.h +31 -0
- cuda/cccl/headers/include/cuda/std/__cccl/version.h +26 -0
- cuda/cccl/headers/include/cuda/std/__cccl/visibility.h +171 -0
- cuda/cccl/headers/include/cuda/std/__charconv/chars_format.h +81 -0
- cuda/cccl/headers/include/cuda/std/__charconv/from_chars.h +171 -0
- cuda/cccl/headers/include/cuda/std/__charconv/from_chars_result.h +56 -0
- cuda/cccl/headers/include/cuda/std/__charconv/to_chars.h +192 -0
- cuda/cccl/headers/include/cuda/std/__charconv/to_chars_result.h +56 -0
- cuda/cccl/headers/include/cuda/std/__chrono/calendar.h +52 -0
- cuda/cccl/headers/include/cuda/std/__chrono/day.h +160 -0
- cuda/cccl/headers/include/cuda/std/__chrono/duration.h +499 -0
- cuda/cccl/headers/include/cuda/std/__chrono/file_clock.h +53 -0
- cuda/cccl/headers/include/cuda/std/__chrono/high_resolution_clock.h +44 -0
- cuda/cccl/headers/include/cuda/std/__chrono/month.h +185 -0
- cuda/cccl/headers/include/cuda/std/__chrono/steady_clock.h +58 -0
- cuda/cccl/headers/include/cuda/std/__chrono/system_clock.h +78 -0
- cuda/cccl/headers/include/cuda/std/__chrono/time_point.h +255 -0
- cuda/cccl/headers/include/cuda/std/__chrono/year.h +184 -0
- cuda/cccl/headers/include/cuda/std/__cmath/abs.h +127 -0
- cuda/cccl/headers/include/cuda/std/__cmath/copysign.h +88 -0
- cuda/cccl/headers/include/cuda/std/__cmath/error_functions.h +204 -0
- cuda/cccl/headers/include/cuda/std/__cmath/exponential_functions.h +783 -0
- cuda/cccl/headers/include/cuda/std/__cmath/fdim.h +122 -0
- cuda/cccl/headers/include/cuda/std/__cmath/fma.h +129 -0
- cuda/cccl/headers/include/cuda/std/__cmath/fpclassify.h +230 -0
- cuda/cccl/headers/include/cuda/std/__cmath/gamma.h +204 -0
- cuda/cccl/headers/include/cuda/std/__cmath/hyperbolic_functions.h +285 -0
- cuda/cccl/headers/include/cuda/std/__cmath/hypot.h +220 -0
- cuda/cccl/headers/include/cuda/std/__cmath/inverse_hyperbolic_functions.h +285 -0
- cuda/cccl/headers/include/cuda/std/__cmath/inverse_trigonometric_functions.h +370 -0
- cuda/cccl/headers/include/cuda/std/__cmath/isfinite.h +166 -0
- cuda/cccl/headers/include/cuda/std/__cmath/isinf.h +203 -0
- cuda/cccl/headers/include/cuda/std/__cmath/isnan.h +184 -0
- cuda/cccl/headers/include/cuda/std/__cmath/isnormal.h +138 -0
- cuda/cccl/headers/include/cuda/std/__cmath/lerp.h +101 -0
- cuda/cccl/headers/include/cuda/std/__cmath/logarithms.h +533 -0
- cuda/cccl/headers/include/cuda/std/__cmath/min_max.h +287 -0
- cuda/cccl/headers/include/cuda/std/__cmath/modulo.h +208 -0
- cuda/cccl/headers/include/cuda/std/__cmath/nan.h +54 -0
- cuda/cccl/headers/include/cuda/std/__cmath/remainder.h +210 -0
- cuda/cccl/headers/include/cuda/std/__cmath/roots.h +198 -0
- cuda/cccl/headers/include/cuda/std/__cmath/rounding_functions.h +983 -0
- cuda/cccl/headers/include/cuda/std/__cmath/signbit.h +56 -0
- cuda/cccl/headers/include/cuda/std/__cmath/traits.h +242 -0
- cuda/cccl/headers/include/cuda/std/__cmath/trigonometric_functions.h +327 -0
- cuda/cccl/headers/include/cuda/std/__complex/arg.h +84 -0
- cuda/cccl/headers/include/cuda/std/__complex/complex.h +669 -0
- cuda/cccl/headers/include/cuda/std/__complex/exponential_functions.h +403 -0
- cuda/cccl/headers/include/cuda/std/__complex/hyperbolic_functions.h +119 -0
- cuda/cccl/headers/include/cuda/std/__complex/inverse_hyperbolic_functions.h +522 -0
- cuda/cccl/headers/include/cuda/std/__complex/inverse_trigonometric_functions.h +131 -0
- cuda/cccl/headers/include/cuda/std/__complex/literals.h +86 -0
- cuda/cccl/headers/include/cuda/std/__complex/logarithms.h +302 -0
- cuda/cccl/headers/include/cuda/std/__complex/math.h +161 -0
- cuda/cccl/headers/include/cuda/std/__complex/nvbf16.h +323 -0
- cuda/cccl/headers/include/cuda/std/__complex/nvfp16.h +322 -0
- cuda/cccl/headers/include/cuda/std/__complex/roots.h +214 -0
- cuda/cccl/headers/include/cuda/std/__complex/trigonometric_functions.h +61 -0
- cuda/cccl/headers/include/cuda/std/__complex/tuple.h +107 -0
- cuda/cccl/headers/include/cuda/std/__complex/vector_support.h +130 -0
- cuda/cccl/headers/include/cuda/std/__concepts/arithmetic.h +56 -0
- cuda/cccl/headers/include/cuda/std/__concepts/assignable.h +64 -0
- cuda/cccl/headers/include/cuda/std/__concepts/boolean_testable.h +63 -0
- cuda/cccl/headers/include/cuda/std/__concepts/class_or_enum.h +45 -0
- cuda/cccl/headers/include/cuda/std/__concepts/common_reference_with.h +69 -0
- cuda/cccl/headers/include/cuda/std/__concepts/common_with.h +82 -0
- cuda/cccl/headers/include/cuda/std/__concepts/concept_macros.h +385 -0
- cuda/cccl/headers/include/cuda/std/__concepts/constructible.h +174 -0
- cuda/cccl/headers/include/cuda/std/__concepts/convertible_to.h +70 -0
- cuda/cccl/headers/include/cuda/std/__concepts/copyable.h +60 -0
- cuda/cccl/headers/include/cuda/std/__concepts/derived_from.h +56 -0
- cuda/cccl/headers/include/cuda/std/__concepts/destructible.h +76 -0
- cuda/cccl/headers/include/cuda/std/__concepts/different_from.h +38 -0
- cuda/cccl/headers/include/cuda/std/__concepts/equality_comparable.h +98 -0
- cuda/cccl/headers/include/cuda/std/__concepts/invocable.h +80 -0
- cuda/cccl/headers/include/cuda/std/__concepts/movable.h +58 -0
- cuda/cccl/headers/include/cuda/std/__concepts/predicate.h +54 -0
- cuda/cccl/headers/include/cuda/std/__concepts/regular.h +54 -0
- cuda/cccl/headers/include/cuda/std/__concepts/relation.h +77 -0
- cuda/cccl/headers/include/cuda/std/__concepts/same_as.h +39 -0
- cuda/cccl/headers/include/cuda/std/__concepts/semiregular.h +54 -0
- cuda/cccl/headers/include/cuda/std/__concepts/swappable.h +206 -0
- cuda/cccl/headers/include/cuda/std/__concepts/totally_ordered.h +101 -0
- cuda/cccl/headers/include/cuda/std/__cstddef/byte.h +113 -0
- cuda/cccl/headers/include/cuda/std/__cstddef/types.h +52 -0
- cuda/cccl/headers/include/cuda/std/__cstdlib/abs.h +57 -0
- cuda/cccl/headers/include/cuda/std/__cstdlib/aligned_alloc.h +66 -0
- cuda/cccl/headers/include/cuda/std/__cstdlib/div.h +96 -0
- cuda/cccl/headers/include/cuda/std/__cstdlib/malloc.h +70 -0
- cuda/cccl/headers/include/cuda/std/__cstring/memcpy.h +61 -0
- cuda/cccl/headers/include/cuda/std/__cstring/memset.h +46 -0
- cuda/cccl/headers/include/cuda/std/__exception/cuda_error.h +110 -0
- cuda/cccl/headers/include/cuda/std/__exception/exception_macros.h +108 -0
- cuda/cccl/headers/include/cuda/std/__exception/format_error.h +62 -0
- cuda/cccl/headers/include/cuda/std/__exception/msg_storage.h +41 -0
- cuda/cccl/headers/include/cuda/std/__exception/terminate.h +74 -0
- cuda/cccl/headers/include/cuda/std/__exception/throw_error.h +120 -0
- cuda/cccl/headers/include/cuda/std/__execution/env.h +455 -0
- cuda/cccl/headers/include/cuda/std/__execution/policy.h +90 -0
- cuda/cccl/headers/include/cuda/std/__expected/bad_expected_access.h +127 -0
- cuda/cccl/headers/include/cuda/std/__expected/expected.h +1941 -0
- cuda/cccl/headers/include/cuda/std/__expected/expected_base.h +1051 -0
- cuda/cccl/headers/include/cuda/std/__expected/unexpect.h +37 -0
- cuda/cccl/headers/include/cuda/std/__expected/unexpected.h +164 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/arithmetic.h +56 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/cast.h +812 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/cccl_fp.h +125 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/common_type.h +48 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/constants.h +375 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/conversion_rank_order.h +124 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/cuda_fp_types.h +116 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/decompose.h +126 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/format.h +162 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/fp.h +40 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/mask.h +78 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/native_type.h +81 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/overflow_handler.h +139 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/properties.h +229 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/storage.h +248 -0
- cuda/cccl/headers/include/cuda/std/__floating_point/traits.h +172 -0
- cuda/cccl/headers/include/cuda/std/__format/buffer.h +48 -0
- cuda/cccl/headers/include/cuda/std/__format/concepts.h +69 -0
- cuda/cccl/headers/include/cuda/std/__format/format_arg.h +282 -0
- cuda/cccl/headers/include/cuda/std/__format/format_arg_store.h +279 -0
- cuda/cccl/headers/include/cuda/std/__format/format_args.h +122 -0
- cuda/cccl/headers/include/cuda/std/__format/format_context.h +93 -0
- cuda/cccl/headers/include/cuda/std/__format/format_error.h +76 -0
- cuda/cccl/headers/include/cuda/std/__format/format_integral.h +237 -0
- cuda/cccl/headers/include/cuda/std/__format/format_parse_context.h +124 -0
- cuda/cccl/headers/include/cuda/std/__format/format_spec_parser.h +1265 -0
- cuda/cccl/headers/include/cuda/std/__format/formatter.h +59 -0
- cuda/cccl/headers/include/cuda/std/__format/formatters/bool.h +101 -0
- cuda/cccl/headers/include/cuda/std/__format/formatters/char.h +124 -0
- cuda/cccl/headers/include/cuda/std/__format/formatters/fp.h +101 -0
- cuda/cccl/headers/include/cuda/std/__format/formatters/int.h +174 -0
- cuda/cccl/headers/include/cuda/std/__format/formatters/ptr.h +104 -0
- cuda/cccl/headers/include/cuda/std/__format/formatters/str.h +178 -0
- cuda/cccl/headers/include/cuda/std/__format/output_utils.h +272 -0
- cuda/cccl/headers/include/cuda/std/__format/parse_arg_id.h +138 -0
- cuda/cccl/headers/include/cuda/std/__format_ +45 -0
- cuda/cccl/headers/include/cuda/std/__functional/binary_function.h +63 -0
- cuda/cccl/headers/include/cuda/std/__functional/binary_negate.h +65 -0
- cuda/cccl/headers/include/cuda/std/__functional/bind.h +334 -0
- cuda/cccl/headers/include/cuda/std/__functional/bind_back.h +81 -0
- cuda/cccl/headers/include/cuda/std/__functional/bind_front.h +74 -0
- cuda/cccl/headers/include/cuda/std/__functional/binder1st.h +74 -0
- cuda/cccl/headers/include/cuda/std/__functional/binder2nd.h +74 -0
- cuda/cccl/headers/include/cuda/std/__functional/compose.h +69 -0
- cuda/cccl/headers/include/cuda/std/__functional/default_searcher.h +76 -0
- cuda/cccl/headers/include/cuda/std/__functional/function.h +1271 -0
- cuda/cccl/headers/include/cuda/std/__functional/hash.h +649 -0
- cuda/cccl/headers/include/cuda/std/__functional/identity.h +57 -0
- cuda/cccl/headers/include/cuda/std/__functional/invoke.h +298 -0
- cuda/cccl/headers/include/cuda/std/__functional/is_transparent.h +41 -0
- cuda/cccl/headers/include/cuda/std/__functional/mem_fn.h +66 -0
- cuda/cccl/headers/include/cuda/std/__functional/mem_fun_ref.h +211 -0
- cuda/cccl/headers/include/cuda/std/__functional/not_fn.h +120 -0
- cuda/cccl/headers/include/cuda/std/__functional/operations.h +535 -0
- cuda/cccl/headers/include/cuda/std/__functional/perfect_forward.h +128 -0
- cuda/cccl/headers/include/cuda/std/__functional/pointer_to_binary_function.h +64 -0
- cuda/cccl/headers/include/cuda/std/__functional/pointer_to_unary_function.h +63 -0
- cuda/cccl/headers/include/cuda/std/__functional/ranges_operations.h +113 -0
- cuda/cccl/headers/include/cuda/std/__functional/reference_wrapper.h +114 -0
- cuda/cccl/headers/include/cuda/std/__functional/unary_function.h +62 -0
- cuda/cccl/headers/include/cuda/std/__functional/unary_negate.h +65 -0
- cuda/cccl/headers/include/cuda/std/__functional/unwrap_ref.h +56 -0
- cuda/cccl/headers/include/cuda/std/__functional/weak_result_type.h +262 -0
- cuda/cccl/headers/include/cuda/std/__fwd/allocator.h +53 -0
- cuda/cccl/headers/include/cuda/std/__fwd/array.h +42 -0
- cuda/cccl/headers/include/cuda/std/__fwd/char_traits.h +74 -0
- cuda/cccl/headers/include/cuda/std/__fwd/complex.h +75 -0
- cuda/cccl/headers/include/cuda/std/__fwd/execution_policy.h +73 -0
- cuda/cccl/headers/include/cuda/std/__fwd/expected.h +46 -0
- cuda/cccl/headers/include/cuda/std/__fwd/format.h +84 -0
- cuda/cccl/headers/include/cuda/std/__fwd/fp.h +37 -0
- cuda/cccl/headers/include/cuda/std/__fwd/get.h +122 -0
- cuda/cccl/headers/include/cuda/std/__fwd/hash.h +34 -0
- cuda/cccl/headers/include/cuda/std/__fwd/ios.h +123 -0
- cuda/cccl/headers/include/cuda/std/__fwd/iterator.h +43 -0
- cuda/cccl/headers/include/cuda/std/__fwd/mdspan.h +122 -0
- cuda/cccl/headers/include/cuda/std/__fwd/memory_resource.h +37 -0
- cuda/cccl/headers/include/cuda/std/__fwd/optional.h +39 -0
- cuda/cccl/headers/include/cuda/std/__fwd/pair.h +47 -0
- cuda/cccl/headers/include/cuda/std/__fwd/reference_wrapper.h +39 -0
- cuda/cccl/headers/include/cuda/std/__fwd/span.h +45 -0
- cuda/cccl/headers/include/cuda/std/__fwd/string.h +112 -0
- cuda/cccl/headers/include/cuda/std/__fwd/string_view.h +91 -0
- cuda/cccl/headers/include/cuda/std/__fwd/subrange.h +55 -0
- cuda/cccl/headers/include/cuda/std/__fwd/tuple.h +37 -0
- cuda/cccl/headers/include/cuda/std/__fwd/unexpected.h +40 -0
- cuda/cccl/headers/include/cuda/std/__fwd/variant.h +51 -0
- cuda/cccl/headers/include/cuda/std/__internal/atomic.h +55 -0
- cuda/cccl/headers/include/cuda/std/__internal/cpp_dialect.h +44 -0
- cuda/cccl/headers/include/cuda/std/__internal/features.h +104 -0
- cuda/cccl/headers/include/cuda/std/__internal/namespaces.h +132 -0
- cuda/cccl/headers/include/cuda/std/__internal/pstl_config.h +32 -0
- cuda/cccl/headers/include/cuda/std/__internal/thread_api.h +58 -0
- cuda/cccl/headers/include/cuda/std/__internal/version.h +52 -0
- cuda/cccl/headers/include/cuda/std/__iterator/access.h +128 -0
- cuda/cccl/headers/include/cuda/std/__iterator/advance.h +227 -0
- cuda/cccl/headers/include/cuda/std/__iterator/back_insert_iterator.h +164 -0
- cuda/cccl/headers/include/cuda/std/__iterator/bounded_iter.h +253 -0
- cuda/cccl/headers/include/cuda/std/__iterator/concepts.h +645 -0
- cuda/cccl/headers/include/cuda/std/__iterator/counted_iterator.h +465 -0
- cuda/cccl/headers/include/cuda/std/__iterator/data.h +61 -0
- cuda/cccl/headers/include/cuda/std/__iterator/default_sentinel.h +36 -0
- cuda/cccl/headers/include/cuda/std/__iterator/distance.h +124 -0
- cuda/cccl/headers/include/cuda/std/__iterator/empty.h +53 -0
- cuda/cccl/headers/include/cuda/std/__iterator/erase_if_container.h +53 -0
- cuda/cccl/headers/include/cuda/std/__iterator/front_insert_iterator.h +100 -0
- cuda/cccl/headers/include/cuda/std/__iterator/incrementable_traits.h +143 -0
- cuda/cccl/headers/include/cuda/std/__iterator/indirectly_comparable.h +55 -0
- cuda/cccl/headers/include/cuda/std/__iterator/insert_iterator.h +107 -0
- cuda/cccl/headers/include/cuda/std/__iterator/istream_iterator.h +146 -0
- cuda/cccl/headers/include/cuda/std/__iterator/istreambuf_iterator.h +161 -0
- cuda/cccl/headers/include/cuda/std/__iterator/iter_move.h +161 -0
- cuda/cccl/headers/include/cuda/std/__iterator/iter_swap.h +181 -0
- cuda/cccl/headers/include/cuda/std/__iterator/iterator.h +44 -0
- cuda/cccl/headers/include/cuda/std/__iterator/iterator_traits.h +847 -0
- cuda/cccl/headers/include/cuda/std/__iterator/mergeable.h +72 -0
- cuda/cccl/headers/include/cuda/std/__iterator/move_iterator.h +432 -0
- cuda/cccl/headers/include/cuda/std/__iterator/move_sentinel.h +73 -0
- cuda/cccl/headers/include/cuda/std/__iterator/next.h +101 -0
- cuda/cccl/headers/include/cuda/std/__iterator/ostream_iterator.h +95 -0
- cuda/cccl/headers/include/cuda/std/__iterator/ostreambuf_iterator.h +100 -0
- cuda/cccl/headers/include/cuda/std/__iterator/permutable.h +54 -0
- cuda/cccl/headers/include/cuda/std/__iterator/prev.h +90 -0
- cuda/cccl/headers/include/cuda/std/__iterator/projected.h +61 -0
- cuda/cccl/headers/include/cuda/std/__iterator/readable_traits.h +156 -0
- cuda/cccl/headers/include/cuda/std/__iterator/reverse_access.h +142 -0
- cuda/cccl/headers/include/cuda/std/__iterator/reverse_iterator.h +366 -0
- cuda/cccl/headers/include/cuda/std/__iterator/size.h +69 -0
- cuda/cccl/headers/include/cuda/std/__iterator/sortable.h +55 -0
- cuda/cccl/headers/include/cuda/std/__iterator/unreachable_sentinel.h +84 -0
- cuda/cccl/headers/include/cuda/std/__iterator/wrap_iter.h +245 -0
- cuda/cccl/headers/include/cuda/std/__latch/latch.h +88 -0
- cuda/cccl/headers/include/cuda/std/__limits/numeric_limits.h +603 -0
- cuda/cccl/headers/include/cuda/std/__limits/numeric_limits_ext.h +753 -0
- cuda/cccl/headers/include/cuda/std/__linalg/conj_if_needed.h +76 -0
- cuda/cccl/headers/include/cuda/std/__linalg/conjugate_transposed.h +52 -0
- cuda/cccl/headers/include/cuda/std/__linalg/conjugated.h +136 -0
- cuda/cccl/headers/include/cuda/std/__linalg/scaled.h +128 -0
- cuda/cccl/headers/include/cuda/std/__linalg/transposed.h +315 -0
- cuda/cccl/headers/include/cuda/std/__mdspan/aligned_accessor.h +97 -0
- cuda/cccl/headers/include/cuda/std/__mdspan/concepts.h +137 -0
- cuda/cccl/headers/include/cuda/std/__mdspan/default_accessor.h +73 -0
- cuda/cccl/headers/include/cuda/std/__mdspan/empty_base.h +348 -0
- cuda/cccl/headers/include/cuda/std/__mdspan/extents.h +749 -0
- cuda/cccl/headers/include/cuda/std/__mdspan/layout_left.h +314 -0
- cuda/cccl/headers/include/cuda/std/__mdspan/layout_right.h +307 -0
- cuda/cccl/headers/include/cuda/std/__mdspan/layout_stride.h +598 -0
- cuda/cccl/headers/include/cuda/std/__mdspan/mdspan.h +515 -0
- cuda/cccl/headers/include/cuda/std/__mdspan/submdspan_extents.h +190 -0
- cuda/cccl/headers/include/cuda/std/__mdspan/submdspan_helper.h +187 -0
- cuda/cccl/headers/include/cuda/std/__mdspan/submdspan_mapping.h +339 -0
- cuda/cccl/headers/include/cuda/std/__memory/addressof.h +90 -0
- cuda/cccl/headers/include/cuda/std/__memory/align.h +67 -0
- cuda/cccl/headers/include/cuda/std/__memory/allocate_at_least.h +82 -0
- cuda/cccl/headers/include/cuda/std/__memory/allocation_guard.h +100 -0
- cuda/cccl/headers/include/cuda/std/__memory/allocator.h +327 -0
- cuda/cccl/headers/include/cuda/std/__memory/allocator_arg_t.h +85 -0
- cuda/cccl/headers/include/cuda/std/__memory/allocator_destructor.h +59 -0
- cuda/cccl/headers/include/cuda/std/__memory/allocator_traits.h +517 -0
- cuda/cccl/headers/include/cuda/std/__memory/assume_aligned.h +59 -0
- cuda/cccl/headers/include/cuda/std/__memory/builtin_new_allocator.h +87 -0
- cuda/cccl/headers/include/cuda/std/__memory/compressed_pair.h +225 -0
- cuda/cccl/headers/include/cuda/std/__memory/construct_at.h +241 -0
- cuda/cccl/headers/include/cuda/std/__memory/destruct_n.h +91 -0
- cuda/cccl/headers/include/cuda/std/__memory/is_sufficiently_aligned.h +51 -0
- cuda/cccl/headers/include/cuda/std/__memory/pointer_traits.h +246 -0
- cuda/cccl/headers/include/cuda/std/__memory/runtime_assume_aligned.h +62 -0
- cuda/cccl/headers/include/cuda/std/__memory/temporary_buffer.h +99 -0
- cuda/cccl/headers/include/cuda/std/__memory/uninitialized_algorithms.h +678 -0
- cuda/cccl/headers/include/cuda/std/__memory/unique_ptr.h +765 -0
- cuda/cccl/headers/include/cuda/std/__memory/uses_allocator.h +59 -0
- cuda/cccl/headers/include/cuda/std/__memory/voidify.h +41 -0
- cuda/cccl/headers/include/cuda/std/__memory_ +34 -0
- cuda/cccl/headers/include/cuda/std/__new/allocate.h +131 -0
- cuda/cccl/headers/include/cuda/std/__new/bad_alloc.h +57 -0
- cuda/cccl/headers/include/cuda/std/__new/device_new.h +30 -0
- cuda/cccl/headers/include/cuda/std/__new/launder.h +53 -0
- cuda/cccl/headers/include/cuda/std/__new_ +30 -0
- cuda/cccl/headers/include/cuda/std/__numeric/accumulate.h +56 -0
- cuda/cccl/headers/include/cuda/std/__numeric/adjacent_difference.h +72 -0
- cuda/cccl/headers/include/cuda/std/__numeric/exclusive_scan.h +66 -0
- cuda/cccl/headers/include/cuda/std/__numeric/gcd_lcm.h +78 -0
- cuda/cccl/headers/include/cuda/std/__numeric/inclusive_scan.h +73 -0
- cuda/cccl/headers/include/cuda/std/__numeric/inner_product.h +62 -0
- cuda/cccl/headers/include/cuda/std/__numeric/iota.h +42 -0
- cuda/cccl/headers/include/cuda/std/__numeric/midpoint.h +97 -0
- cuda/cccl/headers/include/cuda/std/__numeric/partial_sum.h +69 -0
- cuda/cccl/headers/include/cuda/std/__numeric/reduce.h +60 -0
- cuda/cccl/headers/include/cuda/std/__numeric/transform_exclusive_scan.h +51 -0
- cuda/cccl/headers/include/cuda/std/__numeric/transform_inclusive_scan.h +65 -0
- cuda/cccl/headers/include/cuda/std/__numeric/transform_reduce.h +72 -0
- cuda/cccl/headers/include/cuda/std/__optional/bad_optional_access.h +74 -0
- cuda/cccl/headers/include/cuda/std/__optional/hash.h +53 -0
- cuda/cccl/headers/include/cuda/std/__optional/make_optional.h +61 -0
- cuda/cccl/headers/include/cuda/std/__optional/nullopt.h +43 -0
- cuda/cccl/headers/include/cuda/std/__optional/optional.h +861 -0
- cuda/cccl/headers/include/cuda/std/__optional/optional_base.h +439 -0
- cuda/cccl/headers/include/cuda/std/__optional/optional_ref.h +324 -0
- cuda/cccl/headers/include/cuda/std/__pstl/cuda/for_each_n.h +97 -0
- cuda/cccl/headers/include/cuda/std/__pstl/dispatch.h +123 -0
- cuda/cccl/headers/include/cuda/std/__pstl/for_each.h +71 -0
- cuda/cccl/headers/include/cuda/std/__pstl/for_each_n.h +68 -0
- cuda/cccl/headers/include/cuda/std/__random/bernoulli_distribution.h +173 -0
- cuda/cccl/headers/include/cuda/std/__random/binomial_distribution.h +254 -0
- cuda/cccl/headers/include/cuda/std/__random/cauchy_distribution.h +192 -0
- cuda/cccl/headers/include/cuda/std/__random/chi_squared_distribution.h +179 -0
- cuda/cccl/headers/include/cuda/std/__random/exponential_distribution.h +187 -0
- cuda/cccl/headers/include/cuda/std/__random/extreme_value_distribution.h +196 -0
- cuda/cccl/headers/include/cuda/std/__random/fisher_f_distribution.h +196 -0
- cuda/cccl/headers/include/cuda/std/__random/gamma_distribution.h +257 -0
- cuda/cccl/headers/include/cuda/std/__random/generate_canonical.h +56 -0
- cuda/cccl/headers/include/cuda/std/__random/geometric_distribution.h +179 -0
- cuda/cccl/headers/include/cuda/std/__random/is_seed_sequence.h +39 -0
- cuda/cccl/headers/include/cuda/std/__random/is_valid.h +70 -0
- cuda/cccl/headers/include/cuda/std/__random/linear_congruential_engine.h +398 -0
- cuda/cccl/headers/include/cuda/std/__random/lognormal_distribution.h +174 -0
- cuda/cccl/headers/include/cuda/std/__random/negative_binomial_distribution.h +212 -0
- cuda/cccl/headers/include/cuda/std/__random/normal_distribution.h +232 -0
- cuda/cccl/headers/include/cuda/std/__random/philox_engine.h +562 -0
- cuda/cccl/headers/include/cuda/std/__random/poisson_distribution.h +338 -0
- cuda/cccl/headers/include/cuda/std/__random/seed_seq.h +204 -0
- cuda/cccl/headers/include/cuda/std/__random/student_t_distribution.h +186 -0
- cuda/cccl/headers/include/cuda/std/__random/uniform_int_distribution.h +341 -0
- cuda/cccl/headers/include/cuda/std/__random/uniform_real_distribution.h +192 -0
- cuda/cccl/headers/include/cuda/std/__random/weibull_distribution.h +189 -0
- cuda/cccl/headers/include/cuda/std/__random_ +47 -0
- cuda/cccl/headers/include/cuda/std/__ranges/access.h +303 -0
- cuda/cccl/headers/include/cuda/std/__ranges/all.h +98 -0
- cuda/cccl/headers/include/cuda/std/__ranges/compressed_movable_box.h +889 -0
- cuda/cccl/headers/include/cuda/std/__ranges/concepts.h +302 -0
- cuda/cccl/headers/include/cuda/std/__ranges/counted.h +90 -0
- cuda/cccl/headers/include/cuda/std/__ranges/dangling.h +54 -0
- cuda/cccl/headers/include/cuda/std/__ranges/data.h +136 -0
- cuda/cccl/headers/include/cuda/std/__ranges/drop_view.h +389 -0
- cuda/cccl/headers/include/cuda/std/__ranges/empty.h +109 -0
- cuda/cccl/headers/include/cuda/std/__ranges/empty_view.h +77 -0
- cuda/cccl/headers/include/cuda/std/__ranges/enable_borrowed_range.h +41 -0
- cuda/cccl/headers/include/cuda/std/__ranges/enable_view.h +78 -0
- cuda/cccl/headers/include/cuda/std/__ranges/from_range.h +36 -0
- cuda/cccl/headers/include/cuda/std/__ranges/iota_view.h +264 -0
- cuda/cccl/headers/include/cuda/std/__ranges/movable_box.h +409 -0
- cuda/cccl/headers/include/cuda/std/__ranges/non_propagating_cache.h +210 -0
- cuda/cccl/headers/include/cuda/std/__ranges/owning_view.h +163 -0
- cuda/cccl/headers/include/cuda/std/__ranges/range_adaptor.h +111 -0
- cuda/cccl/headers/include/cuda/std/__ranges/rbegin.h +175 -0
- cuda/cccl/headers/include/cuda/std/__ranges/ref_view.h +121 -0
- cuda/cccl/headers/include/cuda/std/__ranges/rend.h +182 -0
- cuda/cccl/headers/include/cuda/std/__ranges/repeat_view.h +346 -0
- cuda/cccl/headers/include/cuda/std/__ranges/single_view.h +155 -0
- cuda/cccl/headers/include/cuda/std/__ranges/size.h +201 -0
- cuda/cccl/headers/include/cuda/std/__ranges/subrange.h +510 -0
- cuda/cccl/headers/include/cuda/std/__ranges/take_view.h +472 -0
- cuda/cccl/headers/include/cuda/std/__ranges/take_while_view.h +259 -0
- cuda/cccl/headers/include/cuda/std/__ranges/transform_view.h +522 -0
- cuda/cccl/headers/include/cuda/std/__ranges/unwrap_end.h +52 -0
- cuda/cccl/headers/include/cuda/std/__ranges/view_interface.h +183 -0
- cuda/cccl/headers/include/cuda/std/__ranges/views.h +38 -0
- cuda/cccl/headers/include/cuda/std/__semaphore/atomic_semaphore.h +234 -0
- cuda/cccl/headers/include/cuda/std/__semaphore/counting_semaphore.h +51 -0
- cuda/cccl/headers/include/cuda/std/__string/char_traits.h +190 -0
- cuda/cccl/headers/include/cuda/std/__string/constexpr_c_functions.h +580 -0
- cuda/cccl/headers/include/cuda/std/__string/helper_functions.h +296 -0
- cuda/cccl/headers/include/cuda/std/__string/string_view.h +244 -0
- cuda/cccl/headers/include/cuda/std/__string_ +29 -0
- cuda/cccl/headers/include/cuda/std/__system_error/errc.h +51 -0
- cuda/cccl/headers/include/cuda/std/__system_error_ +26 -0
- cuda/cccl/headers/include/cuda/std/__thread/threading_support.h +106 -0
- cuda/cccl/headers/include/cuda/std/__thread/threading_support_cuda.h +47 -0
- cuda/cccl/headers/include/cuda/std/__thread/threading_support_external.h +41 -0
- cuda/cccl/headers/include/cuda/std/__thread/threading_support_pthread.h +143 -0
- cuda/cccl/headers/include/cuda/std/__thread/threading_support_win32.h +87 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/apply.h +82 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/get.h +122 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/ignore.h +51 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/make_tuple_types.h +120 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/sfinae_helpers.h +100 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/structured_bindings.h +212 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/tie.h +55 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/tuple.h +457 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/tuple_cat.h +158 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/tuple_constraints.h +286 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/tuple_element.h +77 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/tuple_indices.h +44 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/tuple_leaf.h +452 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/tuple_like.h +83 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/tuple_like_ext.h +68 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/tuple_size.h +79 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/tuple_types.h +35 -0
- cuda/cccl/headers/include/cuda/std/__tuple_dir/vector_types.h +290 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/add_const.h +40 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/add_cv.h +40 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/add_lvalue_reference.h +62 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/add_pointer.h +65 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/add_rvalue_reference.h +62 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/add_volatile.h +40 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/aligned_storage.h +155 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/aligned_union.h +62 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/alignment_of.h +41 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/always_false.h +35 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/can_extract_key.h +68 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/common_reference.h +262 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/common_type.h +173 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/conditional.h +65 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/conjunction.h +67 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/copy_cv.h +50 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/copy_cvref.h +148 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/decay.h +83 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/dependent_type.h +35 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/disjunction.h +77 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/enable_if.h +43 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/extent.h +68 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/fold.h +47 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/has_unique_object_representation.h +46 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/has_virtual_destructor.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/integral_constant.h +62 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_abstract.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_aggregate.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_allocator.h +46 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_arithmetic.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_array.h +62 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_assignable.h +78 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_base_of.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_bounded_array.h +44 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_callable.h +60 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_char_like_type.h +38 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_class.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_comparable.h +78 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_compound.h +58 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_const.h +56 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_constant_evaluated.h +49 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_constructible.h +174 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_convertible.h +211 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_copy_assignable.h +43 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_copy_constructible.h +43 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_core_convertible.h +47 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_corresponding_member.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_default_constructible.h +40 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_destructible.h +115 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_empty.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_enum.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_execution_policy.h +63 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_extended_arithmetic.h +38 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_extended_floating_point.h +79 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_final.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_floating_point.h +53 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_fully_bounded_array.h +47 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_function.h +61 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_fundamental.h +56 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_implicitly_default_constructible.h +57 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_integer.h +45 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_integral.h +123 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_layout_compatible.h +45 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_literal_type.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_member_function_pointer.h +79 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_member_object_pointer.h +57 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_member_pointer.h +57 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_move_assignable.h +43 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_move_constructible.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_nothrow_assignable.h +70 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_nothrow_constructible.h +72 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_nothrow_convertible.h +59 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_nothrow_copy_assignable.h +60 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_nothrow_copy_constructible.h +43 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_nothrow_default_constructible.h +54 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_nothrow_destructible.h +82 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_nothrow_move_assignable.h +60 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_nothrow_move_constructible.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_null_pointer.h +43 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_object.h +57 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_one_of.h +37 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_pod.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_pointer.h +60 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_pointer_interconvertible_base_of.h +84 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_pointer_interconvertible_with_class.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_polymorphic.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_primary_template.h +121 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_reference.h +95 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_referenceable.h +55 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_same.h +88 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_scalar.h +60 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_scoped_enum.h +49 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_signed.h +65 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_signed_integer.h +59 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_standard_layout.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_swappable.h +200 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_trivial.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_trivially_assignable.h +43 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_trivially_constructible.h +43 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_trivially_copy_assignable.h +46 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_trivially_copy_constructible.h +45 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_trivially_copyable.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_trivially_default_constructible.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_trivially_destructible.h +58 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_trivially_move_assignable.h +45 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_trivially_move_constructible.h +44 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_unbounded_array.h +43 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_union.h +42 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_unsigned.h +66 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_unsigned_integer.h +59 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_valid_expansion.h +41 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_void.h +55 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/is_volatile.h +56 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/lazy.h +35 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/make_const_lvalue_ref.h +36 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/make_nbit_int.h +107 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/make_signed.h +140 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/make_unsigned.h +151 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/maybe_const.h +36 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/nat.h +39 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/negation.h +44 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/num_bits.h +122 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/promote.h +163 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/rank.h +60 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/reference_constructs_from_temporary.h +57 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/reference_converts_from_temporary.h +56 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/remove_all_extents.h +66 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/remove_const.h +59 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/remove_const_ref.h +37 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/remove_cv.h +57 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/remove_cvref.h +57 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/remove_extent.h +65 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/remove_pointer.h +73 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/remove_reference.h +72 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/remove_volatile.h +58 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/result_of.h +47 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/type_identity.h +40 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/type_list.h +1067 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/type_set.h +131 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/underlying_type.h +52 -0
- cuda/cccl/headers/include/cuda/std/__type_traits/void_t.h +34 -0
- cuda/cccl/headers/include/cuda/std/__utility/as_const.h +73 -0
- cuda/cccl/headers/include/cuda/std/__utility/auto_cast.h +34 -0
- cuda/cccl/headers/include/cuda/std/__utility/cmp.h +114 -0
- cuda/cccl/headers/include/cuda/std/__utility/convert_to_integral.h +101 -0
- cuda/cccl/headers/include/cuda/std/__utility/ctad_support.h +27 -0
- cuda/cccl/headers/include/cuda/std/__utility/declval.h +76 -0
- cuda/cccl/headers/include/cuda/std/__utility/delegate_constructors.h +51 -0
- cuda/cccl/headers/include/cuda/std/__utility/exception_guard.h +162 -0
- cuda/cccl/headers/include/cuda/std/__utility/exchange.h +46 -0
- cuda/cccl/headers/include/cuda/std/__utility/forward.h +82 -0
- cuda/cccl/headers/include/cuda/std/__utility/forward_like.h +82 -0
- cuda/cccl/headers/include/cuda/std/__utility/in_place.h +86 -0
- cuda/cccl/headers/include/cuda/std/__utility/integer_sequence.h +249 -0
- cuda/cccl/headers/include/cuda/std/__utility/monostate.h +99 -0
- cuda/cccl/headers/include/cuda/std/__utility/move.h +126 -0
- cuda/cccl/headers/include/cuda/std/__utility/pair.h +791 -0
- cuda/cccl/headers/include/cuda/std/__utility/piecewise_construct.h +37 -0
- cuda/cccl/headers/include/cuda/std/__utility/pod_tuple.h +425 -0
- cuda/cccl/headers/include/cuda/std/__utility/priority_tag.h +40 -0
- cuda/cccl/headers/include/cuda/std/__utility/rel_ops.h +61 -0
- cuda/cccl/headers/include/cuda/std/__utility/swap.h +64 -0
- cuda/cccl/headers/include/cuda/std/__utility/to_underlying.h +40 -0
- cuda/cccl/headers/include/cuda/std/__utility/typeid.h +421 -0
- cuda/cccl/headers/include/cuda/std/__utility/undefined.h +34 -0
- cuda/cccl/headers/include/cuda/std/__utility/unreachable.h +37 -0
- cuda/cccl/headers/include/cuda/std/__variant/bad_variant_access.h +74 -0
- cuda/cccl/headers/include/cuda/std/__variant/comparison.h +207 -0
- cuda/cccl/headers/include/cuda/std/__variant/get.h +192 -0
- cuda/cccl/headers/include/cuda/std/__variant/hash.h +82 -0
- cuda/cccl/headers/include/cuda/std/__variant/sfinae_helpers.h +89 -0
- cuda/cccl/headers/include/cuda/std/__variant/variant.h +250 -0
- cuda/cccl/headers/include/cuda/std/__variant/variant_access.h +70 -0
- cuda/cccl/headers/include/cuda/std/__variant/variant_base.h +683 -0
- cuda/cccl/headers/include/cuda/std/__variant/variant_constraints.h +135 -0
- cuda/cccl/headers/include/cuda/std/__variant/variant_match.h +126 -0
- cuda/cccl/headers/include/cuda/std/__variant/variant_traits.h +184 -0
- cuda/cccl/headers/include/cuda/std/__variant/variant_visit.h +225 -0
- cuda/cccl/headers/include/cuda/std/__variant/visit.h +148 -0
- cuda/cccl/headers/include/cuda/std/algorithm +138 -0
- cuda/cccl/headers/include/cuda/std/array +519 -0
- cuda/cccl/headers/include/cuda/std/atomic +810 -0
- cuda/cccl/headers/include/cuda/std/barrier +42 -0
- cuda/cccl/headers/include/cuda/std/bit +35 -0
- cuda/cccl/headers/include/cuda/std/bitset +986 -0
- cuda/cccl/headers/include/cuda/std/cassert +28 -0
- cuda/cccl/headers/include/cuda/std/ccomplex +15 -0
- cuda/cccl/headers/include/cuda/std/cfloat +59 -0
- cuda/cccl/headers/include/cuda/std/charconv +31 -0
- cuda/cccl/headers/include/cuda/std/chrono +26 -0
- cuda/cccl/headers/include/cuda/std/climits +61 -0
- cuda/cccl/headers/include/cuda/std/cmath +87 -0
- cuda/cccl/headers/include/cuda/std/complex +50 -0
- cuda/cccl/headers/include/cuda/std/concepts +48 -0
- cuda/cccl/headers/include/cuda/std/cstddef +28 -0
- cuda/cccl/headers/include/cuda/std/cstdint +178 -0
- cuda/cccl/headers/include/cuda/std/cstdlib +31 -0
- cuda/cccl/headers/include/cuda/std/cstring +110 -0
- cuda/cccl/headers/include/cuda/std/ctime +155 -0
- cuda/cccl/headers/include/cuda/std/detail/__config +22 -0
- cuda/cccl/headers/include/cuda/std/detail/libcxx/include/chrono +2506 -0
- cuda/cccl/headers/include/cuda/std/execution +29 -0
- cuda/cccl/headers/include/cuda/std/expected +30 -0
- cuda/cccl/headers/include/cuda/std/functional +56 -0
- cuda/cccl/headers/include/cuda/std/initializer_list +44 -0
- cuda/cccl/headers/include/cuda/std/inplace_vector +2171 -0
- cuda/cccl/headers/include/cuda/std/iterator +70 -0
- cuda/cccl/headers/include/cuda/std/latch +34 -0
- cuda/cccl/headers/include/cuda/std/limits +28 -0
- cuda/cccl/headers/include/cuda/std/linalg +30 -0
- cuda/cccl/headers/include/cuda/std/mdspan +38 -0
- cuda/cccl/headers/include/cuda/std/memory +40 -0
- cuda/cccl/headers/include/cuda/std/numbers +344 -0
- cuda/cccl/headers/include/cuda/std/numeric +41 -0
- cuda/cccl/headers/include/cuda/std/optional +31 -0
- cuda/cccl/headers/include/cuda/std/ranges +70 -0
- cuda/cccl/headers/include/cuda/std/ratio +416 -0
- cuda/cccl/headers/include/cuda/std/semaphore +31 -0
- cuda/cccl/headers/include/cuda/std/source_location +107 -0
- cuda/cccl/headers/include/cuda/std/span +599 -0
- cuda/cccl/headers/include/cuda/std/string_view +924 -0
- cuda/cccl/headers/include/cuda/std/tuple +43 -0
- cuda/cccl/headers/include/cuda/std/type_traits +176 -0
- cuda/cccl/headers/include/cuda/std/utility +70 -0
- cuda/cccl/headers/include/cuda/std/variant +32 -0
- cuda/cccl/headers/include/cuda/std/version +240 -0
- cuda/cccl/headers/include/cuda/stream +32 -0
- cuda/cccl/headers/include/cuda/stream_ref +59 -0
- cuda/cccl/headers/include/cuda/tma +25 -0
- cuda/cccl/headers/include/cuda/type_traits +27 -0
- cuda/cccl/headers/include/cuda/utility +28 -0
- cuda/cccl/headers/include/cuda/version +16 -0
- cuda/cccl/headers/include/cuda/warp +28 -0
- cuda/cccl/headers/include/cuda/work_stealing +26 -0
- cuda/cccl/headers/include/nv/detail/__preprocessor +169 -0
- cuda/cccl/headers/include/nv/detail/__target_macros +739 -0
- cuda/cccl/headers/include/nv/target +241 -0
- cuda/cccl/headers/include/thrust/addressof.h +22 -0
- cuda/cccl/headers/include/thrust/adjacent_difference.h +254 -0
- cuda/cccl/headers/include/thrust/advance.h +60 -0
- cuda/cccl/headers/include/thrust/allocate_unique.h +301 -0
- cuda/cccl/headers/include/thrust/binary_search.h +1911 -0
- cuda/cccl/headers/include/thrust/complex.h +859 -0
- cuda/cccl/headers/include/thrust/copy.h +506 -0
- cuda/cccl/headers/include/thrust/count.h +245 -0
- cuda/cccl/headers/include/thrust/detail/adjacent_difference.inl +108 -0
- cuda/cccl/headers/include/thrust/detail/alignment.h +81 -0
- cuda/cccl/headers/include/thrust/detail/allocator/allocator_traits.h +629 -0
- cuda/cccl/headers/include/thrust/detail/allocator/copy_construct_range.h +193 -0
- cuda/cccl/headers/include/thrust/detail/allocator/destroy_range.h +95 -0
- cuda/cccl/headers/include/thrust/detail/allocator/fill_construct_range.h +79 -0
- cuda/cccl/headers/include/thrust/detail/allocator/malloc_allocator.h +76 -0
- cuda/cccl/headers/include/thrust/detail/allocator/no_throw_allocator.h +74 -0
- cuda/cccl/headers/include/thrust/detail/allocator/tagged_allocator.h +113 -0
- cuda/cccl/headers/include/thrust/detail/allocator/temporary_allocator.h +114 -0
- cuda/cccl/headers/include/thrust/detail/allocator/value_initialize_range.h +77 -0
- cuda/cccl/headers/include/thrust/detail/allocator_aware_execution_policy.h +96 -0
- cuda/cccl/headers/include/thrust/detail/binary_search.inl +537 -0
- cuda/cccl/headers/include/thrust/detail/caching_allocator.h +47 -0
- cuda/cccl/headers/include/thrust/detail/complex/arithmetic.h +210 -0
- cuda/cccl/headers/include/thrust/detail/complex/catrig.h +877 -0
- cuda/cccl/headers/include/thrust/detail/complex/catrigf.h +591 -0
- cuda/cccl/headers/include/thrust/detail/complex/ccosh.h +234 -0
- cuda/cccl/headers/include/thrust/detail/complex/ccoshf.h +162 -0
- cuda/cccl/headers/include/thrust/detail/complex/cexp.h +194 -0
- cuda/cccl/headers/include/thrust/detail/complex/cexpf.h +170 -0
- cuda/cccl/headers/include/thrust/detail/complex/clog.h +222 -0
- cuda/cccl/headers/include/thrust/detail/complex/clogf.h +209 -0
- cuda/cccl/headers/include/thrust/detail/complex/complex.inl +263 -0
- cuda/cccl/headers/include/thrust/detail/complex/cpow.h +53 -0
- cuda/cccl/headers/include/thrust/detail/complex/cproj.h +75 -0
- cuda/cccl/headers/include/thrust/detail/complex/csinh.h +228 -0
- cuda/cccl/headers/include/thrust/detail/complex/csinhf.h +169 -0
- cuda/cccl/headers/include/thrust/detail/complex/csqrt.h +178 -0
- cuda/cccl/headers/include/thrust/detail/complex/csqrtf.h +174 -0
- cuda/cccl/headers/include/thrust/detail/complex/ctanh.h +212 -0
- cuda/cccl/headers/include/thrust/detail/complex/ctanhf.h +136 -0
- cuda/cccl/headers/include/thrust/detail/complex/math_private.h +130 -0
- cuda/cccl/headers/include/thrust/detail/complex/stream.h +73 -0
- cuda/cccl/headers/include/thrust/detail/config/compiler.h +38 -0
- cuda/cccl/headers/include/thrust/detail/config/config.h +43 -0
- cuda/cccl/headers/include/thrust/detail/config/cpp_dialect.h +78 -0
- cuda/cccl/headers/include/thrust/detail/config/device_system.h +57 -0
- cuda/cccl/headers/include/thrust/detail/config/host_system.h +50 -0
- cuda/cccl/headers/include/thrust/detail/config/memory_resource.h +41 -0
- cuda/cccl/headers/include/thrust/detail/config/namespace.h +164 -0
- cuda/cccl/headers/include/thrust/detail/config/simple_defines.h +48 -0
- cuda/cccl/headers/include/thrust/detail/config.h +36 -0
- cuda/cccl/headers/include/thrust/detail/contiguous_storage.h +227 -0
- cuda/cccl/headers/include/thrust/detail/contiguous_storage.inl +272 -0
- cuda/cccl/headers/include/thrust/detail/copy.h +70 -0
- cuda/cccl/headers/include/thrust/detail/copy.inl +146 -0
- cuda/cccl/headers/include/thrust/detail/copy_if.h +62 -0
- cuda/cccl/headers/include/thrust/detail/copy_if.inl +114 -0
- cuda/cccl/headers/include/thrust/detail/count.h +55 -0
- cuda/cccl/headers/include/thrust/detail/count.inl +101 -0
- cuda/cccl/headers/include/thrust/detail/device_ptr.inl +48 -0
- cuda/cccl/headers/include/thrust/detail/equal.inl +105 -0
- cuda/cccl/headers/include/thrust/detail/event_error.h +160 -0
- cuda/cccl/headers/include/thrust/detail/execute_with_allocator.h +79 -0
- cuda/cccl/headers/include/thrust/detail/execute_with_allocator_fwd.h +61 -0
- cuda/cccl/headers/include/thrust/detail/execution_policy.h +120 -0
- cuda/cccl/headers/include/thrust/detail/extrema.inl +196 -0
- cuda/cccl/headers/include/thrust/detail/fill.inl +97 -0
- cuda/cccl/headers/include/thrust/detail/find.inl +125 -0
- cuda/cccl/headers/include/thrust/detail/for_each.inl +96 -0
- cuda/cccl/headers/include/thrust/detail/function.h +49 -0
- cuda/cccl/headers/include/thrust/detail/functional/actor.h +213 -0
- cuda/cccl/headers/include/thrust/detail/functional/operators.h +384 -0
- cuda/cccl/headers/include/thrust/detail/gather.inl +185 -0
- cuda/cccl/headers/include/thrust/detail/generate.inl +97 -0
- cuda/cccl/headers/include/thrust/detail/get_iterator_value.h +60 -0
- cuda/cccl/headers/include/thrust/detail/inner_product.inl +130 -0
- cuda/cccl/headers/include/thrust/detail/internal_functional.h +335 -0
- cuda/cccl/headers/include/thrust/detail/logical.inl +125 -0
- cuda/cccl/headers/include/thrust/detail/malloc_and_free.h +89 -0
- cuda/cccl/headers/include/thrust/detail/malloc_and_free_fwd.h +45 -0
- cuda/cccl/headers/include/thrust/detail/memory_algorithms.h +208 -0
- cuda/cccl/headers/include/thrust/detail/merge.inl +288 -0
- cuda/cccl/headers/include/thrust/detail/mismatch.inl +107 -0
- cuda/cccl/headers/include/thrust/detail/nvtx_policy.h +41 -0
- cuda/cccl/headers/include/thrust/detail/overlapped_copy.h +120 -0
- cuda/cccl/headers/include/thrust/detail/partition.inl +390 -0
- cuda/cccl/headers/include/thrust/detail/pointer.h +313 -0
- cuda/cccl/headers/include/thrust/detail/preprocessor.h +652 -0
- cuda/cccl/headers/include/thrust/detail/random_bijection.h +177 -0
- cuda/cccl/headers/include/thrust/detail/range/head_flags.h +114 -0
- cuda/cccl/headers/include/thrust/detail/range/tail_flags.h +128 -0
- cuda/cccl/headers/include/thrust/detail/raw_pointer_cast.h +52 -0
- cuda/cccl/headers/include/thrust/detail/raw_reference_cast.h +191 -0
- cuda/cccl/headers/include/thrust/detail/reduce.inl +396 -0
- cuda/cccl/headers/include/thrust/detail/reference.h +521 -0
- cuda/cccl/headers/include/thrust/detail/reference_forward_declaration.h +35 -0
- cuda/cccl/headers/include/thrust/detail/remove.inl +225 -0
- cuda/cccl/headers/include/thrust/detail/replace.inl +243 -0
- cuda/cccl/headers/include/thrust/detail/reverse.inl +100 -0
- cuda/cccl/headers/include/thrust/detail/scan.inl +536 -0
- cuda/cccl/headers/include/thrust/detail/scatter.inl +169 -0
- cuda/cccl/headers/include/thrust/detail/seq.h +66 -0
- cuda/cccl/headers/include/thrust/detail/sequence.inl +121 -0
- cuda/cccl/headers/include/thrust/detail/set_operations.inl +993 -0
- cuda/cccl/headers/include/thrust/detail/shuffle.inl +86 -0
- cuda/cccl/headers/include/thrust/detail/sort.inl +385 -0
- cuda/cccl/headers/include/thrust/detail/static_assert.h +56 -0
- cuda/cccl/headers/include/thrust/detail/static_map.h +164 -0
- cuda/cccl/headers/include/thrust/detail/swap_ranges.inl +77 -0
- cuda/cccl/headers/include/thrust/detail/tabulate.inl +74 -0
- cuda/cccl/headers/include/thrust/detail/temporary_array.h +150 -0
- cuda/cccl/headers/include/thrust/detail/temporary_array.inl +121 -0
- cuda/cccl/headers/include/thrust/detail/temporary_buffer.h +93 -0
- cuda/cccl/headers/include/thrust/detail/transform_reduce.inl +81 -0
- cuda/cccl/headers/include/thrust/detail/transform_scan.inl +173 -0
- cuda/cccl/headers/include/thrust/detail/trivial_sequence.h +128 -0
- cuda/cccl/headers/include/thrust/detail/tuple_meta_transform.h +59 -0
- cuda/cccl/headers/include/thrust/detail/type_deduction.h +61 -0
- cuda/cccl/headers/include/thrust/detail/type_traits/has_member_function.h +50 -0
- cuda/cccl/headers/include/thrust/detail/type_traits/has_nested_type.h +43 -0
- cuda/cccl/headers/include/thrust/detail/type_traits/is_call_possible.h +162 -0
- cuda/cccl/headers/include/thrust/detail/type_traits/is_commutative.h +67 -0
- cuda/cccl/headers/include/thrust/detail/type_traits/is_metafunction_defined.h +39 -0
- cuda/cccl/headers/include/thrust/detail/type_traits/is_thrust_pointer.h +55 -0
- cuda/cccl/headers/include/thrust/detail/type_traits/iterator/is_output_iterator.h +48 -0
- cuda/cccl/headers/include/thrust/detail/type_traits/minimum_type.h +91 -0
- cuda/cccl/headers/include/thrust/detail/type_traits/pointer_traits.h +332 -0
- cuda/cccl/headers/include/thrust/detail/type_traits.h +143 -0
- cuda/cccl/headers/include/thrust/detail/uninitialized_copy.inl +102 -0
- cuda/cccl/headers/include/thrust/detail/uninitialized_fill.inl +97 -0
- cuda/cccl/headers/include/thrust/detail/unique.inl +391 -0
- cuda/cccl/headers/include/thrust/detail/use_default.h +34 -0
- cuda/cccl/headers/include/thrust/detail/vector_base.h +613 -0
- cuda/cccl/headers/include/thrust/detail/vector_base.inl +1216 -0
- cuda/cccl/headers/include/thrust/device_allocator.h +134 -0
- cuda/cccl/headers/include/thrust/device_delete.h +74 -0
- cuda/cccl/headers/include/thrust/device_free.h +85 -0
- cuda/cccl/headers/include/thrust/device_make_unique.h +56 -0
- cuda/cccl/headers/include/thrust/device_malloc.h +84 -0
- cuda/cccl/headers/include/thrust/device_malloc_allocator.h +190 -0
- cuda/cccl/headers/include/thrust/device_new.h +112 -0
- cuda/cccl/headers/include/thrust/device_new_allocator.h +179 -0
- cuda/cccl/headers/include/thrust/device_ptr.h +196 -0
- cuda/cccl/headers/include/thrust/device_reference.h +983 -0
- cuda/cccl/headers/include/thrust/device_vector.h +576 -0
- cuda/cccl/headers/include/thrust/distance.h +44 -0
- cuda/cccl/headers/include/thrust/equal.h +247 -0
- cuda/cccl/headers/include/thrust/execution_policy.h +252 -0
- cuda/cccl/headers/include/thrust/extrema.h +657 -0
- cuda/cccl/headers/include/thrust/fill.h +200 -0
- cuda/cccl/headers/include/thrust/find.h +382 -0
- cuda/cccl/headers/include/thrust/for_each.h +261 -0
- cuda/cccl/headers/include/thrust/functional.h +399 -0
- cuda/cccl/headers/include/thrust/gather.h +464 -0
- cuda/cccl/headers/include/thrust/generate.h +193 -0
- cuda/cccl/headers/include/thrust/host_vector.h +576 -0
- cuda/cccl/headers/include/thrust/inner_product.h +264 -0
- cuda/cccl/headers/include/thrust/iterator/constant_iterator.h +221 -0
- cuda/cccl/headers/include/thrust/iterator/counting_iterator.h +338 -0
- cuda/cccl/headers/include/thrust/iterator/detail/any_assign.h +48 -0
- cuda/cccl/headers/include/thrust/iterator/detail/any_system_tag.h +43 -0
- cuda/cccl/headers/include/thrust/iterator/detail/device_system_tag.h +43 -0
- cuda/cccl/headers/include/thrust/iterator/detail/host_system_tag.h +42 -0
- cuda/cccl/headers/include/thrust/iterator/detail/iterator_adaptor_base.h +83 -0
- cuda/cccl/headers/include/thrust/iterator/detail/iterator_category_to_system.h +60 -0
- cuda/cccl/headers/include/thrust/iterator/detail/iterator_category_to_traversal.h +65 -0
- cuda/cccl/headers/include/thrust/iterator/detail/iterator_category_with_system_and_traversal.h +56 -0
- cuda/cccl/headers/include/thrust/iterator/detail/iterator_facade_category.h +184 -0
- cuda/cccl/headers/include/thrust/iterator/detail/minimum_system.h +55 -0
- cuda/cccl/headers/include/thrust/iterator/detail/normal_iterator.h +69 -0
- cuda/cccl/headers/include/thrust/iterator/detail/retag.h +104 -0
- cuda/cccl/headers/include/thrust/iterator/detail/tagged_iterator.h +80 -0
- cuda/cccl/headers/include/thrust/iterator/detail/tuple_of_iterator_references.h +171 -0
- cuda/cccl/headers/include/thrust/iterator/discard_iterator.h +163 -0
- cuda/cccl/headers/include/thrust/iterator/iterator_adaptor.h +251 -0
- cuda/cccl/headers/include/thrust/iterator/iterator_categories.h +211 -0
- cuda/cccl/headers/include/thrust/iterator/iterator_facade.h +659 -0
- cuda/cccl/headers/include/thrust/iterator/iterator_traits.h +334 -0
- cuda/cccl/headers/include/thrust/iterator/iterator_traversal_tags.h +64 -0
- cuda/cccl/headers/include/thrust/iterator/offset_iterator.h +194 -0
- cuda/cccl/headers/include/thrust/iterator/permutation_iterator.h +204 -0
- cuda/cccl/headers/include/thrust/iterator/retag.h +72 -0
- cuda/cccl/headers/include/thrust/iterator/reverse_iterator.h +51 -0
- cuda/cccl/headers/include/thrust/iterator/shuffle_iterator.h +190 -0
- cuda/cccl/headers/include/thrust/iterator/strided_iterator.h +152 -0
- cuda/cccl/headers/include/thrust/iterator/tabulate_output_iterator.h +152 -0
- cuda/cccl/headers/include/thrust/iterator/transform_input_output_iterator.h +225 -0
- cuda/cccl/headers/include/thrust/iterator/transform_iterator.h +353 -0
- cuda/cccl/headers/include/thrust/iterator/transform_output_iterator.h +190 -0
- cuda/cccl/headers/include/thrust/iterator/zip_iterator.h +365 -0
- cuda/cccl/headers/include/thrust/logical.h +290 -0
- cuda/cccl/headers/include/thrust/memory.h +299 -0
- cuda/cccl/headers/include/thrust/merge.h +726 -0
- cuda/cccl/headers/include/thrust/mismatch.h +262 -0
- cuda/cccl/headers/include/thrust/mr/allocator.h +227 -0
- cuda/cccl/headers/include/thrust/mr/device_memory_resource.h +46 -0
- cuda/cccl/headers/include/thrust/mr/disjoint_pool.h +526 -0
- cuda/cccl/headers/include/thrust/mr/disjoint_sync_pool.h +116 -0
- cuda/cccl/headers/include/thrust/mr/disjoint_tls_pool.h +65 -0
- cuda/cccl/headers/include/thrust/mr/fancy_pointer_resource.h +65 -0
- cuda/cccl/headers/include/thrust/mr/host_memory_resource.h +42 -0
- cuda/cccl/headers/include/thrust/mr/memory_resource.h +215 -0
- cuda/cccl/headers/include/thrust/mr/new.h +98 -0
- cuda/cccl/headers/include/thrust/mr/polymorphic_adaptor.h +61 -0
- cuda/cccl/headers/include/thrust/mr/pool.h +526 -0
- cuda/cccl/headers/include/thrust/mr/pool_options.h +172 -0
- cuda/cccl/headers/include/thrust/mr/sync_pool.h +112 -0
- cuda/cccl/headers/include/thrust/mr/tls_pool.h +62 -0
- cuda/cccl/headers/include/thrust/mr/universal_memory_resource.h +29 -0
- cuda/cccl/headers/include/thrust/mr/validator.h +54 -0
- cuda/cccl/headers/include/thrust/pair.h +102 -0
- cuda/cccl/headers/include/thrust/partition.h +1392 -0
- cuda/cccl/headers/include/thrust/per_device_resource.h +110 -0
- cuda/cccl/headers/include/thrust/random/detail/discard_block_engine.inl +182 -0
- cuda/cccl/headers/include/thrust/random/detail/linear_congruential_engine.inl +153 -0
- cuda/cccl/headers/include/thrust/random/detail/linear_congruential_engine_discard.h +97 -0
- cuda/cccl/headers/include/thrust/random/detail/linear_feedback_shift_engine.inl +149 -0
- cuda/cccl/headers/include/thrust/random/detail/linear_feedback_shift_engine_wordmask.h +46 -0
- cuda/cccl/headers/include/thrust/random/detail/mod.h +94 -0
- cuda/cccl/headers/include/thrust/random/detail/normal_distribution.inl +185 -0
- cuda/cccl/headers/include/thrust/random/detail/normal_distribution_base.h +157 -0
- cuda/cccl/headers/include/thrust/random/detail/random_core_access.h +56 -0
- cuda/cccl/headers/include/thrust/random/detail/subtract_with_carry_engine.inl +199 -0
- cuda/cccl/headers/include/thrust/random/detail/uniform_int_distribution.inl +196 -0
- cuda/cccl/headers/include/thrust/random/detail/uniform_real_distribution.inl +198 -0
- cuda/cccl/headers/include/thrust/random/detail/xor_combine_engine.inl +181 -0
- cuda/cccl/headers/include/thrust/random/detail/xor_combine_engine_max.h +186 -0
- cuda/cccl/headers/include/thrust/random/discard_block_engine.h +238 -0
- cuda/cccl/headers/include/thrust/random/linear_congruential_engine.h +287 -0
- cuda/cccl/headers/include/thrust/random/linear_feedback_shift_engine.h +215 -0
- cuda/cccl/headers/include/thrust/random/normal_distribution.h +256 -0
- cuda/cccl/headers/include/thrust/random/subtract_with_carry_engine.h +245 -0
- cuda/cccl/headers/include/thrust/random/uniform_int_distribution.h +259 -0
- cuda/cccl/headers/include/thrust/random/uniform_real_distribution.h +257 -0
- cuda/cccl/headers/include/thrust/random/xor_combine_engine.h +253 -0
- cuda/cccl/headers/include/thrust/random.h +118 -0
- cuda/cccl/headers/include/thrust/reduce.h +1114 -0
- cuda/cccl/headers/include/thrust/remove.h +768 -0
- cuda/cccl/headers/include/thrust/replace.h +826 -0
- cuda/cccl/headers/include/thrust/reverse.h +215 -0
- cuda/cccl/headers/include/thrust/scan.h +1671 -0
- cuda/cccl/headers/include/thrust/scatter.h +446 -0
- cuda/cccl/headers/include/thrust/sequence.h +277 -0
- cuda/cccl/headers/include/thrust/set_operations.h +3027 -0
- cuda/cccl/headers/include/thrust/shuffle.h +182 -0
- cuda/cccl/headers/include/thrust/sort.h +1320 -0
- cuda/cccl/headers/include/thrust/swap.h +147 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/adjacent_difference.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/assign_value.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/binary_search.h +32 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/copy.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/copy_if.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/count.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/equal.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/execution_policy.h +113 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/extrema.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/fill.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/find.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/for_each.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/gather.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/generate.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/get_value.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/inner_product.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/iter_swap.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/logical.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/malloc_and_free.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/memory.inl +55 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/merge.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/mismatch.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/partition.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/per_device_resource.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/reduce.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/reduce_by_key.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/remove.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/replace.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/reverse.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/scan.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/scan_by_key.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/scatter.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/sequence.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/set_operations.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/sort.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/swap_ranges.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/tabulate.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/temporary_buffer.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/transform.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/transform_reduce.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/transform_scan.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/uninitialized_copy.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/uninitialized_fill.h +29 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/unique.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/detail/unique_by_key.h +30 -0
- cuda/cccl/headers/include/thrust/system/cpp/execution_policy.h +63 -0
- cuda/cccl/headers/include/thrust/system/cpp/memory.h +105 -0
- cuda/cccl/headers/include/thrust/system/cpp/memory_resource.h +70 -0
- cuda/cccl/headers/include/thrust/system/cpp/pointer.h +118 -0
- cuda/cccl/headers/include/thrust/system/cpp/vector.h +95 -0
- cuda/cccl/headers/include/thrust/system/cuda/config.h +126 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/adjacent_difference.h +218 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/assign_value.h +124 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/binary_search.h +29 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/cdp_dispatch.h +72 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/copy.h +272 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/copy_if.h +251 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/core/agent_launcher.h +280 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/core/triple_chevron_launch.h +162 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/core/util.h +578 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/count.h +75 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/cross_system.h +241 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/dispatch.h +230 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/equal.h +62 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/error.inl +87 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/execution_policy.h +266 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/extrema.h +473 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/fill.h +99 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/find.h +165 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/for_each.h +83 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/gather.h +89 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/generate.h +59 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/get_value.h +65 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/inner_product.h +77 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/iter_swap.h +79 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/logical.h +29 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/make_unsigned_special.h +55 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/malloc_and_free.h +119 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/memory.inl +55 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/merge.h +205 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/mismatch.h +88 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/parallel_for.h +79 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/partition.h +401 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/per_device_resource.h +70 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/reduce.h +774 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/reduce_by_key.h +994 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/remove.h +105 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/replace.h +121 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/reverse.h +83 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/scan.h +340 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/scan_by_key.h +412 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/scatter.h +90 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/sequence.h +29 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/set_operations.h +1722 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/sort.h +473 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/swap_ranges.h +99 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/tabulate.h +62 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/temporary_buffer.h +132 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/terminate.h +53 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/transform.h +428 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/transform_reduce.h +139 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/transform_scan.h +117 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/uninitialized_copy.h +114 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/uninitialized_fill.h +102 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/unique.h +288 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/unique_by_key.h +307 -0
- cuda/cccl/headers/include/thrust/system/cuda/detail/util.h +253 -0
- cuda/cccl/headers/include/thrust/system/cuda/error.h +159 -0
- cuda/cccl/headers/include/thrust/system/cuda/execution_policy.h +15 -0
- cuda/cccl/headers/include/thrust/system/cuda/memory.h +118 -0
- cuda/cccl/headers/include/thrust/system/cuda/memory_resource.h +115 -0
- cuda/cccl/headers/include/thrust/system/cuda/pointer.h +155 -0
- cuda/cccl/headers/include/thrust/system/cuda/vector.h +104 -0
- cuda/cccl/headers/include/thrust/system/detail/bad_alloc.h +59 -0
- cuda/cccl/headers/include/thrust/system/detail/errno.h +118 -0
- cuda/cccl/headers/include/thrust/system/detail/error_category.inl +298 -0
- cuda/cccl/headers/include/thrust/system/detail/error_code.inl +171 -0
- cuda/cccl/headers/include/thrust/system/detail/error_condition.inl +119 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/adjacent_difference.h +51 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/adjacent_difference.inl +77 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/binary_search.h +159 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/binary_search.inl +370 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/copy.h +43 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/copy.inl +62 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/copy_if.h +56 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/copy_if.inl +145 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/count.h +46 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/count.inl +82 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/equal.h +47 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/equal.inl +58 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/extrema.h +65 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/extrema.inl +246 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/fill.h +52 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/find.h +47 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/find.inl +135 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/for_each.h +56 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/gather.h +71 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/gather.inl +94 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/generate.h +43 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/generate.inl +64 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/inner_product.h +58 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/inner_product.inl +70 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/logical.h +57 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/memory.h +61 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/memory.inl +83 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/merge.h +97 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/merge.inl +146 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/mismatch.h +47 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/mismatch.inl +67 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/partition.h +127 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/partition.inl +208 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/per_device_resource.h +41 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/reduce.h +69 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/reduce.inl +98 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/reduce_by_key.h +81 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/reduce_by_key.inl +183 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/remove.h +84 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/remove.inl +119 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/replace.h +93 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/replace.inl +172 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/reverse.h +46 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/reverse.inl +65 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/scalar/binary_search.h +61 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/scalar/binary_search.inl +125 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/scan.h +86 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/scan_by_key.h +124 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/scan_by_key.inl +229 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/scatter.h +71 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/scatter.inl +83 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/select_system.h +105 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/sequence.h +70 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/set_operations.h +281 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/set_operations.inl +474 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/shuffle.h +52 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/shuffle.inl +123 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/sort.h +111 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/sort.inl +176 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/swap_ranges.h +42 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/swap_ranges.inl +73 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/tabulate.h +39 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/tabulate.inl +54 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/tag.h +45 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/temporary_buffer.h +53 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/temporary_buffer.inl +81 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/transform.h +393 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/transform_reduce.h +48 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/transform_reduce.inl +54 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/transform_scan.h +78 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/transform_scan.inl +111 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/uninitialized_copy.h +43 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/uninitialized_copy.inl +164 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/uninitialized_fill.h +43 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/uninitialized_fill.inl +112 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/unique.h +69 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/unique.inl +112 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/unique_by_key.h +80 -0
- cuda/cccl/headers/include/thrust/system/detail/generic/unique_by_key.inl +124 -0
- cuda/cccl/headers/include/thrust/system/detail/internal/decompose.h +115 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/adjacent_difference.h +68 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/assign_value.h +40 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/binary_search.h +136 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/copy.h +120 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/copy_backward.h +47 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/copy_if.h +69 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/count.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/equal.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/execution_policy.h +52 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/extrema.h +109 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/fill.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/find.h +60 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/for_each.h +72 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/gather.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/general_copy.h +120 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/generate.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/get_value.h +41 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/inner_product.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/insertion_sort.h +139 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/iter_swap.h +43 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/logical.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/malloc_and_free.h +48 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/merge.h +147 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/mismatch.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/partition.h +298 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/per_device_resource.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/reduce.h +62 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/reduce_by_key.h +97 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/remove.h +177 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/replace.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/reverse.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/scan.h +152 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/scan_by_key.h +143 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/scatter.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/sequence.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/set_operations.h +204 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/sort.h +120 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/stable_merge_sort.h +353 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/stable_primitive_sort.h +121 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/stable_radix_sort.h +584 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/swap_ranges.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/tabulate.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/temporary_buffer.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/transform.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/transform_reduce.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/transform_scan.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/trivial_copy.h +56 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/uninitialized_copy.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/uninitialized_fill.h +29 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/unique.h +112 -0
- cuda/cccl/headers/include/thrust/system/detail/sequential/unique_by_key.h +105 -0
- cuda/cccl/headers/include/thrust/system/detail/system_error.inl +106 -0
- cuda/cccl/headers/include/thrust/system/error_code.h +508 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/adjacent_difference.h +34 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/assign_value.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/binary_search.h +57 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/copy.h +61 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/copy_if.h +39 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/count.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/default_decomposition.h +48 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/equal.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/execution_policy.h +132 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/extrema.h +46 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/fill.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/find.h +33 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/for_each.h +74 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/gather.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/generate.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/get_value.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/inner_product.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/iter_swap.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/logical.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/malloc_and_free.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/merge.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/mismatch.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/partition.h +84 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/per_device_resource.h +16 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/pragma_omp.h +30 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/reduce.h +63 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/reduce_by_key.h +48 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/reduce_intervals.h +87 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/remove.h +67 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/replace.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/reverse.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/scan.h +216 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/scan_by_key.h +23 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/scatter.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/sequence.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/set_operations.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/sort.h +245 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/swap_ranges.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/tabulate.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/temporary_buffer.h +16 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/transform.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/transform_reduce.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/transform_scan.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/uninitialized_copy.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/uninitialized_fill.h +17 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/unique.h +52 -0
- cuda/cccl/headers/include/thrust/system/omp/detail/unique_by_key.h +56 -0
- cuda/cccl/headers/include/thrust/system/omp/execution_policy.h +62 -0
- cuda/cccl/headers/include/thrust/system/omp/memory.h +153 -0
- cuda/cccl/headers/include/thrust/system/omp/memory_resource.h +71 -0
- cuda/cccl/headers/include/thrust/system/omp/pointer.h +120 -0
- cuda/cccl/headers/include/thrust/system/omp/vector.h +96 -0
- cuda/cccl/headers/include/thrust/system/system_error.h +183 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/adjacent_difference.h +33 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/assign_value.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/binary_search.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/copy.h +59 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/copy_if.h +117 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/count.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/equal.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/execution_policy.h +113 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/extrema.h +45 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/fill.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/find.h +28 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/for_each.h +72 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/gather.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/generate.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/get_value.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/inner_product.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/iter_swap.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/logical.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/malloc_and_free.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/merge.h +302 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/mismatch.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/partition.h +79 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/per_device_resource.h +16 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/reduce.h +121 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/reduce_by_key.h +378 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/reduce_intervals.h +118 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/remove.h +66 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/replace.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/reverse.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/scan.h +294 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/scan_by_key.h +20 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/scatter.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/sequence.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/set_operations.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/sort.h +273 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/swap_ranges.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/tabulate.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/temporary_buffer.h +16 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/transform.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/transform_reduce.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/transform_scan.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/uninitialized_copy.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/uninitialized_fill.h +17 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/unique.h +49 -0
- cuda/cccl/headers/include/thrust/system/tbb/detail/unique_by_key.h +55 -0
- cuda/cccl/headers/include/thrust/system/tbb/execution_policy.h +62 -0
- cuda/cccl/headers/include/thrust/system/tbb/memory.h +139 -0
- cuda/cccl/headers/include/thrust/system/tbb/memory_resource.h +57 -0
- cuda/cccl/headers/include/thrust/system/tbb/pointer.h +106 -0
- cuda/cccl/headers/include/thrust/system/tbb/vector.h +82 -0
- cuda/cccl/headers/include/thrust/system_error.h +57 -0
- cuda/cccl/headers/include/thrust/tabulate.h +125 -0
- cuda/cccl/headers/include/thrust/transform.h +1056 -0
- cuda/cccl/headers/include/thrust/transform_reduce.h +190 -0
- cuda/cccl/headers/include/thrust/transform_scan.h +442 -0
- cuda/cccl/headers/include/thrust/tuple.h +139 -0
- cuda/cccl/headers/include/thrust/type_traits/integer_sequence.h +256 -0
- cuda/cccl/headers/include/thrust/type_traits/is_contiguous_iterator.h +156 -0
- cuda/cccl/headers/include/thrust/type_traits/is_execution_policy.h +65 -0
- cuda/cccl/headers/include/thrust/type_traits/is_operator_less_or_greater_function_object.h +180 -0
- cuda/cccl/headers/include/thrust/type_traits/is_operator_plus_function_object.h +112 -0
- cuda/cccl/headers/include/thrust/type_traits/is_trivially_relocatable.h +333 -0
- cuda/cccl/headers/include/thrust/type_traits/logical_metafunctions.h +42 -0
- cuda/cccl/headers/include/thrust/type_traits/unwrap_contiguous_iterator.h +63 -0
- cuda/cccl/headers/include/thrust/uninitialized_copy.h +300 -0
- cuda/cccl/headers/include/thrust/uninitialized_fill.h +268 -0
- cuda/cccl/headers/include/thrust/unique.h +1089 -0
- cuda/cccl/headers/include/thrust/universal_allocator.h +101 -0
- cuda/cccl/headers/include/thrust/universal_ptr.h +34 -0
- cuda/cccl/headers/include/thrust/universal_vector.h +80 -0
- cuda/cccl/headers/include/thrust/version.h +93 -0
- cuda/cccl/headers/include/thrust/zip_function.h +149 -0
- cuda/cccl/headers/include_paths.py +51 -0
- cuda/cccl/headers/lib/cmake/cccl/cccl-config-version.cmake +25 -0
- cuda/cccl/headers/lib/cmake/cccl/cccl-config.cmake +143 -0
- cuda/cccl/headers/lib/cmake/cub/cub-config-version.cmake +29 -0
- cuda/cccl/headers/lib/cmake/cub/cub-config.cmake +172 -0
- cuda/cccl/headers/lib/cmake/cub/cub-header-search.cmake +15 -0
- cuda/cccl/headers/lib/cmake/libcudacxx/libcudacxx-config-version.cmake +37 -0
- cuda/cccl/headers/lib/cmake/libcudacxx/libcudacxx-config.cmake +297 -0
- cuda/cccl/headers/lib/cmake/libcudacxx/libcudacxx-header-search.cmake +15 -0
- cuda/cccl/headers/lib/cmake/thrust/FindTBB.cmake +498 -0
- cuda/cccl/headers/lib/cmake/thrust/README.md +258 -0
- cuda/cccl/headers/lib/cmake/thrust/thrust-config-version.cmake +37 -0
- cuda/cccl/headers/lib/cmake/thrust/thrust-config.cmake +983 -0
- cuda/cccl/headers/lib/cmake/thrust/thrust-header-search.cmake +15 -0
- cuda/cccl/parallel/__init__.py +9 -0
- cuda/cccl/parallel/experimental/__init__.py +24 -0
- cuda/cccl/py.typed +0 -0
- cuda/compute/__init__.py +91 -0
- cuda/compute/_bindings.py +79 -0
- cuda/compute/_bindings.pyi +516 -0
- cuda/compute/_bindings_impl.pyx +2470 -0
- cuda/compute/_caching.py +83 -0
- cuda/compute/_cccl_interop.py +354 -0
- cuda/compute/_odr_helpers.py +238 -0
- cuda/compute/_utils/__init__.py +0 -0
- cuda/compute/_utils/protocols.py +145 -0
- cuda/compute/_utils/temp_storage_buffer.py +87 -0
- cuda/compute/algorithms/__init__.py +62 -0
- cuda/compute/algorithms/_histogram.py +243 -0
- cuda/compute/algorithms/_reduce.py +205 -0
- cuda/compute/algorithms/_scan.py +344 -0
- cuda/compute/algorithms/_segmented_reduce.py +265 -0
- cuda/compute/algorithms/_select.py +196 -0
- cuda/compute/algorithms/_sort/__init__.py +23 -0
- cuda/compute/algorithms/_sort/_merge_sort.py +235 -0
- cuda/compute/algorithms/_sort/_radix_sort.py +263 -0
- cuda/compute/algorithms/_sort/_segmented_sort.py +288 -0
- cuda/compute/algorithms/_sort/_sort_common.py +52 -0
- cuda/compute/algorithms/_three_way_partition.py +292 -0
- cuda/compute/algorithms/_transform.py +317 -0
- cuda/compute/algorithms/_unique_by_key.py +259 -0
- cuda/compute/cccl/.gitkeep +0 -0
- cuda/compute/cu12/_bindings_impl.cpython-312-x86_64-linux-gnu.so +0 -0
- cuda/compute/cu12/cccl/libcccl.c.parallel.so +0 -0
- cuda/compute/cu13/_bindings_impl.cpython-312-x86_64-linux-gnu.so +0 -0
- cuda/compute/cu13/cccl/libcccl.c.parallel.so +0 -0
- cuda/compute/determinism.py +3 -0
- cuda/compute/iterators/__init__.py +23 -0
- cuda/compute/iterators/_factories.py +251 -0
- cuda/compute/iterators/_iterators.py +680 -0
- cuda/compute/iterators/_permutation_iterator.py +266 -0
- cuda/compute/iterators/_zip_iterator.py +268 -0
- cuda/compute/numba_utils.py +54 -0
- cuda/compute/op.py +140 -0
- cuda/compute/struct.py +520 -0
- cuda/compute/typing.py +36 -0
- cuda/coop/__init__.py +8 -0
- cuda/coop/_caching.py +48 -0
- cuda/coop/_common.py +275 -0
- cuda/coop/_nvrtc.py +92 -0
- cuda/coop/_scan_op.py +181 -0
- cuda/coop/_types.py +937 -0
- cuda/coop/_typing.py +107 -0
- cuda/coop/block/__init__.py +39 -0
- cuda/coop/block/_block_exchange.py +251 -0
- cuda/coop/block/_block_load_store.py +215 -0
- cuda/coop/block/_block_merge_sort.py +125 -0
- cuda/coop/block/_block_radix_sort.py +214 -0
- cuda/coop/block/_block_reduce.py +294 -0
- cuda/coop/block/_block_scan.py +983 -0
- cuda/coop/warp/__init__.py +9 -0
- cuda/coop/warp/_warp_merge_sort.py +92 -0
- cuda/coop/warp/_warp_reduce.py +153 -0
- cuda/coop/warp/_warp_scan.py +78 -0
- cuda_cccl-0.4.3.dist-info/METADATA +84 -0
- cuda_cccl-0.4.3.dist-info/RECORD +2024 -0
- cuda_cccl-0.4.3.dist-info/WHEEL +5 -0
- cuda_cccl-0.4.3.dist-info/licenses/LICENSE +1 -0
|
@@ -0,0 +1,986 @@
|
|
|
1
|
+
//===----------------------------------------------------------------------===//
|
|
2
|
+
//
|
|
3
|
+
// Part of libcu++, the C++ Standard Library for your entire system,
|
|
4
|
+
// under the Apache License v2.0 with LLVM Exceptions.
|
|
5
|
+
// See https://llvm.org/LICENSE.txt for license information.
|
|
6
|
+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
7
|
+
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES.
|
|
8
|
+
//
|
|
9
|
+
//===----------------------------------------------------------------------===//
|
|
10
|
+
|
|
11
|
+
#ifndef _CUDA___HIERARCHY_HIERARCHY_DIMENSIONS_H
|
|
12
|
+
#define _CUDA___HIERARCHY_HIERARCHY_DIMENSIONS_H
|
|
13
|
+
|
|
14
|
+
#include <cuda/__hierarchy/level_dimensions.h>
|
|
15
|
+
#include <cuda/std/__type_traits/fold.h>
|
|
16
|
+
#include <cuda/std/__type_traits/is_same.h>
|
|
17
|
+
#include <cuda/std/__type_traits/remove_cvref.h>
|
|
18
|
+
#include <cuda/std/__type_traits/type_list.h>
|
|
19
|
+
#include <cuda/std/__utility/declval.h>
|
|
20
|
+
#include <cuda/std/__utility/integer_sequence.h>
|
|
21
|
+
#include <cuda/std/array>
|
|
22
|
+
#include <cuda/std/span>
|
|
23
|
+
#include <cuda/std/tuple>
|
|
24
|
+
|
|
25
|
+
#include <nv/target>
|
|
26
|
+
|
|
27
|
+
#include <cuda/std/__cccl/prologue.h>
|
|
28
|
+
|
|
29
|
+
_CCCL_BEGIN_NAMESPACE_CUDA
|
|
30
|
+
|
|
31
|
+
namespace __detail
|
|
32
|
+
{
|
|
33
|
+
template <typename _Level>
|
|
34
|
+
[[nodiscard]] _CCCL_API constexpr auto __as_level(_Level __lvl) noexcept -> _Level
|
|
35
|
+
{
|
|
36
|
+
return __lvl;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
template <typename _LevelFn>
|
|
40
|
+
[[nodiscard]] _CCCL_API constexpr auto __as_level(_LevelFn* __fn) noexcept -> decltype(__fn())
|
|
41
|
+
{
|
|
42
|
+
return {};
|
|
43
|
+
}
|
|
44
|
+
} // namespace __detail
|
|
45
|
+
|
|
46
|
+
template <class _Level>
|
|
47
|
+
using __level_type_of = typename _Level::level_type;
|
|
48
|
+
|
|
49
|
+
template <class _BottomUnit = thread_level, class... _Levels>
|
|
50
|
+
struct hierarchy_dimensions;
|
|
51
|
+
|
|
52
|
+
namespace __detail
|
|
53
|
+
{
|
|
54
|
+
// Function to sometimes convince the compiler something is a constexpr and not
|
|
55
|
+
// really accessing runtime storage Mostly a work around for what was addressed
|
|
56
|
+
// in P2280 (c++23) by leveraging the argumentless constructor of extents
|
|
57
|
+
template <class _Tp, size_t... _Extents>
|
|
58
|
+
[[nodiscard]] _CCCL_API constexpr auto __fool_compiler(const dimensions<_Tp, _Extents...>& __ex)
|
|
59
|
+
{
|
|
60
|
+
if constexpr (dimensions<_Tp, _Extents...>::rank_dynamic() == 0)
|
|
61
|
+
{
|
|
62
|
+
return dimensions<_Tp, _Extents...>();
|
|
63
|
+
}
|
|
64
|
+
else
|
|
65
|
+
{
|
|
66
|
+
return __ex;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
template <class _QueryLevel, class _Hierarchy>
|
|
71
|
+
struct __has_level_helper;
|
|
72
|
+
|
|
73
|
+
template <class _QueryLevel, class _Unit, class... _Levels>
|
|
74
|
+
struct __has_level_helper<_QueryLevel, hierarchy_dimensions<_Unit, _Levels...>>
|
|
75
|
+
: public ::cuda::std::__fold_or<::cuda::std::is_same_v<_QueryLevel, __level_type_of<_Levels>>...>
|
|
76
|
+
{};
|
|
77
|
+
|
|
78
|
+
template <class _QueryLevel, class _Hierarchy>
|
|
79
|
+
struct __has_unit
|
|
80
|
+
{};
|
|
81
|
+
|
|
82
|
+
template <class _QueryLevel, class _Unit, class... _Levels>
|
|
83
|
+
struct __has_unit<_QueryLevel, hierarchy_dimensions<_Unit, _Levels...>> : ::cuda::std::is_same<_QueryLevel, _Unit>
|
|
84
|
+
{};
|
|
85
|
+
|
|
86
|
+
template <class _QueryLevel>
|
|
87
|
+
struct __get_level_helper
|
|
88
|
+
{
|
|
89
|
+
template <class _TopLevel, class... _Levels>
|
|
90
|
+
[[nodiscard]] _CCCL_API constexpr auto& operator()(const _TopLevel& __top, const _Levels&... __levels)
|
|
91
|
+
{
|
|
92
|
+
if constexpr (::cuda::std::is_same_v<_QueryLevel, __level_type_of<_TopLevel>>)
|
|
93
|
+
{
|
|
94
|
+
return __top;
|
|
95
|
+
}
|
|
96
|
+
else
|
|
97
|
+
{
|
|
98
|
+
return (*this)(__levels...);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
} // namespace __detail
|
|
103
|
+
|
|
104
|
+
template <class _QueryLevel, class _Hierarchy>
|
|
105
|
+
inline constexpr bool has_level =
|
|
106
|
+
__detail::__has_level_helper<_QueryLevel, ::cuda::std::remove_cvref_t<_Hierarchy>>::value;
|
|
107
|
+
|
|
108
|
+
template <class _QueryLevel, class _Hierarchy>
|
|
109
|
+
inline constexpr bool has_level_or_unit =
|
|
110
|
+
__detail::__has_level_helper<_QueryLevel, ::cuda::std::remove_cvref_t<_Hierarchy>>::value
|
|
111
|
+
|| __detail::__has_unit<_QueryLevel, ::cuda::std::remove_cvref_t<_Hierarchy>>::value;
|
|
112
|
+
|
|
113
|
+
namespace __detail
|
|
114
|
+
{
|
|
115
|
+
template <class... _Levels>
|
|
116
|
+
struct __can_stack_checker
|
|
117
|
+
{
|
|
118
|
+
template <class... _LevelsShifted>
|
|
119
|
+
using __can_stack = ::cuda::std::__fold_and<__detail::__can_rhs_stack_on_lhs<_LevelsShifted, _Levels>...>;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
template <class _LUnit, class _L1, class... _Levels>
|
|
123
|
+
inline constexpr bool __can_stack =
|
|
124
|
+
__can_stack_checker<__level_type_of<_L1>,
|
|
125
|
+
__level_type_of<_Levels>...>::template __can_stack<__level_type_of<_Levels>..., _LUnit>::value;
|
|
126
|
+
|
|
127
|
+
template <size_t... _Id>
|
|
128
|
+
_CCCL_API constexpr auto __reverse_indices(::cuda::std::index_sequence<_Id...>) noexcept
|
|
129
|
+
{
|
|
130
|
+
return ::cuda::std::index_sequence<(sizeof...(_Id) - 1 - _Id)...>();
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
template <class _LUnit, bool _Reversed = false>
|
|
134
|
+
struct __make_hierarchy
|
|
135
|
+
{
|
|
136
|
+
template <class _Levels, size_t... _Ids>
|
|
137
|
+
[[nodiscard]] _CCCL_NODEBUG_API static constexpr auto
|
|
138
|
+
__apply_reverse(const _Levels& __ls, ::cuda::std::index_sequence<_Ids...>) noexcept
|
|
139
|
+
{
|
|
140
|
+
return __make_hierarchy<_LUnit, true>()(::cuda::std::get<_Ids>(__ls)...);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
template <class... _Levels2>
|
|
144
|
+
[[nodiscard]] _CCCL_API constexpr auto operator()(const _Levels2&... __ls) const noexcept
|
|
145
|
+
{
|
|
146
|
+
using _UnitOrDefault = ::cuda::std::conditional_t<
|
|
147
|
+
::cuda::std::is_same_v<void, _LUnit>,
|
|
148
|
+
__default_unit_below<::cuda::std::__type_index_c<sizeof...(_Levels2) - 1, __level_type_of<_Levels2>...>>,
|
|
149
|
+
_LUnit>;
|
|
150
|
+
if constexpr (__can_stack<_UnitOrDefault, _Levels2...>)
|
|
151
|
+
{
|
|
152
|
+
return hierarchy_dimensions(_UnitOrDefault{}, __ls...);
|
|
153
|
+
}
|
|
154
|
+
else if constexpr (!_Reversed)
|
|
155
|
+
{
|
|
156
|
+
return __apply_reverse(::cuda::std::tie(__ls...),
|
|
157
|
+
__reverse_indices(::cuda::std::index_sequence_for<_Levels2...>()));
|
|
158
|
+
}
|
|
159
|
+
else
|
|
160
|
+
{
|
|
161
|
+
static_assert(__can_stack<_UnitOrDefault, _Levels2...>,
|
|
162
|
+
"Provided levels can't create a valid hierarchy when "
|
|
163
|
+
"stacked in the provided order or reversed");
|
|
164
|
+
_CCCL_UNREACHABLE();
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
template <class _LUnit>
|
|
170
|
+
[[nodiscard]] _CCCL_API constexpr auto __get_levels_range_end() noexcept
|
|
171
|
+
{
|
|
172
|
+
return ::cuda::std::make_tuple();
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// Find LUnit in Levels... and discard the rest
|
|
176
|
+
// maybe_unused needed for MSVC
|
|
177
|
+
template <class _LUnit, class _LDims, class... _Levels>
|
|
178
|
+
[[nodiscard]] _CCCL_API constexpr auto
|
|
179
|
+
__get_levels_range_end(const _LDims& __lvl, [[maybe_unused]] const _Levels&... __levels) noexcept
|
|
180
|
+
{
|
|
181
|
+
if constexpr (::cuda::std::is_same_v<_LUnit, __level_type_of<_LDims>>)
|
|
182
|
+
{
|
|
183
|
+
return ::cuda::std::make_tuple();
|
|
184
|
+
}
|
|
185
|
+
else
|
|
186
|
+
{
|
|
187
|
+
return ::cuda::std::tuple_cat(::cuda::std::tie(__lvl), __get_levels_range_end<_LUnit>(__levels...));
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
// Find the LTop in Levels... and discard the preceding ones
|
|
192
|
+
template <class _LTop, class _LUnit, class _LTopDims, class... _Levels>
|
|
193
|
+
[[nodiscard]] _CCCL_API constexpr auto
|
|
194
|
+
__get_levels_range_start(const _LTopDims& __ltop, const _Levels&... __levels) noexcept
|
|
195
|
+
{
|
|
196
|
+
if constexpr (::cuda::std::is_same_v<_LTop, __level_type_of<_LTopDims>>)
|
|
197
|
+
{
|
|
198
|
+
return __get_levels_range_end<_LUnit>(__ltop, __levels...);
|
|
199
|
+
}
|
|
200
|
+
else
|
|
201
|
+
{
|
|
202
|
+
return __get_levels_range_start<_LTop, _LUnit>(__levels...);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
// Creates a new hierarchy from Levels... cutting out levels between LTop and
|
|
207
|
+
// LUnit
|
|
208
|
+
template <class _LTop, class _LUnit, class... _Levels>
|
|
209
|
+
[[nodiscard]] _CCCL_API constexpr auto __get_levels_range(const _Levels&... __levels) noexcept
|
|
210
|
+
{
|
|
211
|
+
return __get_levels_range_start<_LTop, _LUnit>(__levels...);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
template <class _Tp, size_t... _Extents, size_t... _Ids>
|
|
215
|
+
[[nodiscard]] _CCCL_API constexpr auto
|
|
216
|
+
__dims_to_count_helper(const dimensions<_Tp, _Extents...>& __ex, ::cuda::std::index_sequence<_Ids...>)
|
|
217
|
+
{
|
|
218
|
+
return (__ex.extent(_Ids) * ...);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
template <class _Tp, size_t... _Extents>
|
|
222
|
+
[[nodiscard]] _CCCL_API constexpr auto __dims_to_count(const dimensions<_Tp, _Extents...>& __dims) noexcept
|
|
223
|
+
{
|
|
224
|
+
return __dims_to_count_helper(__dims, ::cuda::std::make_index_sequence<sizeof...(_Extents)>{});
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
template <class... _Levels>
|
|
228
|
+
[[nodiscard]] _CCCL_API constexpr auto __get_level_counts_helper(const _Levels&... __ls)
|
|
229
|
+
{
|
|
230
|
+
return ::cuda::std::make_tuple(__dims_to_count(__ls.dims)...);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
template <class _Unit, class _Level, class _Dims>
|
|
234
|
+
[[nodiscard]] _CCCL_API constexpr auto __replace_with_intrinsics_or_constexpr(const _Dims& __dims)
|
|
235
|
+
{
|
|
236
|
+
if constexpr (is_core_cuda_hierarchy_level<_Level> && is_core_cuda_hierarchy_level<_Unit>
|
|
237
|
+
&& _Dims::rank_dynamic() != 0)
|
|
238
|
+
{
|
|
239
|
+
// We replace hierarchy access with CUDA intrinsic to enable compiler
|
|
240
|
+
// optimizations, its ok for the prototype, but might lead to unexpected
|
|
241
|
+
// results and should be eventually addressed at the API level
|
|
242
|
+
// TODO with device side launch we should have a way to disable it for the
|
|
243
|
+
// device-side created hierarchy
|
|
244
|
+
NV_IF_ELSE_TARGET(NV_IS_DEVICE,
|
|
245
|
+
(::dim3 __intr_dims = ::cuda::__detail::__dims_helper<_Unit, _Level>::extents();
|
|
246
|
+
return __fool_compiler(_Dims(__intr_dims.x, __intr_dims.y, __intr_dims.z));),
|
|
247
|
+
(return __fool_compiler(__dims);));
|
|
248
|
+
}
|
|
249
|
+
else
|
|
250
|
+
{
|
|
251
|
+
return __fool_compiler(__dims);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
template <class _BottomUnit>
|
|
256
|
+
struct __hierarchy_extents_helper
|
|
257
|
+
{
|
|
258
|
+
template <class _LTopDims, class... _Levels>
|
|
259
|
+
[[nodiscard]] _CCCL_API constexpr auto operator()(const _LTopDims& __ltop, const _Levels&... __levels) noexcept
|
|
260
|
+
{
|
|
261
|
+
using _TopLevel = __level_type_of<_LTopDims>;
|
|
262
|
+
if constexpr (sizeof...(_Levels) == 0)
|
|
263
|
+
{
|
|
264
|
+
return __replace_with_intrinsics_or_constexpr<_BottomUnit, _TopLevel>(__ltop.dims);
|
|
265
|
+
}
|
|
266
|
+
else
|
|
267
|
+
{
|
|
268
|
+
using _Unit = ::cuda::std::__type_index_c<0, __level_type_of<_Levels>...>;
|
|
269
|
+
return ::cuda::__detail::__dims_product<typename _TopLevel::product_type>(
|
|
270
|
+
__replace_with_intrinsics_or_constexpr<_Unit, _TopLevel>(__ltop.dims), (*this)(__levels...));
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
template <class _Tp, size_t... _Extents>
|
|
276
|
+
[[nodiscard]] _CCCL_DEVICE constexpr auto __static_index_hint(const dimensions<_Tp, _Extents...>& __dims, ::dim3 __index)
|
|
277
|
+
{
|
|
278
|
+
using _HintedIndexT = dimensions<_Tp, (_Extents == 1 ? 0 : ::cuda::std::dynamic_extent)...>;
|
|
279
|
+
return _HintedIndexT(__index.x, __index.y, __index.z);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
template <class _BottomUnit>
|
|
283
|
+
struct __index_helper
|
|
284
|
+
{
|
|
285
|
+
template <class _LTopDims, class... _Levels>
|
|
286
|
+
[[nodiscard]] _CCCL_DEVICE constexpr auto operator()(const _LTopDims& __ltop, const _Levels&... __levels) noexcept
|
|
287
|
+
{
|
|
288
|
+
using _TopLevel = __level_type_of<_LTopDims>;
|
|
289
|
+
if constexpr (sizeof...(_Levels) == 0)
|
|
290
|
+
{
|
|
291
|
+
return __static_index_hint(__ltop.dims, ::cuda::__detail::__dims_helper<_BottomUnit, _TopLevel>::index());
|
|
292
|
+
}
|
|
293
|
+
else
|
|
294
|
+
{
|
|
295
|
+
using _Unit = ::cuda::std::__type_index_c<0, __level_type_of<_Levels>...>;
|
|
296
|
+
const auto __hinted_index =
|
|
297
|
+
__static_index_hint(__ltop.dims, ::cuda::__detail::__dims_helper<_Unit, _TopLevel>::index());
|
|
298
|
+
return ::cuda::__detail::__dims_sum<typename _TopLevel::product_type>(
|
|
299
|
+
::cuda::__detail::__dims_product<typename _TopLevel::product_type>(
|
|
300
|
+
__hinted_index, __hierarchy_extents_helper<_BottomUnit>()(__levels...)),
|
|
301
|
+
__index_helper<_BottomUnit>()(__levels...));
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
template <class _BottomUnit>
|
|
307
|
+
struct __rank_helper
|
|
308
|
+
{
|
|
309
|
+
template <class _LTopDims, class... _Levels>
|
|
310
|
+
[[nodiscard]] _CCCL_DEVICE constexpr auto operator()(const _LTopDims& __ltop, const _Levels&... __levels) noexcept
|
|
311
|
+
{
|
|
312
|
+
using _TopLevel = __level_type_of<_LTopDims>;
|
|
313
|
+
if constexpr (sizeof...(_Levels) == 0)
|
|
314
|
+
{
|
|
315
|
+
const auto __hinted_index =
|
|
316
|
+
__static_index_hint(__ltop.dims, ::cuda::__detail::__dims_helper<_BottomUnit, _TopLevel>::index());
|
|
317
|
+
return ::cuda::__detail::__index_to_linear<typename _TopLevel::product_type>(__hinted_index, __ltop.dims);
|
|
318
|
+
}
|
|
319
|
+
else
|
|
320
|
+
{
|
|
321
|
+
using _Unit = ::cuda::std::__type_index_c<0, __level_type_of<_Levels>...>;
|
|
322
|
+
const auto __hinted_index =
|
|
323
|
+
__static_index_hint(__ltop.dims, ::cuda::__detail::__dims_helper<_Unit, _TopLevel>::index());
|
|
324
|
+
auto __level_rank =
|
|
325
|
+
::cuda::__detail::__index_to_linear<typename _TopLevel::product_type>(__hinted_index, __ltop.dims);
|
|
326
|
+
return __level_rank * __dims_to_count(__hierarchy_extents_helper<_BottomUnit>()(__levels...))
|
|
327
|
+
+ __rank_helper<_BottomUnit>()(__levels...);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
};
|
|
331
|
+
} // namespace __detail
|
|
332
|
+
|
|
333
|
+
// Artificial empty hierarchy to make it possible for the config type to be
|
|
334
|
+
// empty, seems easier than checking everywhere in hierarchy APIs if its not
|
|
335
|
+
// empty. Any usage of an empty hierarchy other than combine should lead to an
|
|
336
|
+
// error anyway
|
|
337
|
+
struct __empty_hierarchy
|
|
338
|
+
{
|
|
339
|
+
template <class _Other>
|
|
340
|
+
[[nodiscard]] _Other combine(const _Other& __other) const
|
|
341
|
+
{
|
|
342
|
+
return __other;
|
|
343
|
+
}
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* @brief Type representing a hierarchy of CUDA threads
|
|
348
|
+
*
|
|
349
|
+
* This type combines a number of level_dimensions objects to represent
|
|
350
|
+
* dimensions of a (possibly partial) hierarchy of CUDA threads. It supports
|
|
351
|
+
* accessing individual levels or queries combining dimensions of multiple
|
|
352
|
+
* levels. This type should not be created directly and make_hierarchy function
|
|
353
|
+
* should be used instead. For every level, the unit for its dimensions is
|
|
354
|
+
* implied by the next level in the hierarchy, except for the last type, for
|
|
355
|
+
* which its the BottomUnit template argument. In case the BottomUnit type is
|
|
356
|
+
* thread_level, the hierarchy is considered complete and there exist an alias
|
|
357
|
+
* template for it named hierarchy_dimensions, that only takes the Levels...
|
|
358
|
+
* template argument.
|
|
359
|
+
*
|
|
360
|
+
* @par Snippet
|
|
361
|
+
* @code
|
|
362
|
+
* #include <cudax/hierarchy_dimensions.cuh>
|
|
363
|
+
*
|
|
364
|
+
* auto hierarchy = make_hierarchy(grid_dims(256), block_dims<8, 8, 8>());
|
|
365
|
+
* assert(hierarchy.level(grid).dims.x == 256);
|
|
366
|
+
* static_assert(hierarchy.count(thread, block) == 8 * 8 * 8);
|
|
367
|
+
* @endcode
|
|
368
|
+
* @par
|
|
369
|
+
*
|
|
370
|
+
* @tparam BottomUnit
|
|
371
|
+
* Type indicating what is the unit of the last level in the hierarchy
|
|
372
|
+
*
|
|
373
|
+
* @tparam Levels
|
|
374
|
+
* Template parameter pack with the types of levels in the hierarchy, must be
|
|
375
|
+
* level_dimensions instances or types derived from it
|
|
376
|
+
*/
|
|
377
|
+
template <class _BottomUnit, class... _Levels>
|
|
378
|
+
struct hierarchy_dimensions
|
|
379
|
+
{
|
|
380
|
+
static_assert(::cuda::std::is_base_of_v<hierarchy_level, _BottomUnit> || ::cuda::std::is_same_v<_BottomUnit, void>);
|
|
381
|
+
::cuda::std::tuple<_Levels...> levels;
|
|
382
|
+
|
|
383
|
+
_CCCL_API constexpr hierarchy_dimensions(const _Levels&... __ls) noexcept
|
|
384
|
+
: levels(__ls...)
|
|
385
|
+
{}
|
|
386
|
+
_CCCL_API constexpr hierarchy_dimensions(const _BottomUnit&, const _Levels&... __ls) noexcept
|
|
387
|
+
: levels(__ls...)
|
|
388
|
+
{}
|
|
389
|
+
|
|
390
|
+
_CCCL_API constexpr hierarchy_dimensions(const ::cuda::std::tuple<_Levels...>& __ls) noexcept
|
|
391
|
+
: levels(__ls)
|
|
392
|
+
{}
|
|
393
|
+
|
|
394
|
+
_CCCL_API constexpr hierarchy_dimensions(const _BottomUnit&, const ::cuda::std::tuple<_Levels...>& __ls) noexcept
|
|
395
|
+
: levels(__ls)
|
|
396
|
+
{}
|
|
397
|
+
|
|
398
|
+
#if !defined(_CCCL_NO_THREE_WAY_COMPARISON) && !_CCCL_COMPILER(MSVC, <, 19, 39) && !_CCCL_COMPILER(GCC, <, 12)
|
|
399
|
+
[[nodiscard]] _CCCL_HIDE_FROM_ABI constexpr bool operator==(const hierarchy_dimensions&) const noexcept = default;
|
|
400
|
+
#else // ^^^ !_CCCL_NO_THREE_WAY_COMPARISON ^^^ / vvv
|
|
401
|
+
// _CCCL_NO_THREE_WAY_COMPARISON vvv
|
|
402
|
+
[[nodiscard]] _CCCL_API friend constexpr bool
|
|
403
|
+
operator==(const hierarchy_dimensions& __left, const hierarchy_dimensions& __right) noexcept
|
|
404
|
+
{
|
|
405
|
+
return __left.levels == __right.levels;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
[[nodiscard]] _CCCL_API friend constexpr bool
|
|
409
|
+
operator!=(const hierarchy_dimensions& __left, const hierarchy_dimensions& __right) noexcept
|
|
410
|
+
{
|
|
411
|
+
return __left.levels != __right.levels;
|
|
412
|
+
}
|
|
413
|
+
#endif // _CCCL_NO_THREE_WAY_COMPARISON
|
|
414
|
+
|
|
415
|
+
private:
|
|
416
|
+
// This being static is a bit of a hack to make extents_type working without
|
|
417
|
+
// incomplete class member access
|
|
418
|
+
template <class _Unit, class _Level>
|
|
419
|
+
[[nodiscard]] _CCCL_API static constexpr auto
|
|
420
|
+
levels_range_static(const ::cuda::std::tuple<_Levels...>& __levels) noexcept
|
|
421
|
+
{
|
|
422
|
+
static_assert(has_level<_Level, hierarchy_dimensions<_BottomUnit, _Levels...>>);
|
|
423
|
+
static_assert(has_level_or_unit<_Unit, hierarchy_dimensions<_BottomUnit, _Levels...>>);
|
|
424
|
+
static_assert(__detail::__legal_unit_for_level<_Unit, _Level>);
|
|
425
|
+
auto __fn = __detail::__get_levels_range<_Level, _Unit, _Levels...>;
|
|
426
|
+
return ::cuda::std::apply(__fn, __levels);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
// TODO is this useful enough to expose?
|
|
430
|
+
template <class _Unit, class _Level>
|
|
431
|
+
[[nodiscard]] _CCCL_API constexpr auto levels_range() const noexcept
|
|
432
|
+
{
|
|
433
|
+
return levels_range_static<_Unit, _Level>(levels);
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
template <class _Unit>
|
|
437
|
+
struct fragment_helper
|
|
438
|
+
{
|
|
439
|
+
template <class... _Selected>
|
|
440
|
+
[[nodiscard]] _CCCL_API constexpr auto operator()(const _Selected&... __levels) const noexcept
|
|
441
|
+
{
|
|
442
|
+
return hierarchy_dimensions<_Unit, _Selected...>(__levels...);
|
|
443
|
+
}
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
public:
|
|
447
|
+
template <class, class...>
|
|
448
|
+
friend struct hierarchy_dimensions;
|
|
449
|
+
|
|
450
|
+
template <class _Unit, class _Level>
|
|
451
|
+
using extents_type = decltype(::cuda::std::apply(
|
|
452
|
+
::cuda::std::declval<__detail::__hierarchy_extents_helper<_Unit>>(),
|
|
453
|
+
hierarchy_dimensions::levels_range_static<_Unit, _Level>(::cuda::std::declval<::cuda::std::tuple<_Levels...>>())));
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* @brief Get a fragment of this hierarchy
|
|
457
|
+
*
|
|
458
|
+
* This member function can be used to get a fragment of the hierarchy its
|
|
459
|
+
* called on. It returns a hierarchy_dimensions that includes levels starting
|
|
460
|
+
* with the level specified in Level and ending with a level before Unit.
|
|
461
|
+
* Toegether with hierarchy_add_level function it can be used to create a new
|
|
462
|
+
* hierarchy that is a modification of an existing hierarchy.
|
|
463
|
+
* @par Snippet
|
|
464
|
+
* @code
|
|
465
|
+
* #include <cudax/hierarchy_dimensions.cuh>
|
|
466
|
+
*
|
|
467
|
+
* auto hierarchy = make_hierarchy(grid_dims(256), cluster_dims<4>(),
|
|
468
|
+
* block_dims<8, 8, 8>()); auto fragment = hierarchy.fragment(block, grid);
|
|
469
|
+
* auto new_hierarchy = hierarchy_add_level(fragment, block_dims<128>());
|
|
470
|
+
* static_assert(new_hierarchy.count(thread, block) == 128);
|
|
471
|
+
* @endcode
|
|
472
|
+
* @par
|
|
473
|
+
*
|
|
474
|
+
* @tparam Unit
|
|
475
|
+
* Type indicating what should be the unit of the resulting fragment
|
|
476
|
+
*
|
|
477
|
+
* @tparam Level
|
|
478
|
+
* Type indicating what should be the top most level of the resulting
|
|
479
|
+
* fragment
|
|
480
|
+
*/
|
|
481
|
+
template <typename _Unit, typename _Level>
|
|
482
|
+
_CCCL_API constexpr auto fragment(const _Unit& = _Unit(), const _Level& = _Level()) const noexcept
|
|
483
|
+
{
|
|
484
|
+
auto selected = levels_range<_Unit, _Level>();
|
|
485
|
+
// TODO fragment can't do constexpr queries because we use references here,
|
|
486
|
+
// can we create copies of the levels in some cases and move to the
|
|
487
|
+
// constructor?
|
|
488
|
+
return ::cuda::std::apply(fragment_helper<_Unit>(), selected);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* @brief Returns extents of multi-dimensional index space of a specified
|
|
493
|
+
* range of levels in this hierarchy.
|
|
494
|
+
*
|
|
495
|
+
* Each dimension in the returned extents is a product of the corresponding
|
|
496
|
+
* dimension in extents of each level in the range between Level and Unit. The
|
|
497
|
+
* returned hierarchy_query_result type can be used like cuda::std::extents or
|
|
498
|
+
* dim3. Unit and Level need to be levels present in this hierarchy.
|
|
499
|
+
*
|
|
500
|
+
* @par Snippet
|
|
501
|
+
* @code
|
|
502
|
+
* #include <cudax/hierarchy_dimensions.cuh>
|
|
503
|
+
* #include <cassert>
|
|
504
|
+
*
|
|
505
|
+
* using namespace cuda;
|
|
506
|
+
*
|
|
507
|
+
* auto hierarchy = make_hierarchy(grid_dims(256), cluster_dims<4>(),
|
|
508
|
+
* block_dims<8, 8, 8>()); static_assert(hierarchy.extents(thread,
|
|
509
|
+
* cluster).extent(0) == 4 * 8); static_assert(hierarchy.extents(thread,
|
|
510
|
+
* cluster).extent(1) == 8); static_assert(hierarchy.extents(thread,
|
|
511
|
+
* cluster).extent(2) == 8);
|
|
512
|
+
*
|
|
513
|
+
* // Using default arguments:
|
|
514
|
+
* assert(hierarchy.extents().extent(0) == 256 * 4 * 8);
|
|
515
|
+
* assert(hierarchy.extents(cluster).extent(0) == 256);
|
|
516
|
+
* @endcode
|
|
517
|
+
* @par
|
|
518
|
+
*
|
|
519
|
+
* @tparam Unit
|
|
520
|
+
* Specifies the unit of the requested extents
|
|
521
|
+
*
|
|
522
|
+
* @tparam Level
|
|
523
|
+
* Specifies at what CUDA hierarchy level the extents are requested
|
|
524
|
+
*/
|
|
525
|
+
template <typename _Unit = _BottomUnit, typename _Level = __level_type_of<::cuda::std::__type_index_c<0, _Levels...>>>
|
|
526
|
+
_CCCL_API constexpr auto extents(const _Unit& = _Unit(), const _Level& = _Level()) const noexcept
|
|
527
|
+
{
|
|
528
|
+
auto selected = levels_range<_Unit, _Level>();
|
|
529
|
+
return ::cuda::__detail::__convert_to_query_result(
|
|
530
|
+
::cuda::std::apply(__detail::__hierarchy_extents_helper<_Unit>{}, selected));
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
//!
|
|
534
|
+
//! @brief Get static extents of a multi-dimensional index space of a
|
|
535
|
+
//! specified range of levels in this hierarchy.
|
|
536
|
+
//!
|
|
537
|
+
//! Each dimension in the returned static extents is a product of the
|
|
538
|
+
//! corresponding dimension in static extents of each level in the range
|
|
539
|
+
//! between Level and Unit. Unit and Level need to be levels present in this
|
|
540
|
+
//! hierarchy.
|
|
541
|
+
//!
|
|
542
|
+
//! @return Returns a cuda::std::array object of type size_t.
|
|
543
|
+
//!
|
|
544
|
+
//! @par Snippet
|
|
545
|
+
//! @code
|
|
546
|
+
//! #include <cudax/hierarchy_dimensions.cuh>
|
|
547
|
+
//! #include <cassert>
|
|
548
|
+
//!
|
|
549
|
+
//! using namespace cuda;
|
|
550
|
+
//!
|
|
551
|
+
//! auto hierarchy = make_hierarchy(grid_dims(256), cluster_dims<4>(),
|
|
552
|
+
//! block_dims<8, 8, 8>()); static_assert(hierarchy.static_extents(thread,
|
|
553
|
+
//! cluster)[0] == 4 * 8); static_assert(hierarchy.static_extents(thread,
|
|
554
|
+
//! cluster)[1] == 8); static_assert(hierarchy.static_extents(thread,
|
|
555
|
+
//! cluster)[2] == 8); static_assert(hierarchy.static_extents(thread, grid)[0]
|
|
556
|
+
//! == cuda::std::dynamic_extent);
|
|
557
|
+
//!
|
|
558
|
+
//! // Using default arguments:
|
|
559
|
+
//! assert(hierarchy.static_extents()[0] == cuda::std::dynamic_extent);
|
|
560
|
+
//! assert(hierarchy.static_extents(cluster)[0] == cuda::std::dynamic_extent);
|
|
561
|
+
//! @endcode
|
|
562
|
+
//! @par
|
|
563
|
+
//!
|
|
564
|
+
//! @tparam Unit
|
|
565
|
+
//! Specifies the unit of the requested extents
|
|
566
|
+
//!
|
|
567
|
+
//! @tparam Level
|
|
568
|
+
//! Specifies at what CUDA hierarchy level the extents are requested
|
|
569
|
+
template <class _Unit = _BottomUnit, class _Level = __level_type_of<::cuda::std::__type_index_c<0, _Levels...>>>
|
|
570
|
+
[[nodiscard]] _CCCL_API static constexpr auto static_extents(const _Unit& = _Unit(), const _Level& = _Level()) noexcept
|
|
571
|
+
{
|
|
572
|
+
using Exts = extents_type<_Unit, _Level>;
|
|
573
|
+
::cuda::std::array<::cuda::std::size_t, Exts::rank()> __ret{0};
|
|
574
|
+
for (::cuda::std::size_t i = 0; i < Exts::rank(); ++i)
|
|
575
|
+
{
|
|
576
|
+
__ret[i] = Exts::static_extent(i);
|
|
577
|
+
}
|
|
578
|
+
return __ret;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* @brief Returns a count of specified entities at a level in this hierarchy.
|
|
583
|
+
*
|
|
584
|
+
* This function return a product of all dimensions of each level in the range
|
|
585
|
+
* between Level and Unit. Unit and Level need to be levels present in this
|
|
586
|
+
* hierarchy.
|
|
587
|
+
*
|
|
588
|
+
* @par Snippet
|
|
589
|
+
* @code
|
|
590
|
+
* #include <cudax/hierarchy_dimensions.cuh>
|
|
591
|
+
* #include <cassert>
|
|
592
|
+
*
|
|
593
|
+
* using namespace cuda;
|
|
594
|
+
*
|
|
595
|
+
* auto hierarchy = make_hierarchy(grid_dims(256), cluster_dims<4>(),
|
|
596
|
+
* block_dims<8, 8, 8>()); static_assert(hierarchy.count(thread, cluster) == 4
|
|
597
|
+
* * 8 * 8 * 8);
|
|
598
|
+
*
|
|
599
|
+
* // Using default arguments:
|
|
600
|
+
* assert(hierarchy.count() == 256 * 4 * 8 * 8 * 8);
|
|
601
|
+
* assert(hierarchy.count(cluster) == 256);
|
|
602
|
+
* @endcode
|
|
603
|
+
* @par
|
|
604
|
+
*
|
|
605
|
+
* @tparam Unit
|
|
606
|
+
* Specifies what should be counted
|
|
607
|
+
*
|
|
608
|
+
* @tparam Level
|
|
609
|
+
* Specifies at what level the count should happen
|
|
610
|
+
*/
|
|
611
|
+
template <typename _Unit = _BottomUnit, typename _Level = __level_type_of<::cuda::std::__type_index_c<0, _Levels...>>>
|
|
612
|
+
_CCCL_API constexpr auto count(const _Unit& = _Unit(), const _Level& = _Level()) const noexcept
|
|
613
|
+
{
|
|
614
|
+
return ::cuda::__detail::__dims_to_count(extents<_Unit, _Level>());
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* @brief Returns a compile time count of specified entities at a level in
|
|
619
|
+
* this hierarchy type.
|
|
620
|
+
*
|
|
621
|
+
* This function return a product of all dimensions of each level in the range
|
|
622
|
+
* between Level and Unit, if all of those dimensions are specified
|
|
623
|
+
* statically. If at least one of them is a dynamic value, this function
|
|
624
|
+
* returns cuda::std::dynamic_extent instead. Unit and Level need to be levels
|
|
625
|
+
* present in this hierarchy.
|
|
626
|
+
*
|
|
627
|
+
* @par Snippet
|
|
628
|
+
* @code
|
|
629
|
+
* #include <cudax/hierarchy_dimensions.cuh>
|
|
630
|
+
* #include <cassert>
|
|
631
|
+
*
|
|
632
|
+
* using namespace cuda;
|
|
633
|
+
*
|
|
634
|
+
* auto hierarchy = make_hierarchy(grid_dims(256), cluster_dims<4>(),
|
|
635
|
+
* block_dims<8, 8, 8>()); static_assert(hierarchy.static_count(thread,
|
|
636
|
+
* cluster) == 4 * 8 * 8 * 8);
|
|
637
|
+
*
|
|
638
|
+
* // Using default arguments:
|
|
639
|
+
* assert(hierarchy.static_count() == cuda::std::dynamic_extent);
|
|
640
|
+
* @endcode
|
|
641
|
+
* @par
|
|
642
|
+
*
|
|
643
|
+
* @tparam Unit
|
|
644
|
+
* Specifies what should be counted
|
|
645
|
+
*
|
|
646
|
+
* @tparam Level
|
|
647
|
+
* Specifies at what level the count should happen
|
|
648
|
+
*/
|
|
649
|
+
template <typename _Unit = _BottomUnit, typename _Level = __level_type_of<::cuda::std::__type_index_c<0, _Levels...>>>
|
|
650
|
+
_CCCL_API constexpr static auto static_count(const _Unit& = _Unit(), const _Level& = _Level()) noexcept
|
|
651
|
+
{
|
|
652
|
+
if constexpr (extents_type<_Unit, _Level>::rank_dynamic() == 0)
|
|
653
|
+
{
|
|
654
|
+
return __detail::__dims_to_count(extents_type<_Unit, _Level>());
|
|
655
|
+
}
|
|
656
|
+
else
|
|
657
|
+
{
|
|
658
|
+
return ::cuda::std::dynamic_extent;
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* @brief Returns a 3-dimensional index of an entity the calling thread
|
|
664
|
+
* belongs to in a hierarchy level
|
|
665
|
+
*
|
|
666
|
+
* Returned index is in line with intrinsic CUDA indexing like threadIdx and
|
|
667
|
+
* blockIdx, extentded to more unit/level combinations. Returns a
|
|
668
|
+
* hierarchy_query_result object, which can be used like cuda::std::extents or
|
|
669
|
+
* dim3. This query will use any statically available information in the
|
|
670
|
+
* hierarchy to simplify rank calculation compared to the rank function
|
|
671
|
+
* operating only on level types (for example if extent of a certain dimnsion
|
|
672
|
+
* is 1, then index will be statically 0). Unit and Level need to be present
|
|
673
|
+
* in the hierarchy. Available only in device code.
|
|
674
|
+
*
|
|
675
|
+
* @par Snippet
|
|
676
|
+
* @code
|
|
677
|
+
* #include <cudax/hierarchy_dimensions.cuh>
|
|
678
|
+
* #include <cassert>
|
|
679
|
+
*
|
|
680
|
+
* using namespace cuda;
|
|
681
|
+
*
|
|
682
|
+
* template <typename Dimensions>
|
|
683
|
+
* __global__ void kernel(Dimensions dims)
|
|
684
|
+
* {
|
|
685
|
+
* // Can be called with the instances of level types
|
|
686
|
+
* auto thread_index_in_block = dims.index(thread, block);
|
|
687
|
+
* assert(thread_index_in_block == threadIdx);
|
|
688
|
+
* // With default arguments:
|
|
689
|
+
* auto block_index_in_grid = dims.index(block);
|
|
690
|
+
* assert(block_index_in_grid == blockIdx);
|
|
691
|
+
*
|
|
692
|
+
* // Or using the level types as template arguments
|
|
693
|
+
* int thread_index_in_grid = dims.template index<thread_level,
|
|
694
|
+
* grid_level>();
|
|
695
|
+
* }
|
|
696
|
+
* @endcode
|
|
697
|
+
* @par
|
|
698
|
+
*
|
|
699
|
+
* @tparam Unit
|
|
700
|
+
* Specifies the entity that the index is requested for
|
|
701
|
+
*
|
|
702
|
+
* @tparam Level
|
|
703
|
+
* Specifies at what hierarchy level the index is requested
|
|
704
|
+
*/
|
|
705
|
+
template <typename _Unit = _BottomUnit, typename _Level = __level_type_of<::cuda::std::__type_index_c<0, _Levels...>>>
|
|
706
|
+
_CCCL_DEVICE constexpr auto index(const _Unit& = _Unit(), const _Level& = _Level()) const noexcept
|
|
707
|
+
{
|
|
708
|
+
auto selected = levels_range<_Unit, _Level>();
|
|
709
|
+
return ::cuda::__detail::__convert_to_query_result(::cuda::std::apply(__detail::__index_helper<_Unit>{}, selected));
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* @brief Ranks an entity the calling thread belongs to in a hierarchy level
|
|
714
|
+
*
|
|
715
|
+
* Returns a unique numeric rank within Level of the Unit that the calling
|
|
716
|
+
* thread belongs to. Returned rank is always in in range 0 to count - 1. This
|
|
717
|
+
* query will use any statically available information in the hierarchy to
|
|
718
|
+
* simplify rank calculation compared to the rank function operating only on
|
|
719
|
+
* level types. Unit and Level need to be present in the hierarchy. Available
|
|
720
|
+
* only in device code.
|
|
721
|
+
*
|
|
722
|
+
* @par Snippet
|
|
723
|
+
* @code
|
|
724
|
+
* #include <cudax/hierarchy_dimensions.cuh>
|
|
725
|
+
*
|
|
726
|
+
* using namespace cuda;
|
|
727
|
+
*
|
|
728
|
+
* template <typename Dimensions>
|
|
729
|
+
* __global__ void kernel(Dimensions dims)
|
|
730
|
+
* {
|
|
731
|
+
* // Can be called with the instances of level types
|
|
732
|
+
* int thread_rank_in_block = dims.rank(thread, block);
|
|
733
|
+
* // With default arguments:
|
|
734
|
+
* int block_rank_in_grid = dims.rank(block);
|
|
735
|
+
*
|
|
736
|
+
* // Or using the level types as template arguments
|
|
737
|
+
* int thread_rank_in_grid = dimensions.template rank<thread_level,
|
|
738
|
+
* grid_level>();
|
|
739
|
+
* }
|
|
740
|
+
* @endcode
|
|
741
|
+
* @par
|
|
742
|
+
*
|
|
743
|
+
* @tparam Unit
|
|
744
|
+
* Specifies the entity that the rank is requested for
|
|
745
|
+
*
|
|
746
|
+
* @tparam Level
|
|
747
|
+
* Specifies at what level the rank is requested
|
|
748
|
+
*/
|
|
749
|
+
template <typename _Unit = _BottomUnit, typename _Level = __level_type_of<::cuda::std::__type_index_c<0, _Levels...>>>
|
|
750
|
+
_CCCL_DEVICE constexpr auto rank(const _Unit& = _Unit(), const _Level& = _Level()) const noexcept
|
|
751
|
+
{
|
|
752
|
+
auto selected = levels_range<_Unit, _Level>();
|
|
753
|
+
return ::cuda::std::apply(__detail::__rank_helper<_Unit>{}, selected);
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* @brief Returns level description associated with a specified hierarchy
|
|
758
|
+
* level in this hierarchy.
|
|
759
|
+
*
|
|
760
|
+
* This function returns a copy of the object associated with the specified
|
|
761
|
+
* level, that was passed into the hierarchy on its creation. Level need to be
|
|
762
|
+
* levels present in this hierarchy.
|
|
763
|
+
*
|
|
764
|
+
* @par Snippet
|
|
765
|
+
* @code
|
|
766
|
+
* #include <cudax/hierarchy_dimensions.cuh>
|
|
767
|
+
*
|
|
768
|
+
* using namespace cuda;
|
|
769
|
+
*
|
|
770
|
+
* auto hierarchy = make_hierarchy(grid_dims(256), cluster_dims<4>(),
|
|
771
|
+
* block_dims<8, 8, 8>());
|
|
772
|
+
* static_assert(decltype(hierarchy.level(cluster).dims)::static_extent(0) ==
|
|
773
|
+
* 4);
|
|
774
|
+
* @endcode
|
|
775
|
+
* @par
|
|
776
|
+
*
|
|
777
|
+
* @tparam Level
|
|
778
|
+
* Specifies the requested level
|
|
779
|
+
*/
|
|
780
|
+
template <typename _Level>
|
|
781
|
+
_CCCL_API constexpr auto level(const _Level&) const noexcept
|
|
782
|
+
{
|
|
783
|
+
static_assert(has_level<_Level, hierarchy_dimensions<_BottomUnit, _Levels...>>);
|
|
784
|
+
|
|
785
|
+
return ::cuda::std::apply(__detail::__get_level_helper<_Level>{}, levels);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
//! @brief Returns a new hierarchy with combined levels of this and the other
|
|
789
|
+
//! supplied hierarchy
|
|
790
|
+
//!
|
|
791
|
+
//! This function combines this hierarchy with the supplied hierarchy, the
|
|
792
|
+
//! resulting hierarchy holds levels present in both hierarchies. In case of
|
|
793
|
+
//! overlap of levels this hierarchy is prioritized, so the result always
|
|
794
|
+
//! holds all levels from this hierarchy and non-overlapping levels from the
|
|
795
|
+
//! other hierarchy.
|
|
796
|
+
//!
|
|
797
|
+
//! @param other The other hierarchy to be combined with this hierarchy
|
|
798
|
+
//!
|
|
799
|
+
//! @return Hierarchy holding the combined levels from both hierarchies
|
|
800
|
+
template <class _OtherUnit, class... _OtherLevels>
|
|
801
|
+
constexpr auto combine(const hierarchy_dimensions<_OtherUnit, _OtherLevels...>& __other) const
|
|
802
|
+
{
|
|
803
|
+
using __this_top_level = __level_type_of<::cuda::std::__type_index_c<0, _Levels...>>;
|
|
804
|
+
using __this_bottom_level = __level_type_of<::cuda::std::__type_index_c<sizeof...(_Levels) - 1, _Levels...>>;
|
|
805
|
+
using __other_top_level = __level_type_of<::cuda::std::__type_index_c<0, _OtherLevels...>>;
|
|
806
|
+
using __other_bottom_level =
|
|
807
|
+
__level_type_of<::cuda::std::__type_index_c<sizeof...(_OtherLevels) - 1, _OtherLevels...>>;
|
|
808
|
+
if constexpr (__detail::__can_rhs_stack_on_lhs<__other_top_level, __this_bottom_level>)
|
|
809
|
+
{
|
|
810
|
+
// Easily stackable case, example this is (grid), other is (cluster,
|
|
811
|
+
// block)
|
|
812
|
+
return ::cuda::std::apply(fragment_helper<_OtherUnit>(), ::cuda::std::tuple_cat(levels, __other.levels));
|
|
813
|
+
}
|
|
814
|
+
else if constexpr (has_level<__this_bottom_level, hierarchy_dimensions<_OtherUnit, _OtherLevels...>>
|
|
815
|
+
&& (!has_level<__this_top_level, hierarchy_dimensions<_OtherUnit, _OtherLevels...>>
|
|
816
|
+
|| ::cuda::std::is_same_v<__this_top_level, __other_top_level>) )
|
|
817
|
+
{
|
|
818
|
+
// Overlap with this on the top, e.g. this is (grid, cluster), other is
|
|
819
|
+
// (cluster, block), can fully overlap Do we have some CCCL tuple utils
|
|
820
|
+
// that can select all but the first?
|
|
821
|
+
auto __to_add_with_one_too_many = __other.template levels_range<_OtherUnit, __this_bottom_level>();
|
|
822
|
+
auto __to_add = ::cuda::std::apply(
|
|
823
|
+
[](auto&&, auto&&... __rest) {
|
|
824
|
+
return ::cuda::std::make_tuple(__rest...);
|
|
825
|
+
},
|
|
826
|
+
__to_add_with_one_too_many);
|
|
827
|
+
return ::cuda::std::apply(fragment_helper<_OtherUnit>(), ::cuda::std::tuple_cat(levels, __to_add));
|
|
828
|
+
}
|
|
829
|
+
else
|
|
830
|
+
{
|
|
831
|
+
if constexpr (__detail::__can_rhs_stack_on_lhs<__this_top_level, __other_bottom_level>)
|
|
832
|
+
{
|
|
833
|
+
// Easily stackable case again, just reversed
|
|
834
|
+
return ::cuda::std::apply(fragment_helper<_BottomUnit>(), ::cuda::std::tuple_cat(__other.levels, levels));
|
|
835
|
+
}
|
|
836
|
+
else
|
|
837
|
+
{
|
|
838
|
+
// Overlap with this on the bottom, e.g. this is (cluster, block), other
|
|
839
|
+
// is (grid, cluster), can fully overlap
|
|
840
|
+
static_assert(has_level<__other_bottom_level, hierarchy_dimensions<_BottomUnit, _Levels...>>
|
|
841
|
+
&& (!has_level<__this_bottom_level, hierarchy_dimensions<_OtherUnit, _OtherLevels...>>
|
|
842
|
+
|| ::cuda::std::is_same_v<__this_bottom_level, __other_bottom_level>),
|
|
843
|
+
"Can't combine the hierarchies");
|
|
844
|
+
|
|
845
|
+
auto __to_add = __other.template levels_range<__this_top_level, __other_top_level>();
|
|
846
|
+
return ::cuda::std::apply(fragment_helper<_BottomUnit>(), ::cuda::std::tuple_cat(__to_add, levels));
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
#ifndef _CCCL_DOXYGEN_INVOKED // Do not document
|
|
852
|
+
constexpr hierarchy_dimensions combine([[maybe_unused]] __empty_hierarchy __empty) const
|
|
853
|
+
{
|
|
854
|
+
return *this;
|
|
855
|
+
}
|
|
856
|
+
#endif // _CCCL_DOXYGEN_INVOKED
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* @brief Returns a tuple of dim3 compatible objects that can be used to launch
|
|
861
|
+
* a kernel
|
|
862
|
+
*
|
|
863
|
+
* This function returns a tuple of hierarchy_query_result objects that contain
|
|
864
|
+
* dimensions from the supplied hierarchy, that can be used to launch that
|
|
865
|
+
* hierarchy. It is meant to allow for easy usage of hierarchy dimensions with
|
|
866
|
+
* the <<<>>> launch syntax or cudaLaunchKernelEx in case of a cluster launch.
|
|
867
|
+
* Contained hierarchy_query_result objects are results of extents() member
|
|
868
|
+
* function on the hierarchy passed in. The returned tuple has three elements if
|
|
869
|
+
* cluster_level is present in the hierarchy (extents(block, grid),
|
|
870
|
+
* extents(cluster, block), extents(thread, block)). Otherwise it contains only
|
|
871
|
+
* two elements, without the middle one related to the cluster.
|
|
872
|
+
*
|
|
873
|
+
* @par Snippet
|
|
874
|
+
* @code
|
|
875
|
+
* #include <cudax/hierarchy_dimensions.cuh>
|
|
876
|
+
*
|
|
877
|
+
* using namespace cuda;
|
|
878
|
+
*
|
|
879
|
+
* auto hierarchy = make_hierarchy(grid_dims(256), cluster_dims<4>(),
|
|
880
|
+
* block_dims<8, 8, 8>()); auto [grid_dimensions, cluster_dimensions,
|
|
881
|
+
* block_dimensions] = get_launch_dimensions(hierarchy);
|
|
882
|
+
* assert(grid_dimensions.x == 256);
|
|
883
|
+
* assert(cluster_dimensions.x == 4);
|
|
884
|
+
* assert(block_dimensions.x == 8);
|
|
885
|
+
* assert(block_dimensions.y == 8);
|
|
886
|
+
* assert(block_dimensions.z == 8);
|
|
887
|
+
* @endcode
|
|
888
|
+
* @par
|
|
889
|
+
*
|
|
890
|
+
* @param hierarchy
|
|
891
|
+
* Hierarchy that the launch dimensions are requested for
|
|
892
|
+
*/
|
|
893
|
+
template <class... _Levels>
|
|
894
|
+
constexpr auto _CCCL_HOST get_launch_dimensions(const hierarchy_dimensions<_Levels...>& __hierarchy)
|
|
895
|
+
{
|
|
896
|
+
if constexpr (has_level<cluster_level, hierarchy_dimensions<_Levels...>>)
|
|
897
|
+
{
|
|
898
|
+
return ::cuda::std::make_tuple(
|
|
899
|
+
__hierarchy.extents(block, grid), __hierarchy.extents(block, cluster), __hierarchy.extents(thread, block));
|
|
900
|
+
}
|
|
901
|
+
else
|
|
902
|
+
{
|
|
903
|
+
return ::cuda::std::make_tuple(__hierarchy.extents(block, grid), __hierarchy.extents(thread, block));
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
// TODO consider having LUnit optional argument for template argument deduction
|
|
908
|
+
/**
|
|
909
|
+
* @brief Creates a hierarchy from passed in levels.
|
|
910
|
+
*
|
|
911
|
+
* This function takes any number of level_dimensions or derived objects
|
|
912
|
+
* and creates a hierarchy out of them. Levels need to be in ascending
|
|
913
|
+
* or descending order and the lowest level needs to be valid for thread_level
|
|
914
|
+
* unit.
|
|
915
|
+
*
|
|
916
|
+
* @par Snippet
|
|
917
|
+
* @code
|
|
918
|
+
* #include <cudax/hierarchy_dimensions.cuh>
|
|
919
|
+
*
|
|
920
|
+
* using namespace cuda;
|
|
921
|
+
*
|
|
922
|
+
* auto hierarchy1 = make_hierarchy(grid_dims(256), cluster_dims<4>(),
|
|
923
|
+
* block_dims<8, 8, 8>()); auto hierarchy2 = make_hierarchy(block_dims<8, 8,
|
|
924
|
+
* 8>(), cluster_dims<4>(), grid_dims(256));
|
|
925
|
+
* static_assert(cuda::std::is_same_v<decltype(hierarchy1),
|
|
926
|
+
* decltype(hierarchy2)>);
|
|
927
|
+
* @endcode
|
|
928
|
+
* @par
|
|
929
|
+
*/
|
|
930
|
+
template <class _LUnit = void, class _L1, class... _Levels>
|
|
931
|
+
constexpr auto make_hierarchy(_L1 __l1, _Levels... __ls) noexcept
|
|
932
|
+
{
|
|
933
|
+
return __detail::__make_hierarchy<_LUnit>()(__detail::__as_level(__l1), __detail::__as_level(__ls)...);
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* @brief Add a level to a hierarchy
|
|
938
|
+
*
|
|
939
|
+
* This function returns a new hierarchy, that is a copy of the supplied
|
|
940
|
+
* hierarchy with the supplied level added to it. This function will examine the
|
|
941
|
+
* supplied level and add it either at the top or at the bottom of the
|
|
942
|
+
* hierarchy, depending on what levels above and below it are valid for it.
|
|
943
|
+
*
|
|
944
|
+
* @par Snippet
|
|
945
|
+
* @code
|
|
946
|
+
* #include <cudax/hierarchy_dimensions.cuh>
|
|
947
|
+
*
|
|
948
|
+
* using namespace cuda;
|
|
949
|
+
*
|
|
950
|
+
* auto partial1 = make_hierarchy<block_level>(grid_dims(256),
|
|
951
|
+
* cluster_dims<4>()); auto hierarchy1 = hierarchy_add_level(partial1,
|
|
952
|
+
* block_dims<8, 8, 8>()); auto partial2 =
|
|
953
|
+
* make_hierarchy<thread_level>(block_dims<8, 8, 8>(), cluster_dims<4>()); auto
|
|
954
|
+
* hierarchy2 = hierarchy_add_level(partial2, grid_dims(256));
|
|
955
|
+
* static_assert(cuda::std::is_same_v<decltype(hierarchy1),
|
|
956
|
+
* decltype(hierarchy2)>);
|
|
957
|
+
* @endcode
|
|
958
|
+
* @par
|
|
959
|
+
*/
|
|
960
|
+
template <class _NewLevel, class _Unit, class... _Levels>
|
|
961
|
+
constexpr auto hierarchy_add_level(const hierarchy_dimensions<_Unit, _Levels...>& hierarchy, _NewLevel __lnew)
|
|
962
|
+
{
|
|
963
|
+
auto __new_level = __detail::__as_level(__lnew);
|
|
964
|
+
using __added_level = decltype(__new_level);
|
|
965
|
+
using __top_level = __level_type_of<::cuda::std::__type_index_c<0, _Levels...>>;
|
|
966
|
+
using __bottom_level = __level_type_of<::cuda::std::__type_index_c<sizeof...(_Levels) - 1, _Levels...>>;
|
|
967
|
+
|
|
968
|
+
if constexpr (__detail::__can_rhs_stack_on_lhs<__top_level, __level_type_of<__added_level>>)
|
|
969
|
+
{
|
|
970
|
+
return hierarchy_dimensions<_Unit, __added_level, _Levels...>(
|
|
971
|
+
::cuda::std::tuple_cat(::cuda::std::make_tuple(__new_level), hierarchy.levels));
|
|
972
|
+
}
|
|
973
|
+
else
|
|
974
|
+
{
|
|
975
|
+
static_assert(__detail::__can_rhs_stack_on_lhs<__level_type_of<__added_level>, __bottom_level>,
|
|
976
|
+
"Not supported order of levels in hierarchy");
|
|
977
|
+
using __new_unit = __detail::__default_unit_below<__level_type_of<__added_level>>;
|
|
978
|
+
return hierarchy_dimensions<__new_unit, _Levels..., __added_level>(
|
|
979
|
+
::cuda::std::tuple_cat(hierarchy.levels, ::cuda::std::make_tuple(__new_level)));
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
_CCCL_END_NAMESPACE_CUDA
|
|
983
|
+
|
|
984
|
+
#include <cuda/std/__cccl/epilogue.h>
|
|
985
|
+
|
|
986
|
+
#endif // _CUDA___HIERARCHY_HIERARCHY_DIMENSIONS_H
|