pub enum LaunchAttribute {
Cooperative(bool),
ClusterDimension(Dim3),
ClusterSchedulingPolicy(ClusterSchedulingPolicy),
SharedMemoryMode(SharedMemoryMode),
Priority(i32),
PreferredSharedMemoryCarveout(u32),
}Expand description
Per-launch execution configuration.
Variants§
Cooperative(bool)
Whether the kernel is launched as a cooperative kernel.
ClusterDimension(Dim3)
Dimensions of the cluster in blocks.
ClusterSchedulingPolicy(ClusterSchedulingPolicy)
Cluster scheduling policy preference.
Shared memory configuration for the kernel launch.
Priority(i32)
Priority of the kernel launch.
Preferred shared memory carveout percentage.
Trait Implementations§
Source§impl Clone for LaunchAttribute
impl Clone for LaunchAttribute
impl Copy for LaunchAttribute
Auto Trait Implementations§
impl Forget for LaunchAttribute
impl Freeze for LaunchAttribute
impl Move for LaunchAttribute
impl RefUnwindSafe for LaunchAttribute
impl Send for LaunchAttribute
impl Sync for LaunchAttribute
impl Unpin for LaunchAttribute
impl UnsafeUnpin for LaunchAttribute
impl UnwindSafe for LaunchAttribute
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