aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda_ml/src/nvml.rs
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2024-12-02 00:29:57 +0100
committerGitHub <[email protected]>2024-12-02 00:29:57 +0100
commit7a6df9dcbf59edef371e7f63c16c64916ddb0c0b (patch)
tree7800524ba25d38c514f1c769c9c1b665542c5500 /zluda_ml/src/nvml.rs
parent870fed4bb69d919a10822032d65ec20f385df9d7 (diff)
downloadZLUDA-7a6df9dcbf59edef371e7f63c16c64916ddb0c0b.tar.gz
ZLUDA-7a6df9dcbf59edef371e7f63c16c64916ddb0c0b.zip
Fix host code and update to CUDA 12.4 (#299)
Diffstat (limited to 'zluda_ml/src/nvml.rs')
-rw-r--r--zluda_ml/src/nvml.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/zluda_ml/src/nvml.rs b/zluda_ml/src/nvml.rs
index cab546a..0358bc6 100644
--- a/zluda_ml/src/nvml.rs
+++ b/zluda_ml/src/nvml.rs
@@ -1131,27 +1131,27 @@ pub use self::nvmlPcieLinkState_enum as nvmlPcieLinkState_t;
#[no_mangle]
pub extern "C" fn nvmlInit_v2() -> nvmlReturn_t {
- crate::r#impl::init().into()
+ crate::r#impl::unimplemented()
}
#[no_mangle]
pub extern "C" fn nvmlInit() -> nvmlReturn_t {
- crate::r#impl::init().into()
+ crate::r#impl::unimplemented()
}
#[no_mangle]
pub extern "C" fn nvmlInitWithFlags(flags: ::std::os::raw::c_uint) -> nvmlReturn_t {
- crate::r#impl::init_with_flags().into()
+ crate::r#impl::unimplemented()
}
#[no_mangle]
pub extern "C" fn nvmlShutdown() -> nvmlReturn_t {
- crate::r#impl::shutdown()
+ crate::r#impl::unimplemented()
}
#[no_mangle]
pub extern "C" fn nvmlErrorString(result: nvmlReturn_t) -> *const ::std::os::raw::c_char {
- crate::r#impl::error_string(result)
+ c"".as_ptr()
}
#[no_mangle]
@@ -1159,7 +1159,7 @@ pub unsafe extern "C" fn nvmlSystemGetDriverVersion(
version: *mut ::std::os::raw::c_char,
length: ::std::os::raw::c_uint,
) -> nvmlReturn_t {
- crate::r#impl::system_get_driver_version(version, length).into()
+ crate::r#impl::unimplemented()
}
#[no_mangle]