aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda_ml/src/impl.rs
blob: 35f37780f8669bba630d037844fda18eec214b4e (plain)
1
2
3
4
5
6
7
8
9
10
11
use crate::nvml::nvmlReturn_t;

#[cfg(debug_assertions)]
pub(crate) fn unimplemented() -> nvmlReturn_t {
    unimplemented!()
}

#[cfg(not(debug_assertions))]
pub(crate) fn unimplemented() -> nvmlReturn_t {
    nvmlReturn_t::NVML_ERROR_NOT_SUPPORTED
}