Struct memonitor_sys::cuda::Devices
source · #[repr(C)]pub struct Devices {
pub devices_handle: *mut c_void,
pub ctx_handle: *mut c_void,
pub count: u32,
}Expand description
A list of physical devices.
Fields§
§devices_handle: *mut c_voidInternal handle to the device list.
ctx_handle: *mut c_voidInternal handle to the context list.
count: u32The number of devices within this list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Devices
impl RefUnwindSafe for Devices
impl !Send for Devices
impl !Sync for Devices
impl Unpin for Devices
impl UnwindSafe for Devices
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