#[repr(C)]pub struct hipMemAllocNodeParams {
pub poolProps: hipMemPoolProps,
pub accessDescs: *const hipMemAccessDesc,
pub accessDescCount: usize,
pub bytesize: usize,
pub dptr: *mut c_void,
}
Fields§
§poolProps: hipMemPoolProps
< Pool properties, which contain where < the location should reside
accessDescs: *const hipMemAccessDesc
< The number of memory access descriptors. < Must not be bigger than the number of GPUs
accessDescCount: usize
< The number of access descriptors
bytesize: usize
< The size of the requested allocation in bytes
dptr: *mut c_void
< Returned device address of the allocation
Trait Implementations§
Source§impl Clone for hipMemAllocNodeParams
impl Clone for hipMemAllocNodeParams
Source§fn clone(&self) -> hipMemAllocNodeParams
fn clone(&self) -> hipMemAllocNodeParams
Returns a copy 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 hipMemAllocNodeParams
impl Debug for hipMemAllocNodeParams
impl Copy for hipMemAllocNodeParams
Auto Trait Implementations§
impl Freeze for hipMemAllocNodeParams
impl RefUnwindSafe for hipMemAllocNodeParams
impl !Send for hipMemAllocNodeParams
impl !Sync for hipMemAllocNodeParams
impl Unpin for hipMemAllocNodeParams
impl UnwindSafe for hipMemAllocNodeParams
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