diff options
author | Andrzej Janik <[email protected]> | 2021-11-16 02:07:50 +0100 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-11-16 02:07:50 +0100 |
commit | 24e100cb9c6101ecd04def6ac8cf6605f8df8c94 (patch) | |
tree | d45c95e5b2ad605991088584749fc00b04af7fe3 /zluda_dump/src/cuda.rs | |
parent | e459086c5bfb84ff3b382e65a95d0c6d162266fb (diff) | |
download | ZLUDA-24e100cb9c6101ecd04def6ac8cf6605f8df8c94.tar.gz ZLUDA-24e100cb9c6101ecd04def6ac8cf6605f8df8c94.zip |
Start converting cuModuleLoad to the new tracing infrastructure
Diffstat (limited to 'zluda_dump/src/cuda.rs')
-rw-r--r-- | zluda_dump/src/cuda.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/zluda_dump/src/cuda.rs b/zluda_dump/src/cuda.rs index 35ec52c..dc86197 100644 --- a/zluda_dump/src/cuda.rs +++ b/zluda_dump/src/cuda.rs @@ -2491,15 +2491,16 @@ extern_redirect! { extern_redirect! { pub fn cuCtxDetach(ctx: CUcontext) -> CUresult; } -extern_redirect! { +extern_redirect_with_post! { pub fn cuModuleLoad(module: *mut CUmodule, fname: *const ::std::os::raw::c_char) -> CUresult; + super::cuModuleLoad_Post; } -extern_redirect_with! { +extern_redirect_with_post! { pub fn cuModuleLoadData( module: *mut CUmodule, image: *const ::std::os::raw::c_void, ) -> CUresult; - super::cuModuleLoadData; + super::cuModuleLoadData_Post; } extern_redirect_with! { pub fn cuModuleLoadDataEx( |