#[repr(C)]pub struct hipAccessPolicyWindow {
pub base_ptr: *mut c_void,
pub hitProp: hipAccessProperty,
pub hitRatio: f32,
pub missProp: hipAccessProperty,
pub num_bytes: usize,
}Expand description
Specifies access policy for a window, a contiguous extent of memory beginning at base_ptr and ending at base_ptr + num_bytes.
Fields§
§base_ptr: *mut c_void< Starting address of the access policy window
hitProp: hipAccessProperty< hipAccessProperty set for hit
hitRatio: f32< hitRatio specifies percentage of lines assigned hitProp
missProp: hipAccessProperty< hipAccessProperty set for miss
num_bytes: usize< Size in bytes of the window policy.
Trait Implementations§
Source§impl Clone for hipAccessPolicyWindow
impl Clone for hipAccessPolicyWindow
Source§fn clone(&self) -> hipAccessPolicyWindow
fn clone(&self) -> hipAccessPolicyWindow
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 hipAccessPolicyWindow
impl Debug for hipAccessPolicyWindow
impl Copy for hipAccessPolicyWindow
Auto Trait Implementations§
impl Freeze for hipAccessPolicyWindow
impl RefUnwindSafe for hipAccessPolicyWindow
impl !Send for hipAccessPolicyWindow
impl !Sync for hipAccessPolicyWindow
impl Unpin for hipAccessPolicyWindow
impl UnsafeUnpin for hipAccessPolicyWindow
impl UnwindSafe for hipAccessPolicyWindow
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