aboutsummaryrefslogtreecommitdiffhomepage
path: root/notcuda/src/cuda.rs
diff options
context:
space:
mode:
Diffstat (limited to 'notcuda/src/cuda.rs')
-rw-r--r--notcuda/src/cuda.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/notcuda/src/cuda.rs b/notcuda/src/cuda.rs
index 335da4a..a528981 100644
--- a/notcuda/src/cuda.rs
+++ b/notcuda/src/cuda.rs
@@ -2281,7 +2281,7 @@ pub extern "C" fn cuDevicePrimaryCtxRelease(dev: CUdevice) -> CUresult {
#[cfg_attr(not(test), no_mangle)]
pub extern "C" fn cuDevicePrimaryCtxRelease_v2(dev: CUdevice) -> CUresult {
- r#impl::unimplemented()
+ r#impl::device::primary_ctx_release_v2(dev.decuda())
}
#[cfg_attr(not(test), no_mangle)]