-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
a pretty readme so that people trust us
- Loading branch information
Showing
3 changed files
with
26 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## gpuctypes (a low level GPU library for Python) | ||
|
||
Do you wish that there were simple wrappers for GPU libraries in Python? Like not pyopencl, pycuda, and (HIP library someday?) here, but just raw access to the APIs? | ||
|
||
That's what gpuctypes does! While high level libraries have their place, the world needs more low level libraries. Like gpuctypes. Welcome home. | ||
|
||
### Installation | ||
|
||
```sh | ||
pip install gpuctypes | ||
``` | ||
|
||
### Usage | ||
|
||
```py | ||
import gpuctypes.hip as hip | ||
import gpuctypes.cuda as cuda | ||
import gpuctypes.opencl as opencl | ||
``` | ||
|
||
### Current versions | ||
|
||
* ROCm 5.7.1 | ||
* CUDA 11.5 | ||
* OpenCL whatever is in Ubuntu 22.04 |