CUDA on ??? GPUs
Find a file
2024-11-02 16:02:52 +01:00
.cargo Connect new parser to LLVM bitcode backend (#269) 2024-09-13 01:07:31 +02:00
.devcontainer Re-enable all failing PTX tests (#277) 2024-10-16 03:15:48 +02:00
comgr Fix linking of AMD device libraries 2024-11-02 16:02:52 +01:00
cuda_base Implement static typing for dynamically-loaded CUDA DLLs 2022-01-28 16:44:46 +01:00
cuda_types Move zluda_dump to the new CUDA infrastructure 2022-01-07 04:20:33 +01:00
detours-sys Fix 32-bit builds 2021-04-09 20:32:37 +02:00
ext Connect new parser to LLVM bitcode backend (#269) 2024-09-13 01:07:31 +02:00
level_zero Synchronize through barrier 2021-07-06 00:16:46 +02:00
level_zero-sys Make everything async 2021-07-04 15:40:08 +02:00
llvm_zluda Recover from and report unknown instructions and directives (#295) 2024-11-02 15:57:57 +01:00
ptx Fix linking of AMD device libraries 2024-11-02 16:02:52 +01:00
ptx_parser Recover from and report unknown instructions and directives (#295) 2024-11-02 15:57:57 +01:00
ptx_parser_macros Recover from and report unknown instructions and directives (#295) 2024-11-02 15:57:57 +01:00
ptx_parser_macros_impl PTX parser rewrite (#267) 2024-09-04 15:47:42 +02:00
spirv_tools-sys Update level0 to 1.0 and unpack fatbins 2020-08-28 22:37:16 +02:00
zluda Connect new parser to LLVM bitcode backend (#269) 2024-09-13 01:07:31 +02:00
zluda_dump Overhaul DLL injection 2022-02-04 00:50:25 +01:00
zluda_inject Overhaul DLL injection 2022-02-04 00:50:25 +01:00
zluda_lib Prevent linker from stripping exports on Linux (#33) 2021-01-15 01:17:44 +01:00
zluda_ml Overhaul DLL injection 2022-02-04 00:50:25 +01:00
zluda_redirect Clean up ZLUDA redirection helper 2022-02-04 14:14:51 +01:00
.gitattributes Fix linguist instructions 2024-08-07 13:29:03 +02:00
.gitignore Reorganize project to a workspace 2020-02-09 20:32:21 +01:00
.gitmodules Connect new parser to LLVM bitcode backend (#269) 2024-09-13 01:07:31 +02:00
Cargo.toml Re-enable all failing PTX tests (#277) 2024-10-16 03:15:48 +02:00
CONTRIBUTING.md Add script for replaying dumped kernel (#34) 2021-01-23 16:57:07 +01:00
GeekBench_5_2_3.svg Fix signed integer conversion (#36) 2021-01-26 21:05:09 +01:00
LICENSE-APACHE Update wording, add license 2020-11-24 23:23:53 +01:00
LICENSE-MIT Update wording, add license 2020-11-24 23:23:53 +01:00
README.md Add note about submodules to README.md (#280) 2024-10-05 15:41:46 +02:00

Discord

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