Enum rcublas_sys::cudaMemRangeAttribute [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum cudaMemRangeAttribute {
cudaMemRangeAttributeReadMostly,
cudaMemRangeAttributePreferredLocation,
cudaMemRangeAttributeAccessedBy,
cudaMemRangeAttributeLastPrefetchLocation,
}
Expand description
CUDA range attributes
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.
cudaMemRangeAttributeReadMostly
< Whether the range will mostly be read and only occassionally be written to
cudaMemRangeAttributePreferredLocation
< The preferred location of the range
cudaMemRangeAttributeAccessedBy
< Memory range has ::cudaMemAdviseSetAccessedBy set for specified device
cudaMemRangeAttributeLastPrefetchLocation
< The last location to which the range was prefetched
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudaMemRangeAttribute
impl Send for cudaMemRangeAttribute
impl Sync for cudaMemRangeAttribute
impl Unpin for cudaMemRangeAttribute
impl UnwindSafe for cudaMemRangeAttribute
Blanket Implementations
Mutably borrows from an owned value. Read more