#[non_exhaustive]#[repr(u32)]pub enum cudaAccessProperty {
cudaAccessPropertyNormal = 0,
cudaAccessPropertyStreaming = 1,
cudaAccessPropertyPersisting = 2,
}
Expand description
Specifies performance hint with ::cudaAccessPolicyWindow for hitProp and missProp members.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
cudaAccessPropertyNormal = 0
< Normal cache persistence.
cudaAccessPropertyStreaming = 1
< Streaming access is less likely to persit from cache.
cudaAccessPropertyPersisting = 2
< Persisting access is more likely to persist in cache.
Trait Implementations§
Source§impl Clone for cudaAccessProperty
impl Clone for cudaAccessProperty
Source§fn clone(&self) -> cudaAccessProperty
fn clone(&self) -> cudaAccessProperty
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 cudaAccessProperty
impl Debug for cudaAccessProperty
Source§impl Hash for cudaAccessProperty
impl Hash for cudaAccessProperty
Source§impl PartialEq for cudaAccessProperty
impl PartialEq for cudaAccessProperty
impl Copy for cudaAccessProperty
impl Eq for cudaAccessProperty
impl StructuralPartialEq for cudaAccessProperty
Auto Trait Implementations§
impl Freeze for cudaAccessProperty
impl RefUnwindSafe for cudaAccessProperty
impl Send for cudaAccessProperty
impl Sync for cudaAccessProperty
impl Unpin for cudaAccessProperty
impl UnwindSafe for cudaAccessProperty
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