gpuctypes
ctypes wrappers for HIP, CUDA, and OpenCL
File Explorer
Download Latest Version (.zip)- python-publish.yml
- test.yml
- comgr.py
- cuda.py
- hip.py
- opencl.py
- helpers.py
- test_cuda.py
- test_hip.py
- test_opencl.py
- .gitignore
- .pre-commit-config.yaml
- generate.sh
- generate_cuda.sh
- generate_hip.sh
- generate_opencl.sh
- LICENSE
- README.md
- setup.py
# Installation Guide
1. Get the code
git clone https://github.com/tinygrad/gpuctypes
Downloads the entire project code from GitHub to your computer.
cd gpuctypes
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip install gpuctypes
Installs the package published on PyPI directly β no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install gpuctypes
Installs the package published on PyPI directly β no need to clone the source.
pip install -e .
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
