pub struct LaunchConfig {
pub grid: CudaExpr,
pub block: CudaExpr,
pub shared_mem: CudaExpr,
pub stream: Option<CudaExpr>,
}Expand description
CUDA kernel launch configuration.
Fields§
§grid: CudaExprGrid dimensions (number of blocks)
block: CudaExprBlock dimensions (threads per block)
Dynamic shared memory bytes (0 if none)
stream: Option<CudaExpr>CUDA stream (None → default stream)
Implementations§
Trait Implementations§
Source§impl Clone for LaunchConfig
impl Clone for LaunchConfig
Source§fn clone(&self) -> LaunchConfig
fn clone(&self) -> LaunchConfig
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 LaunchConfig
impl Debug for LaunchConfig
Source§impl PartialEq for LaunchConfig
impl PartialEq for LaunchConfig
impl StructuralPartialEq for LaunchConfig
Auto Trait Implementations§
impl Freeze for LaunchConfig
impl RefUnwindSafe for LaunchConfig
impl Send for LaunchConfig
impl Sync for LaunchConfig
impl Unpin for LaunchConfig
impl UnsafeUnpin for LaunchConfig
impl UnwindSafe for LaunchConfig
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