diff options
author | Andrzej Janik <[email protected]> | 2021-06-28 01:40:35 +0200 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-06-28 01:40:35 +0200 |
commit | b2a455e12e91d3b1bdc4edaa7b25a3348047be9e (patch) | |
tree | 8ed0c81404bf0cab77fc264714bc257badc6ac4d /zluda_dump/src/cuda.rs | |
parent | 196242b4104eae77249cb342d749f95c37d6ffec (diff) | |
download | ZLUDA-b2a455e12e91d3b1bdc4edaa7b25a3348047be9e.tar.gz ZLUDA-b2a455e12e91d3b1bdc4edaa7b25a3348047be9e.zip |
Bunch of tiny fixes and improvements
Diffstat (limited to 'zluda_dump/src/cuda.rs')
-rw-r--r-- | zluda_dump/src/cuda.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/zluda_dump/src/cuda.rs b/zluda_dump/src/cuda.rs index d715689..50082d1 100644 --- a/zluda_dump/src/cuda.rs +++ b/zluda_dump/src/cuda.rs @@ -4399,3 +4399,20 @@ extern_redirect_with! { extern_redirect! { pub fn cuFuncGetModule(hmod: *mut CUmodule, hfunc: CUfunction) -> CUresult; } +#[repr(transparent)] +#[derive(Copy, Clone, Hash, PartialEq, Eq)] +pub struct CUoutput_mode_enum(pub ::std::os::raw::c_uint); +pub use self::CUoutput_mode_enum as CUoutput_mode; +extern_redirect! { + pub fn cuProfilerInitialize( + configFile: *const ::std::os::raw::c_char, + outputFile: *const ::std::os::raw::c_char, + outputMode: CUoutput_mode, + ) -> CUresult; +} +extern_redirect! { + pub fn cuProfilerStart() -> CUresult; +} +extern_redirect! { + pub fn cuProfilerStop() -> CUresult; +} |