Files
project_6/cccl_upstream/docs/libcudacxx/standard_api/numerics_library.rst
muh-bot 2a7ca101d7 feat(cccl): integrate missing CCCL directories — python/, ci/, .agent/, docs/, test/
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
2026-08-07 02:34:33 +00:00

70 lines
2.0 KiB
ReStructuredText

.. _libcudacxx-standard-api-numerics:
Numerics Library
================
.. toctree::
:hidden:
:maxdepth: 1
numerics_library/bit
numerics_library/complex
numerics_library/linalg
numerics_library/numbers
numerics_library/numeric
numerics_library/random
Any Standard C++ header not listed below is omitted.
.. list-table::
:widths: 25 45 30 30 20
:header-rows: 1
* - **Header**
- **Content**
- **CCCL Availability**
- **CUDA Toolkit Availability**
- **C++ Reference**
* - ``<cuda/std/ratio>``
- Compile-time rational arithmetic
- CCCL 2.0.0
- CUDA 11.0
- `\<ratio\> <https://en.cppreference.com/w/cpp/header/ratio>`_
* - :ref:`\<cuda/std/bit\> <libcudacxx-standard-api-numerics-bit>`
- Access, manipulate, and process individual bits and bit sequences.
- CCCL 2.0.0
- CUDA 11.7
- `\<bit\> <https://en.cppreference.com/w/cpp/header/bit>`_
* - :ref:`\<cuda/std/complex\> <libcudacxx-standard-api-numerics-complex>`
- Complex number type
- CCCL 2.0.0
- CUDA 11.4
- `\<complex\> <https://en.cppreference.com/w/cpp/header/complex>`_
* - :ref:`\<cuda/std/linalg\> <libcudacxx-standard-api-numerics-linalg>`
- Linear algebra layouts and accessors
- CCCL 3.0.0
- CUDA 13.0
- `\<linalg\> <https://en.cppreference.com/w/cpp/header/linalg>`_
* - :ref:`\<cuda/std/numbers\> <libcudacxx-standard-api-numerics-numbers>`
- Numeric constants
- CCCL 3.0.0
- CUDA 13.0
- `\<numbers\> <https://en.cppreference.com/w/cpp/header/numbers>`_
* - :ref:`\<cuda/std/numeric\> <libcudacxx-standard-api-numerics-numeric>`
- Numeric algorithms
- CCCL 2.5.0
- CUDA 12.6
- `\<numeric\> <https://en.cppreference.com/w/cpp/header/numeric>`_
* - :ref:`\<cuda/std/random\> <libcudacxx-standard-api-numerics-random>`
- Random number generation
- CCCL 3.3.0
- CUDA 13.3
- `\<random\> <https://en.cppreference.com/w/cpp/header/random>`_