aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda/src/impl/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'zluda/src/impl/mod.rs')
-rw-r--r--zluda/src/impl/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/zluda/src/impl/mod.rs b/zluda/src/impl/mod.rs
index 25c0077..f157002 100644
--- a/zluda/src/impl/mod.rs
+++ b/zluda/src/impl/mod.rs
@@ -265,6 +265,7 @@ impl GlobalState {
}
pub fn init() -> Result<(), CUresult> {
+ eprintln!("{:?}", unsafe { hip_runtime_sys::hipInit(0) });
let mut global_state = GLOBAL_STATE
.lock()
.map_err(|_| CUresult::CUDA_ERROR_UNKNOWN)?;