#[repr(C)]pub struct CUDA_MEM_ALLOC_NODE_PARAMS_v2_st {
pub poolProps: CUmemPoolProps,
pub accessDescs: *const CUmemAccessDesc,
pub accessDescCount: usize,
pub bytesize: usize,
pub dptr: CUdeviceptr,
}
Expand description
Memory allocation node parameters
Fields§
§poolProps: CUmemPoolProps
in: location where the allocation should reside (specified in ::location). ::handleTypes must be ::CU_MEM_HANDLE_TYPE_NONE. IPC is not supported.
accessDescs: *const CUmemAccessDesc
< in: array of memory access descriptors. Used to describe peer GPU access
accessDescCount: usize
< in: number of memory access descriptors. Must not exceed the number of GPUs.
bytesize: usize
< in: size in bytes of the requested allocation
dptr: CUdeviceptr
< out: address of the allocation returned by CUDA
Trait Implementations§
Source§impl Clone for CUDA_MEM_ALLOC_NODE_PARAMS_v2_st
impl Clone for CUDA_MEM_ALLOC_NODE_PARAMS_v2_st
Source§fn clone(&self) -> CUDA_MEM_ALLOC_NODE_PARAMS_v2_st
fn clone(&self) -> CUDA_MEM_ALLOC_NODE_PARAMS_v2_st
Returns a duplicate 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 moreimpl Copy for CUDA_MEM_ALLOC_NODE_PARAMS_v2_st
Auto Trait Implementations§
impl Freeze for CUDA_MEM_ALLOC_NODE_PARAMS_v2_st
impl RefUnwindSafe for CUDA_MEM_ALLOC_NODE_PARAMS_v2_st
impl !Send for CUDA_MEM_ALLOC_NODE_PARAMS_v2_st
impl !Sync for CUDA_MEM_ALLOC_NODE_PARAMS_v2_st
impl Unpin for CUDA_MEM_ALLOC_NODE_PARAMS_v2_st
impl UnwindSafe for CUDA_MEM_ALLOC_NODE_PARAMS_v2_st
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