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
96 lines
2.5 KiB
ReStructuredText
96 lines
2.5 KiB
ReStructuredText
.. _libcudacxx-standard-api-c-compat:
|
|
|
|
C Library
|
|
=========
|
|
|
|
.. toctree::
|
|
:hidden:
|
|
:maxdepth: 1
|
|
|
|
c_library/cstring
|
|
|
|
|
|
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/cassert>``
|
|
- Lightweight assumption testing
|
|
- CCCL 2.0.0
|
|
- CUDA 10.2
|
|
- `\<cassert\> <https://en.cppreference.com/w/cpp/header/cassert>`_
|
|
|
|
* - ``<cuda/std/ccomplex>``
|
|
- C complex number arithmetic
|
|
- CCCL 2.0.0
|
|
- CUDA 11.4
|
|
- `\<ccomplex\> <https://en.cppreference.com/w/cpp/header/ccomplex>`_
|
|
|
|
* - ``<cuda/std/cfloat>``
|
|
- Type support library
|
|
- CCCL 2.2.0
|
|
- CUDA 12.3
|
|
- `\<cfloat\> <https://en.cppreference.com/w/cpp/header/cfloat>`_
|
|
|
|
* - ``<cuda/std/cfloat>``
|
|
- Limits of floating point types
|
|
- CCCL 2.0.0
|
|
- CUDA 10.2
|
|
- `\<cfloat\> <https://en.cppreference.com/w/cpp/header/cfloat>`_
|
|
|
|
* - ``<cuda/std/climits>``
|
|
- Limits of integral types
|
|
- CCCL 2.0.0
|
|
- CUDA 10.2
|
|
- `\<climits\> <https://en.cppreference.com/w/cpp/header/climits>`_
|
|
|
|
* - ``<cuda/std/cmath>``
|
|
- Common math functions
|
|
- CCCL 2.2.0
|
|
- CUDA 12.3
|
|
- `\<cmath\> <https://en.cppreference.com/w/cpp/header/cmath>`_
|
|
|
|
* - ``<cuda/std/cstddef>``
|
|
- Fundamental types
|
|
- CCCL 2.0.0
|
|
- CUDA 10.2
|
|
- `\<cstddef\> <https://en.cppreference.com/w/cpp/header/cstddef>`_
|
|
|
|
* - ``<cuda/std/cstdint>``
|
|
- Fundamental integer types
|
|
- CCCL 2.2.0
|
|
- CUDA 12.3
|
|
- `\<cstdint\> <https://en.cppreference.com/w/cpp/header/cstdint>`_
|
|
|
|
* - ``<cuda/std/cstdint>``
|
|
- Fixed-width integer types
|
|
- CCCL 2.0.0
|
|
- CUDA 10.2
|
|
- `\<cstdint\> <https://en.cppreference.com/w/cpp/header/cstdint>`_
|
|
|
|
* - ``<cuda/std/cstdlib>``
|
|
- Common utilities
|
|
- CCCL 2.2.0
|
|
- CUDA 12.3
|
|
- `\<cstdlib\> <https://en.cppreference.com/w/cpp/header/cstdlib>`_
|
|
|
|
* - :ref:`\<cuda/std/cstring\> <libcudacxx-standard-api-cstring>`
|
|
- Provides array manipulation functions such as ``memcpy``, ``memset`` and ``memcmp``
|
|
- CCCL 3.0.0
|
|
- CUDA 13.0
|
|
- `\<cstring\> <https://en.cppreference.com/w/cpp/header/cstring>`_
|
|
|
|
* - ``<cuda/std/ctime>``
|
|
- Provides ``clock``, ``difftime``, ``time`` and ``timespec_get`` functions
|
|
- CCCL 3.1.0
|
|
- CUDA 13.1
|
|
- `\<ctime\> <https://en.cppreference.com/w/cpp/header/ctime>`_
|