From 3633ca0dfdbbc38f1399fc04759fc0698a05fa1a Mon Sep 17 00:00:00 2001 From: Michael Schellenberger Costa Date: Thu, 16 Jan 2025 08:49:48 +0100 Subject: [PATCH] Improve docs of std headers --- docs/libcudacxx/standard_api.rst | 1 + .../standard_api/ranges_library.rst | 4 ++-- docs/libcudacxx/standard_api/type_support.rst | 24 +++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 docs/libcudacxx/standard_api/type_support.rst diff --git a/docs/libcudacxx/standard_api.rst b/docs/libcudacxx/standard_api.rst index be806240615..5d38f8de473 100644 --- a/docs/libcudacxx/standard_api.rst +++ b/docs/libcudacxx/standard_api.rst @@ -14,6 +14,7 @@ Standard API standard_api/ranges_library standard_api/synchronization_library standard_api/time_library + standard_api/type_support standard_api/utility_library Standard Library Backports diff --git a/docs/libcudacxx/standard_api/ranges_library.rst b/docs/libcudacxx/standard_api/ranges_library.rst index 25841bd7b5a..61e023928bc 100644 --- a/docs/libcudacxx/standard_api/ranges_library.rst +++ b/docs/libcudacxx/standard_api/ranges_library.rst @@ -13,10 +13,10 @@ See the documentation of the standard headers `\ + * - `\ `_ - Iterator related concepts and machinery such as ``cuda::std::forward_iterator`` - CCCL 2.3.0 / CUDA 12.4 - * - + * - `\ `_ - Range related concepts and machinery such as ``cuda::std::ranges::forward_range`` and ``cuda::std::ranges::subrange`` - CCCL 2.4.0 / CUDA 12.5 diff --git a/docs/libcudacxx/standard_api/type_support.rst b/docs/libcudacxx/standard_api/type_support.rst new file mode 100644 index 00000000000..52b64de6a62 --- /dev/null +++ b/docs/libcudacxx/standard_api/type_support.rst @@ -0,0 +1,24 @@ +.. _libcudacxx-standard-api-type-support: + +Type Support Library +======================= + +.. toctree:: + :hidden: + :maxdepth: 1 + +Any Standard C++ header not listed below is omitted. + +.. list-table:: + :widths: 25 45 30 + :header-rows: 1 + + * - Header + - Content + - Availability + * - `\ `_ + - Limits of integral types + - libcu++ 1.0.0 / CCCL 2.0.0 / CUDA 10.2 + * - `\ `_ + - Interface to query properties of all fundamental numeric types + - libcu++ 1.0.0 / CCCL 2.0.0 / CUDA 10.2