diff options
author | Andrzej Janik <[email protected]> | 2021-12-06 23:54:47 +0100 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-12-06 23:54:47 +0100 |
commit | dd915688bdee6cd3f9d1496a0639e280f488a570 (patch) | |
tree | b45cd50ec9bf46399a5bc6b7563e6c5fe432f8f0 /zluda_dump/src/cuda.rs | |
parent | 2c6d7ffb7a68514dbfa97095516681d843802012 (diff) | |
download | ZLUDA-dd915688bdee6cd3f9d1496a0639e280f488a570.tar.gz ZLUDA-dd915688bdee6cd3f9d1496a0639e280f488a570.zip |
Dump function names and allow overriding result of cuDeviceComputeCapability
Diffstat (limited to 'zluda_dump/src/cuda.rs')
-rw-r--r-- | zluda_dump/src/cuda.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/zluda_dump/src/cuda.rs b/zluda_dump/src/cuda.rs index 8cdfde9..d9d57c4 100644 --- a/zluda_dump/src/cuda.rs +++ b/zluda_dump/src/cuda.rs @@ -2355,12 +2355,13 @@ extern_redirect! { dev: CUdevice, ) -> CUresult; } -extern_redirect! { +extern_redirect_with_post! { pub fn cuDeviceGetAttribute( pi: *mut ::std::os::raw::c_int, attrib: CUdevice_attribute, dev: CUdevice, ) -> CUresult; + super::cuDeviceGetAttribute_Post; } extern_redirect! { pub fn cuDeviceGetNvSciSyncAttributes( @@ -2372,12 +2373,13 @@ extern_redirect! { extern_redirect! { pub fn cuDeviceGetProperties(prop: *mut CUdevprop, dev: CUdevice) -> CUresult; } -extern_redirect! { +extern_redirect_with_post! { pub fn cuDeviceComputeCapability( major: *mut ::std::os::raw::c_int, minor: *mut ::std::os::raw::c_int, dev: CUdevice, ) -> CUresult; + super::cuDeviceComputeCapability_Post; } extern_redirect! { pub fn cuDevicePrimaryCtxRetain(pctx: *mut CUcontext, dev: CUdevice) -> CUresult; |