Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

CUDA Python Kernels

Writes and launches custom GPU kernels from Python with NVIDIA's cuda.core, and ports old PyCUDA code.

Claude's review

7/10 Concise current cuda.core guide with a full launch example, argument typing traps, stream sharing and a migration table.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Use for any task or question involving CUDA Python Core libraries: cuda-core, cuda-bindings and cuda-pathfinder. Use when asked to write, port, review, debug Python code that compiles and launches its own CUDA kernels (Program, launch, LaunchConfig, Device, Stream, Buffer, Linker, CUDA graphs). When porting PyCUDA or old CUDA bindings APIs to cuda.core and cuda.bindings. When interacting with passing CuPy, PyTorch or Numba arrays and streams to a custom kernel. When locating CUDA headers or libraries from Python, and for install questions about cuda-python, cuda-core or conda. Use before hand-rolling cuda.bindings driver / nvrtc / nvml calls for something cuda.core provides. Not for plain CuPy, Numba or PyTorch array code, or for cuda.compute (CCCL).

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: cuda-python
description: >-
  Use for any task or question involving CUDA Python Core libraries: cuda-core, cuda-bindings
  and cuda-pathfinder.
  Use when asked to write, port, review, debug Python code that compiles and launches
  its own CUDA kernels (Program, launch, LaunchConfig, Device, Stream, Buffer, Linker, CUDA graphs).
  When porting PyCUDA or old CUDA bindings APIs to cuda.core and cuda.bindings.
  When interacting with passing CuPy, PyTorch or Numba arrays and streams to a custom kernel.
  When locating CUDA headers or libraries from Python, and for install questions about
  cuda-python, cuda-core or conda.
  Use before hand-rolling cuda.bindings driver / nvrtc / nvml calls for something cuda.core provides.
  Not for plain CuPy, Numba or PyTorch array code, or for cuda.compute (CCCL).
license: Apache-2.0
metadata:
  author: NVIDIA
  tags: [cuda, cuda-python, cuda-core, cuda-bindings, cuda-pathfinder]
---

# CUDA Python: cuda.core, cuda.bindings, cuda.pathfinder

`cuda-python` is a metapackage that covers:
- `cuda.core`: the Pythonic API
- `cuda.bindings`: 1:1 wrappers of the CUDA C APIs
- `cuda.pathfinder`: locates CUDA libraries and headers

## Install

- pip: driver only, no CUDA Toolkit: `pip install "cuda-core[cu13]"` (or `[cu12]`).
  The extra pulls `cuda-bindings[all]`, which brings the NVRTC, nvJitLink and NVVM wheels.
- conda: `conda install -c conda-forge cuda-python cuda-version=13` (or `cuda-core`, or `cuda-version=12`).
  One `cuda-core` release supports both CUDA majors; there are no `-cu12` / `-cu13` package names.


## Use cuda.core first

`cuda.core` is the Pythonic API to all CUDA APIs and should be used for
all new Python code as far as the API is available, only fall back to
`cuda-bindings` when needed.
`cuda.core` raises exceptions and manages handles for you, while `cuda.bindings` `driver`, `runtime` and `nvrtc` calls return `(err, ...)` tuples, so an unchecked failure is silent.
...

From NVIDIA's repository, Apache-2.0 licence.

Related skills

  • Checked

    Rust best practices

    Writes and reviews idiomatic, maintainable Rust code and runs a checklist before handing it back to you.

    by morganlinton 2.2k
    7/101 credit
  • Checked

    Port code to Rust

    Ports C, C++, Python, Go or JavaScript code into idiomatic Rust, with tests that prove it behaves the same.

    by morganlinton 2.2k
    8/101 credit
  • Checked

    Rust code review

    Reviews Rust code for idiom, errors, safety and API design, with a ranked report and a fix for every finding.

    by morganlinton 2.2k
    7/101 credit
  • Checked

    Java Debugging Guide

    Finds the cause of Java bugs and failing tests, and attaches a debugger safely in Maven, Gradle, Spring or Docker.

    by github 42k
    7/101 credit
  • Checked

    Python games with pygame

    Builds and debugs 2D pygame games with a proper loop and delta time, so they run the same on any PC.

    by gamedev-skills 13k
    7/101 credit
  • Checked

    Go Benchmarking and Profiling

    Writes Go benchmarks, profiles them with pprof and proves each speedup with benchstat before you claim it.

    by samber 4k
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added