Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vosen/ZLUDA
CUDA on non-NVIDIA GPUs
https://github.com/vosen/ZLUDA
cuda rust
Last synced: 3 days ago
JSON representation
CUDA on non-NVIDIA GPUs
- Host: GitHub
- URL: https://github.com/vosen/ZLUDA
- Owner: vosen
- License: apache-2.0
- Created: 2020-01-05T18:26:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T01:15:49.000Z (20 days ago)
- Last Synced: 2024-10-29T15:36:06.956Z (7 days ago)
- Topics: cuda, rust
- Language: Rust
- Homepage: https://vosen.github.io/ZLUDA/
- Size: 3.64 MB
- Stars: 9,578
- Watchers: 132
- Forks: 625
- Open Issues: 96
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- Awesome-Daily - ZLUDA - native performance on AMD GPUs. (:steam_locomotive: Runtime Environment / Web Development)
- awesome-high-performance-computing - Zluda - Run unmodified CUDA applications with near-native performance on Intel AMD GPUs. (Software / Trends)
- awesome-useful-projects - <img src="https://icon.horse/icon/github.com" height="20px" align="center"/>/vosen/ZLUDA - CUDA on ??? GPUs (Jump To / Other)
- awesome-useful-projects - <img src="https://icon.horse/icon/github.com" height="20px" align="center"/>/vosen/ZLUDA - CUDA on ??? GPUs (Jump To / Other)
- StarryDivineSky - vosen/ZLUDA
- awesome-starred - vosen/ZLUDA - CUDA on Intel GPUs (rust)
- AiTreasureBox - vosen/ZLUDA - 11-02_9609_2](https://img.shields.io/github/stars/vosen/ZLUDA.svg)|CUDA on AMD GPUs| (Repos)
- my-awesome - vosen/ZLUDA - 10 star:9.5k fork:0.6k CUDA on non-NVIDIA GPUs (Rust)
- awesome-cuda-and-hpc - ZLUDA
- awesome-cuda-and-hpc - ZLUDA
- awesome-rust-list - ZLUDA
- awesome-rust-list - ZLUDA
README
[![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/sg6BNzXuc7)
# ZLUDA
ZLUDA is a drop-in replacement for CUDA on non-NVIDIA GPU. ZLUDA allows to run unmodified CUDA applications using non-NVIDIA GPUs with near-native performance.
ZLUDA is work in progress. Follow development here and say hi on [Discord](https://discord.gg/sg6BNzXuc7). For more details see the announcement: https://vosen.github.io/ZLUDA/blog/zludas-third-life/
## Usage
**Warning**: ZLUDA is under heavy development (see news [here](https://vosen.github.io/ZLUDA/blog/zludas-third-life/)). Instructions below might not work.### Windows
You should have the most recent ROCm installed.\
Run your application like this:
```
\zluda_with.exe --
```### Linux
Run your application like this:
```
LD_LIBRARY_PATH=
```## Building
**Warning**: ZLUDA is under heavy development (see news [here](https://vosen.github.io/ZLUDA/blog/zludas-third-life/)). Instructions below might not work._Note_: This repo has submodules. Make sure to recurse submodules when cloning this repo, e.g.: `git clone --recursive https://github.com/vosen/ZLUDA.git`
You should have a relatively recent version of Rust installed, then you just do:
```
cargo build --release
```
in the main directory of the project.
### LinuxIf you are building on Linux you must also symlink (or rename) the ZLUDA output binaries after ZLUDA build finishes:
```
ln -s libnvcuda.so target/release/libcuda.so
ln -s libnvcuda.so target/release/libcuda.so.1
ln -s libnvml.so target/release/libnvidia-ml.so
```## Contributing
If you want to develop ZLUDA itself, read [CONTRIBUTING.md](CONTRIBUTING.md), it contains instructions how to set up dependencies and run tests
## License
This software is dual-licensed under either the Apache 2.0 license or the MIT license. See [LICENSE-APACHE](LICENSE-APACHE) or [LICENSE-MIT](LICENSE-MIT) for details