#[repr(transparent)]pub struct cudaMemRangeAttribute(pub c_uint);
Expand description
CUDA range attributes
Tuple Fields§
§0: c_uint
Implementations§
Source§impl cudaMemRangeAttribute
impl cudaMemRangeAttribute
Sourcepub const cudaMemRangeAttributeReadMostly: cudaMemRangeAttribute
pub const cudaMemRangeAttributeReadMostly: cudaMemRangeAttribute
< Whether the range will mostly be read and only occassionally be written to
Source§impl cudaMemRangeAttribute
impl cudaMemRangeAttribute
Sourcepub const cudaMemRangeAttributePreferredLocation: cudaMemRangeAttribute
pub const cudaMemRangeAttributePreferredLocation: cudaMemRangeAttribute
< The preferred location of the range
Source§impl cudaMemRangeAttribute
impl cudaMemRangeAttribute
Sourcepub const cudaMemRangeAttributeAccessedBy: cudaMemRangeAttribute
pub const cudaMemRangeAttributeAccessedBy: cudaMemRangeAttribute
< Memory range has ::cudaMemAdviseSetAccessedBy set for specified device
Source§impl cudaMemRangeAttribute
impl cudaMemRangeAttribute
Sourcepub const cudaMemRangeAttributeLastPrefetchLocation: cudaMemRangeAttribute
pub const cudaMemRangeAttributeLastPrefetchLocation: cudaMemRangeAttribute
< The last location to which the range was prefetched
Source§impl cudaMemRangeAttribute
impl cudaMemRangeAttribute
Sourcepub const cudaMemRangeAttributePreferredLocationType: cudaMemRangeAttribute
pub const cudaMemRangeAttributePreferredLocationType: cudaMemRangeAttribute
< The preferred location type of the range
Source§impl cudaMemRangeAttribute
impl cudaMemRangeAttribute
Sourcepub const cudaMemRangeAttributePreferredLocationId: cudaMemRangeAttribute
pub const cudaMemRangeAttributePreferredLocationId: cudaMemRangeAttribute
< The preferred location id of the range
Source§impl cudaMemRangeAttribute
impl cudaMemRangeAttribute
Sourcepub const cudaMemRangeAttributeLastPrefetchLocationType: cudaMemRangeAttribute
pub const cudaMemRangeAttributeLastPrefetchLocationType: cudaMemRangeAttribute
< The last location type to which the range was prefetched
Source§impl cudaMemRangeAttribute
impl cudaMemRangeAttribute
Sourcepub const cudaMemRangeAttributeLastPrefetchLocationId: cudaMemRangeAttribute
pub const cudaMemRangeAttributeLastPrefetchLocationId: cudaMemRangeAttribute
< The last location id to which the range was prefetched
Trait Implementations§
Source§impl Clone for cudaMemRangeAttribute
impl Clone for cudaMemRangeAttribute
Source§fn clone(&self) -> cudaMemRangeAttribute
fn clone(&self) -> cudaMemRangeAttribute
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 cudaMemRangeAttribute
impl Debug for cudaMemRangeAttribute
Source§impl Hash for cudaMemRangeAttribute
impl Hash for cudaMemRangeAttribute
Source§impl PartialEq for cudaMemRangeAttribute
impl PartialEq for cudaMemRangeAttribute
impl Copy for cudaMemRangeAttribute
impl Eq for cudaMemRangeAttribute
impl StructuralPartialEq for cudaMemRangeAttribute
Auto Trait Implementations§
impl Freeze for cudaMemRangeAttribute
impl RefUnwindSafe for cudaMemRangeAttribute
impl Send for cudaMemRangeAttribute
impl Sync for cudaMemRangeAttribute
impl Unpin for cudaMemRangeAttribute
impl UnwindSafe for cudaMemRangeAttribute
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