aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda_lib/src/lib.rs
blob: a489d98f4d87e63c4deb48e109051ae555bdd1f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
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);
}