diff options
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; +} |