https://github.com/pwhiddy/pybind11-cuda
Template for GPU accelerated python libraries
https://github.com/pwhiddy/pybind11-cuda
cuda gpu numpy pybind11 python
Last synced: 10 months ago
JSON representation
Template for GPU accelerated python libraries
- Host: GitHub
- URL: https://github.com/pwhiddy/pybind11-cuda
- Owner: PWhiddy
- License: mit
- Created: 2018-11-09T04:53:16.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-26T21:39:15.000Z (over 2 years ago)
- Last Synced: 2025-04-13T00:36:07.263Z (10 months ago)
- Topics: cuda, gpu, numpy, pybind11, python
- Language: Cuda
- Homepage:
- Size: 10.7 KB
- Stars: 47
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pybind11-cuda
Compiles out of the box with cmake
Numpy integration
C++ Templating for composable kernels with generic data types
Originally based on https://github.com/torstem/demo-cuda-pybind11
# Prerequisites
Cuda installed in /usr/local/cuda
Python 3.6 or greater
Cmake 3.6 or greater
# To build
```source install.bash```
Test it with
```python3 test_mul.py```