mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-07-21 11:16:20 +03:00
12 lines
305 B
Rust
12 lines
305 B
Rust
pub extern crate zluda;
|
|
|
|
pub use zluda::cuda::*;
|
|
|
|
// For some reason, on Linux linker strips out all our re-exports,
|
|
// there's probably a cleaner solution, but for now just exporting
|
|
// the function below stops it from doing so
|
|
#[no_mangle]
|
|
fn _zluda_very_bad_linker_hack() {
|
|
cuInit(0);
|
|
}
|