https://github.com/mrdvince/penlight
A basic deep learning framework running on OpenCL. Using Arrayfire backend.
https://github.com/mrdvince/penlight
arrayfire cpp opencl pybind11 python pytorch
Last synced: 10 months ago
JSON representation
A basic deep learning framework running on OpenCL. Using Arrayfire backend.
- Host: GitHub
- URL: https://github.com/mrdvince/penlight
- Owner: mrdvince
- License: mit
- Created: 2022-03-08T12:40:38.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-11T17:18:14.000Z (almost 4 years ago)
- Last Synced: 2025-02-03T14:45:57.213Z (11 months ago)
- Topics: arrayfire, cpp, opencl, pybind11, python, pytorch
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# penlight
a micro library for tensor stuff on opencl using arrayfire backend.
> trying some opencl stuff on a "pytorch" like thing (basically stealing with no idea what am doing).
## running
```bash
git clone --recursive git@github.com:mrdvince/penlight.git
```
then
```bash
c++ -O3 -Wall -shared -std=c++11 -fPIC $(python3-config --includes) -Iextern/pybind11/include bindings.cpp -o bindings$(python3-config --extension-suffix)
```
probably going to switch to cmake.