#[repr(C)]pub struct cudaMemAllocationProp {
pub alloc_type: c_int,
pub requested_handle_types: c_int,
pub location: cudaMemLocation,
pub win32_handle_meta_data: *mut c_void,
pub allocation_flags: [u8; 32],
}Expand description
cudaMemAllocationProp — properties for VMM cudaMemCreate.
Shared ABI with the Driver API’s CUmemAllocationProp.
Fields§
§alloc_type: c_int§requested_handle_types: c_int§location: cudaMemLocation§win32_handle_meta_data: *mut c_void§allocation_flags: [u8; 32]Trait Implementations§
Source§impl Clone for cudaMemAllocationProp
impl Clone for cudaMemAllocationProp
Source§fn clone(&self) -> cudaMemAllocationProp
fn clone(&self) -> cudaMemAllocationProp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 cudaMemAllocationProp
impl Debug for cudaMemAllocationProp
Source§impl Default for cudaMemAllocationProp
impl Default for cudaMemAllocationProp
impl Copy for cudaMemAllocationProp
Auto Trait Implementations§
impl Freeze for cudaMemAllocationProp
impl RefUnwindSafe for cudaMemAllocationProp
impl !Send for cudaMemAllocationProp
impl !Sync for cudaMemAllocationProp
impl Unpin for cudaMemAllocationProp
impl UnsafeUnpin for cudaMemAllocationProp
impl UnwindSafe for cudaMemAllocationProp
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