#[repr(C)]pub struct cudaMemPoolProps {
pub alloc_type: c_int,
pub handle_types: c_int,
pub location: cudaMemLocation,
pub win32_security_attributes: *mut c_void,
pub max_size: usize,
pub usage: c_ushort,
pub reserved: [c_uchar; 54],
}Expand description
cudaMemPoolProps — 88 bytes in C. Matches the Driver-side
CUmemPoolProps layout byte-for-byte.
Fields§
§alloc_type: c_int§handle_types: c_int§location: cudaMemLocation§win32_security_attributes: *mut c_void§max_size: usize§usage: c_ushort§reserved: [c_uchar; 54]Trait Implementations§
Source§impl Clone for cudaMemPoolProps
impl Clone for cudaMemPoolProps
Source§fn clone(&self) -> cudaMemPoolProps
fn clone(&self) -> cudaMemPoolProps
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 cudaMemPoolProps
impl Debug for cudaMemPoolProps
Source§impl Default for cudaMemPoolProps
impl Default for cudaMemPoolProps
impl Copy for cudaMemPoolProps
Auto Trait Implementations§
impl Freeze for cudaMemPoolProps
impl RefUnwindSafe for cudaMemPoolProps
impl !Send for cudaMemPoolProps
impl !Sync for cudaMemPoolProps
impl Unpin for cudaMemPoolProps
impl UnsafeUnpin for cudaMemPoolProps
impl UnwindSafe for cudaMemPoolProps
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