aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda/src
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-08-27 17:27:48 +0000
committerAndrzej Janik <[email protected]>2021-08-27 17:27:48 +0000
commit4ae7feb93af81f42e53ece3b0a81b8112a731ee3 (patch)
tree3494ba09b7e878a50f37a0d5279fe906dad7b4c5 /zluda/src
parent9631a8d242510836730bb1f85d99b77c04017ca4 (diff)
downloadZLUDA-4ae7feb93af81f42e53ece3b0a81b8112a731ee3.tar.gz
ZLUDA-4ae7feb93af81f42e53ece3b0a81b8112a731ee3.zip
Start converting host code to HIP
Diffstat (limited to 'zluda/src')
-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)?;