#[repr(C)]pub struct hipMemPoolProps {
pub allocType: hipMemAllocationType,
pub handleTypes: hipMemAllocationHandleType,
pub location: hipMemLocation,
pub win32SecurityAttributes: *mut c_void,
pub maxSize: usize,
pub reserved: [c_uchar; 56],
}
Expand description
Specifies the properties of allocations made from the pool.
Fields§
§allocType: hipMemAllocationType
< Allocation type. Currently must be specified as @p hipMemAllocationTypePinned
handleTypes: hipMemAllocationHandleType
< Handle types that will be supported by allocations from the pool
location: hipMemLocation
< Location where allocations should reside
win32SecurityAttributes: *mut c_void
Windows-specific LPSECURITYATTRIBUTES required when @p hipMemHandleTypeWin32 is specified
maxSize: usize
< Maximum pool size. When set to 0, defaults to a system dependent value
reserved: [c_uchar; 56]
< Reserved for future use, must be 0
Trait Implementations§
Source§impl Clone for hipMemPoolProps
impl Clone for hipMemPoolProps
Source§fn clone(&self) -> hipMemPoolProps
fn clone(&self) -> hipMemPoolProps
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 hipMemPoolProps
impl Debug for hipMemPoolProps
impl Copy for hipMemPoolProps
Auto Trait Implementations§
impl Freeze for hipMemPoolProps
impl RefUnwindSafe for hipMemPoolProps
impl !Send for hipMemPoolProps
impl !Sync for hipMemPoolProps
impl Unpin for hipMemPoolProps
impl UnwindSafe for hipMemPoolProps
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