From 70141b6c274232276d8b955dac9ed52632e3fd48 Mon Sep 17 00:00:00 2001 From: Graham Markall Date: Mon, 17 Mar 2025 16:38:51 +0000 Subject: [PATCH 1/4] [DOCS] Clarify that cooperative is for device, parallel for host I'm not sure if this helps move things in the right direction towards a clear and succinct summary of these two modules, but I'm interested in others' thoughts. --- README.md | 4 ++-- cuda_python/docs/source/index.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 79200a13a..c384402e0 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ CUDA Python is the home for accessing NVIDIA’s CUDA platform from Python. It c * [cuda.core](https://nvidia.github.io/cuda-python/cuda-core/latest): Pythonic access to CUDA Runtime and other core functionalities * [cuda.bindings](https://nvidia.github.io/cuda-python/cuda-bindings/latest): Low-level Python bindings to CUDA C APIs -* [cuda.cooperative](https://nvidia.github.io/cccl/cuda_cooperative/): Pythonic exposure of CUB cooperative algorithms -* [cuda.parallel](https://nvidia.github.io/cccl/cuda_parallel/): Pythonic exposure of Thrust parallel algorithms +* [cuda.cooperative](https://nvidia.github.io/cccl/cuda_cooperative/): Exposure of CUB cooperative algorithms for use in Python kernels +* [cuda.parallel](https://nvidia.github.io/cccl/cuda_parallel/): Pythonic exposure of Thrust parallel algorithms launched from the host For access to NVIDIA CPU & GPU Math Libraries, please refer to [nvmath-python](https://docs.nvidia.com/cuda/nvmath-python/latest). diff --git a/cuda_python/docs/source/index.rst b/cuda_python/docs/source/index.rst index 330268b45..c947b1c89 100644 --- a/cuda_python/docs/source/index.rst +++ b/cuda_python/docs/source/index.rst @@ -6,8 +6,8 @@ multiple components: - `cuda.core`_: Pythonic access to CUDA runtime and other core functionalities - `cuda.bindings`_: Low-level Python bindings to CUDA C APIs -- `cuda.cooperative`_: Pythonic exposure of CUB cooperative algorithms -- `cuda.parallel`_: Pythonic exposure of Thrust parallel algorithms +- `cuda.cooperative`_: Exposure of CUB cooperative algorithms for use in Python kernels +- `cuda.parallel`_: Pythonic exposure of Thrust parallel algorithms launched from the host For access to NVIDIA CPU & GPU Math Libraries, please refer to `nvmath-python`_. From 3e75bf9db05d39bfa50e1dc74fac0b3bdb3200ce Mon Sep 17 00:00:00 2001 From: Ashwin Srinath <3190405+shwina@users.noreply.github.com> Date: Mon, 17 Mar 2025 12:44:12 -0700 Subject: [PATCH 2/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c384402e0..4e848ac54 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ CUDA Python is the home for accessing NVIDIA’s CUDA platform from Python. It c * [cuda.core](https://nvidia.github.io/cuda-python/cuda-core/latest): Pythonic access to CUDA Runtime and other core functionalities * [cuda.bindings](https://nvidia.github.io/cuda-python/cuda-bindings/latest): Low-level Python bindings to CUDA C APIs -* [cuda.cooperative](https://nvidia.github.io/cccl/cuda_cooperative/): Exposure of CUB cooperative algorithms for use in Python kernels -* [cuda.parallel](https://nvidia.github.io/cccl/cuda_parallel/): Pythonic exposure of Thrust parallel algorithms launched from the host +* [cuda.cooperative](https://nvidia.github.io/cccl/cuda_cooperative/): A Python package for easy access to highly efficient and customizable parallel algorithms, like `sort`, `scan`, `reduce`, `transform`, etc. +* [cuda.parallel](https://nvidia.github.io/cccl/cuda_parallel/): A Python package providing CUB's reusable block-wide and warp-wide primitives for use within Numba CUDA kernels. For access to NVIDIA CPU & GPU Math Libraries, please refer to [nvmath-python](https://docs.nvidia.com/cuda/nvmath-python/latest). From 081fc68004e99e284e4d734c0e31d265c97a782c Mon Sep 17 00:00:00 2001 From: Graham Markall Date: Wed, 19 Mar 2025 09:46:13 +0000 Subject: [PATCH 3/4] Remove dot at end --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e848ac54..3639857f2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ CUDA Python is the home for accessing NVIDIA’s CUDA platform from Python. It c * [cuda.core](https://nvidia.github.io/cuda-python/cuda-core/latest): Pythonic access to CUDA Runtime and other core functionalities * [cuda.bindings](https://nvidia.github.io/cuda-python/cuda-bindings/latest): Low-level Python bindings to CUDA C APIs * [cuda.cooperative](https://nvidia.github.io/cccl/cuda_cooperative/): A Python package for easy access to highly efficient and customizable parallel algorithms, like `sort`, `scan`, `reduce`, `transform`, etc. -* [cuda.parallel](https://nvidia.github.io/cccl/cuda_parallel/): A Python package providing CUB's reusable block-wide and warp-wide primitives for use within Numba CUDA kernels. +* [cuda.parallel](https://nvidia.github.io/cccl/cuda_parallel/): A Python package providing CUB's reusable block-wide and warp-wide primitives for use within Numba CUDA kernels For access to NVIDIA CPU & GPU Math Libraries, please refer to [nvmath-python](https://docs.nvidia.com/cuda/nvmath-python/latest). From 2f981ac0cef5c4828875f89cb37b84459fd7eaa8 Mon Sep 17 00:00:00 2001 From: Graham Markall Date: Wed, 19 Mar 2025 09:47:21 +0000 Subject: [PATCH 4/4] Use language from README in cuda-python docs --- cuda_python/docs/source/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cuda_python/docs/source/index.rst b/cuda_python/docs/source/index.rst index c947b1c89..78b81a18d 100644 --- a/cuda_python/docs/source/index.rst +++ b/cuda_python/docs/source/index.rst @@ -6,8 +6,8 @@ multiple components: - `cuda.core`_: Pythonic access to CUDA runtime and other core functionalities - `cuda.bindings`_: Low-level Python bindings to CUDA C APIs -- `cuda.cooperative`_: Exposure of CUB cooperative algorithms for use in Python kernels -- `cuda.parallel`_: Pythonic exposure of Thrust parallel algorithms launched from the host +- `cuda.cooperative`_: A Python package for easy access to highly efficient and customizable parallel algorithms, like `sort`, `scan`, `reduce`, `transform`, etc. +- `cuda.parallel`_: A Python package providing CUB's reusable block-wide and warp-wide primitives for use within Numba CUDA kernels For access to NVIDIA CPU & GPU Math Libraries, please refer to `nvmath-python`_.