Skip to content

Commit

Permalink
readme more
Browse files Browse the repository at this point in the history
  • Loading branch information
geohot committed Nov 26, 2023
1 parent be70173 commit 932fc30
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ import gpuctypes.cuda as cuda
import gpuctypes.opencl as opencl
```

### How it works

gpuctypes uses [ctypeslib](https://github.com/trolldbois/ctypeslib) to autogenerate Python files from the headers of the respective libraries.

### Current versions

* ROCm 5.7.1
* CUDA 11.5
* OpenCL whatever is in Ubuntu 22.04
* OpenCL (whatever is in Ubuntu 22.04)
4 changes: 4 additions & 0 deletions generate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash -e
./generate_cuda.sh
./generate_hip.sh
./generate_opencl.sh
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@
packages = ['gpuctypes'],
python_requires='>=3.8',
include_package_data=True)

0 comments on commit 932fc30

Please sign in to comment.