Sparse-checkout from NVIDIA/cccl main branch to complete cccl_upstream: Added: - python/cuda_cccl/ (226 files) — Python bindings for device-level algorithms Critical for muh toolchain: cuda.compute.reduce_into, scan, radix_sort, etc. Includes 204 .py files with full test coverage for all 27 algorithms - ci/ (163 files) — Build/test infrastructure build_cub.sh, test_cub.sh, build_and_test_targets.sh, matrix.yaml Directly maps to our [INFRA-CI] and [INFRA-BUILD] items - .agent/skills/ (7 files) — NVIDIA's own agent skills for CCCL cccl-style/SKILL.md, cccl-test/SKILL.md, sass-diff/SKILL.md - docs/ (491 files) — Official CCCL documentation CI references, CMake guides, Python compute docs, libcudacxx PTX docs - test/ (12 files) — Top-level integration tests (cuda_smoke, stdpar) - Root configs: .clang-format, .clang-tidy, CONTRIBUTING.md, pyproject.toml - CLAUDE.md symlink → AGENTS.md (NVIDIA's standard) cccl_upstream now mirrors full NVIDIA/cccl structure: Before: 42M (cub + thrust + libcudacxx + cudax + c + examples + benchmarks) After: 53M (+python +ci +docs +.agent +test +configs) This completes the CCCL base needed for: - [muh-bench] items: ci/util/build_and_test_targets.sh for targeted builds - [CCCL-verify] items: python/cuda_cccl/tests/ as reference implementations - [CCCL-test] items: ci/test_cub.sh, ci/test_thrust.sh - Agent workflow: .agent/skills/ for consistent style and test patterns
63 lines
2.1 KiB
ReStructuredText
63 lines
2.1 KiB
ReStructuredText
.. _libcudacxx-extended-api-functional:
|
|
|
|
Functional
|
|
----------
|
|
|
|
.. toctree::
|
|
:hidden:
|
|
:maxdepth: 1
|
|
|
|
functional/always_true_false
|
|
functional/proclaim_return_type
|
|
functional/maximum_minimum
|
|
functional/operator_properties
|
|
|
|
.. list-table::
|
|
:widths: 25 45 30 30
|
|
:header-rows: 1
|
|
|
|
* - **Header**
|
|
- **Content**
|
|
- **CCCL Availability**
|
|
- **CUDA Toolkit Availability**
|
|
|
|
* - :ref:`cuda::always_true <libcudacxx-extended-api-functional-always-true-false>`
|
|
- Function object that always returns ``true``
|
|
- CCCL 3.4.0
|
|
- CUDA 13.4
|
|
|
|
* - :ref:`cuda::always_false <libcudacxx-extended-api-functional-always-true-false>`
|
|
- Function object that always returns ``false``
|
|
- CCCL 3.4.0
|
|
- CUDA 13.4
|
|
|
|
* - :ref:`cuda::maximum <libcudacxx-extended-api-functional-maximum-minimum>`
|
|
- Returns the maximum of two values
|
|
- CCCL 2.8.0
|
|
- CUDA 12.9
|
|
|
|
* - :ref:`cuda::minimum <libcudacxx-extended-api-functional-maximum-minimum>`
|
|
- Returns the minimum of two values
|
|
- CCCL 2.8.0
|
|
- CUDA 12.9
|
|
|
|
* - :ref:`cuda::proclaim_return_type <libcudacxx-extended-api-functional-proclaim-return-type>`
|
|
- Creates a forwarding call wrapper that proclaims return type
|
|
- libcu++ 1.9.0 / CCCL 2.0.0
|
|
- CUDA 11.8
|
|
|
|
* - ``cuda::proclaim_copyable_arguments``
|
|
- Creates a forwarding call wrapper that proclaims that arguments can be freely copied before an invocation of the wrapped callable
|
|
- CCCL 2.8.0
|
|
- CUDA 12.9
|
|
|
|
* - :ref:`cuda::get_device_address <libcudacxx-extended-api-memory-get-device-address>`
|
|
- Returns a valid address to a device object
|
|
- CCCL 2.8.0
|
|
- CUDA 12.9
|
|
|
|
* - :ref:`cuda::is_associative_v <libcudacxx-extended-api-functional-operator-properties>`, :ref:`cuda::is_commutative_v <libcudacxx-extended-api-functional-operator-properties>`, :ref:`cuda::identity_element() <libcudacxx-extended-api-functional-operator-properties>`, :ref:`cuda::absorbing_element() <libcudacxx-extended-api-functional-operator-properties>`
|
|
- Determines if an operator is associative for a type
|
|
- CCCL 3.3.0
|
|
- CUDA 13.3
|