Struct simt_cuda::CudaLaunchParams
source · pub struct CudaLaunchParams<'a> {
pub blocks: (u32, u32, u32),
pub threads: (u32, u32, u32),
pub shared_mem: u32,
pub stream: Option<&'a CudaStream>,
}
Fields§
§blocks: (u32, u32, u32)
§threads: (u32, u32, u32)
§stream: Option<&'a CudaStream>
Trait Implementations§
source§impl<'a> Clone for CudaLaunchParams<'a>
impl<'a> Clone for CudaLaunchParams<'a>
source§fn clone(&self) -> CudaLaunchParams<'a>
fn clone(&self) -> CudaLaunchParams<'a>
Returns a copy 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<'a> Default for CudaLaunchParams<'a>
impl<'a> Default for CudaLaunchParams<'a>
source§fn default() -> CudaLaunchParams<'a>
fn default() -> CudaLaunchParams<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CudaLaunchParams<'a>
impl<'a> !Send for CudaLaunchParams<'a>
impl<'a> !Sync for CudaLaunchParams<'a>
impl<'a> Unpin for CudaLaunchParams<'a>
impl<'a> UnwindSafe for CudaLaunchParams<'a>
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