Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 493 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 493 Bytes

cupy-nanobind-example

A minimal demo of a Python project that uses scikit-build-core to compile a CUDA CPython extension that accepts a cupy array via nanobind's DLPack support. This is possibly the most technologies I've strung together in a single sentence.

Build and install (basic)

$ pip install .

Build and install (editable)

$ pip install scikit-build-core nanobind ninja
$ pip install -e . --no-build-isolation

Test

$ python test.py