cuda-core

cuda.core: pythonic CUDA module

14 个版本 Python >=3.10
安装
pip install cuda-core
poetry add cuda-core
pipenv install cuda-core
conda install cuda-core
描述

.. SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. .. SPDX-License-Identifier: Apache-2.0


cuda-core: Pythonic access to CUDA core functionalities


.. image:: https://img.shields.io/badge/NVIDIA-black?logo=nvidia :target: https://www.nvidia.com/ :alt: NVIDIA

cuda.core <https://nvidia.github.io/cuda-python/cuda-core/>_ bridges Python's productivity with CUDA's performance through intuitive and pythonic APIs. The mission is to provide users full access to all of the core CUDA features in Python, such as runtime control, compiler and linker.

  • Repository <https://github.com/NVIDIA/cuda-python/tree/main/cuda_core>_
  • Documentation <https://nvidia.github.io/cuda-python/cuda-core/>_
  • Examples <https://github.com/NVIDIA/cuda-python/tree/main/cuda_core/examples>_
  • Issue tracker <https://github.com/NVIDIA/cuda-python/issues/>_

cuda.core is currently under active development. Feedback and suggestions are welcome!

Installation

.. code-block:: bash

pip install cuda-core[cu12]

Please refer to the installation instructions <https://nvidia.github.io/cuda-python/cuda-core/latest/install.html>_ for different ways of installing cuda.core, including building from source.