#[repr(C)]pub struct cudaMemAllocNodeParamsV2 {
pub poolProps: cudaMemPoolProps,
pub accessDescs: *const cudaMemAccessDesc,
pub accessDescCount: usize,
pub bytesize: usize,
pub dptr: *mut c_void,
}
Expand description
Memory allocation node parameters
Fields§
§poolProps: cudaMemPoolProps
< in: array of memory access descriptors. Used to describe peer GPU access
accessDescs: *const cudaMemAccessDesc
< in: number of memory access descriptors. Must not exceed the number of GPUs.
accessDescCount: usize
< in: Number of accessDescs
s
bytesize: usize
< in: size in bytes of the requested allocation
dptr: *mut c_void
< out: address of the allocation returned by CUDA
Trait Implementations§
Source§impl Clone for cudaMemAllocNodeParamsV2
impl Clone for cudaMemAllocNodeParamsV2
Source§fn clone(&self) -> cudaMemAllocNodeParamsV2
fn clone(&self) -> cudaMemAllocNodeParamsV2
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 moreSource§impl Debug for cudaMemAllocNodeParamsV2
impl Debug for cudaMemAllocNodeParamsV2
impl Copy for cudaMemAllocNodeParamsV2
Auto Trait Implementations§
impl Freeze for cudaMemAllocNodeParamsV2
impl RefUnwindSafe for cudaMemAllocNodeParamsV2
impl !Send for cudaMemAllocNodeParamsV2
impl !Sync for cudaMemAllocNodeParamsV2
impl Unpin for cudaMemAllocNodeParamsV2
impl UnwindSafe for cudaMemAllocNodeParamsV2
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