AnswerDotAI / AnswerDotAI/gpu.cpp

Python bindings

Open
#21 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
4k
Forks
199
Avg merge
2m
Merged PRs (30d)
3

Description

Python bindings would enable gpucpp to be used similar to [Taichi](https://taichi-lang.org/), [Warp](https://github.com/NVIDIA/warp) and [Mojo](https://www.modular.com/mojo). I would personally love to try gpucpp with my creative AI project [Tölvera](http://tolvera.is).

[pybind](https://github.com/pybind/pybind11) is one choice for testing this out. [SignalFlow](http://signalflow.dev) is an example of a C++ project [using pybind to create a Python syntax](https://github.com/ideoforms/signalflow/blob/master/source/src/python/python.cpp).

A first proof of concept could take the [hello world example](https://www.answer.ai/posts/2024-07-11--gpu-cpp.html#hello-world-a-gelu-kernel) and demonstrate a Python equivalent version.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.