Andrzej Janik cd7e2f8e36 Force loading ZLUDA through LD_PRELOAD (#447)
Certain applications (pytorch) decide that it's a great idea to distribute whole CUDA driver and link to it with DT_RPATH. This igores LD_LIBRARY_PATH.
This code defeats that evil mechanism through any means necessary
2025-07-31 18:00:13 -07:00

17 lines
295 B
TOML

[package]
name = "zluda_trace_common"
version = "0.1.0"
edition = "2021"
[lib]
[dependencies]
libloading = "0.8"
cuda_types = { path = "../cuda_types" }
dark_api = { path = "../dark_api" }
format = { path = "../format" }
cglue = "0.3.5"
[target.'cfg(not(windows))'.dependencies]
libc = "0.2"