#[repr(C)]pub struct cudaLaunchMemSyncDomainMap_st {
pub default_: c_uchar,
pub remote: c_uchar,
}Expand description
Memory Synchronization Domain map.
By default, kernels are launched in domain 0. Kernel launched with cudaLaunchMemSyncDomain::cudaLaunchMemSyncDomainRemote will have a different domain ID. User may also alter the domain ID with cudaLaunchMemSyncDomainMap for a specific stream / graph node / kernel launch. See cudaLaunchAttributeID::cudaLaunchAttributeMemSyncDomainMap.
Domain ID range is available through cudaDeviceAttr::CU_DEVICE_ATTRIBUTE_MEM_SYNC_DOMAIN_COUNT.
Fields§
§default_: c_ucharThe default domain ID to use for designated kernels.
remote: c_ucharThe remote domain ID to use for designated kernels.
Trait Implementations§
impl Copy for cudaLaunchMemSyncDomainMap_st
impl Eq for cudaLaunchMemSyncDomainMap_st
Source§impl Hash for cudaLaunchMemSyncDomainMap_st
impl Hash for cudaLaunchMemSyncDomainMap_st
Source§impl Ord for cudaLaunchMemSyncDomainMap_st
impl Ord for cudaLaunchMemSyncDomainMap_st
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for cudaLaunchMemSyncDomainMap_st
impl PartialOrd for cudaLaunchMemSyncDomainMap_st
impl StructuralPartialEq for cudaLaunchMemSyncDomainMap_st
Auto Trait Implementations§
impl Forget for cudaLaunchMemSyncDomainMap_st
impl Freeze for cudaLaunchMemSyncDomainMap_st
impl Move for cudaLaunchMemSyncDomainMap_st
impl RefUnwindSafe for cudaLaunchMemSyncDomainMap_st
impl Send for cudaLaunchMemSyncDomainMap_st
impl Sync for cudaLaunchMemSyncDomainMap_st
impl Unpin for cudaLaunchMemSyncDomainMap_st
impl UnsafeUnpin for cudaLaunchMemSyncDomainMap_st
impl UnwindSafe for cudaLaunchMemSyncDomainMap_st
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