#[repr(C)]pub struct ucm_global_config {
pub log_level: ucs_log_level_t,
pub enable_events: c_int,
pub mmap_hook_mode: ucm_mmap_hook_mode_t,
pub enable_malloc_hooks: c_int,
pub enable_malloc_reloc: c_int,
pub cuda_hook_modes: c_int,
pub enable_dynamic_mmap_thresh: c_int,
pub alloc_alignment: size_t,
pub dlopen_process_rpath: c_int,
pub module_unload_prevent_mode: c_int,
}Expand description
@brief Global UCM configuration.
Can be safely modified before using UCM functions.
Fields§
§log_level: ucs_log_level_t§enable_events: c_int§mmap_hook_mode: ucm_mmap_hook_mode_t§enable_malloc_hooks: c_int§enable_malloc_reloc: c_int§cuda_hook_modes: c_int§enable_dynamic_mmap_thresh: c_int§alloc_alignment: size_t§dlopen_process_rpath: c_int§module_unload_prevent_mode: c_intTrait Implementations§
Source§impl Clone for ucm_global_config
impl Clone for ucm_global_config
Source§fn clone(&self) -> ucm_global_config
fn clone(&self) -> ucm_global_config
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ucm_global_config
impl Debug for ucm_global_config
impl Copy for ucm_global_config
Auto Trait Implementations§
impl Freeze for ucm_global_config
impl RefUnwindSafe for ucm_global_config
impl Send for ucm_global_config
impl Sync for ucm_global_config
impl Unpin for ucm_global_config
impl UnwindSafe for ucm_global_config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more