vosen/ZLUDA
Fork: 629 Star: 9657 (更新于 2024-11-09 18:19:49)
license: Apache-2.0
Language: Rust .
CUDA on non-NVIDIA GPUs
最后发布版本: v3 ( 2024-02-12 22:09:19)
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. 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). Instructions below might not work.
Windows
You should have the most recent ROCm installed.
Run your application like this:
<ZLUDA_DIRECTORY>\zluda_with.exe -- <APPLICATION> <APPLICATIONS_ARGUMENTS>
Linux
Run your application like this:
LD_LIBRARY_PATH=<ZLUDA_DIRECTORY> <APPLICATION> <APPLICATIONS_ARGUMENTS>
Building
Warning: ZLUDA is under heavy development (see news here). 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.
Linux
If 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, 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 or LICENSE-MIT for details
最近版本更新:(数据更新于 2024-10-09 10:10:48)
2024-02-12 22:09:19 v3
2021-02-23 01:17:36 v2
2020-11-24 05:51:38 v1
主题(topics):
cuda, rust
vosen/ZLUDA同语言 Rust最近更新仓库
2024-11-22 05:42:56 lanyeeee/jmcomic-downloader
2024-11-19 23:39:15 gleam-lang/gleam
2024-11-19 08:50:55 lapce/lapce
2024-11-11 22:51:00 tauri-apps/tauri
2024-11-11 07:55:30 dani-garcia/vaultwarden
2024-11-09 16:42:37 rustdesk/rustdesk