pub struct LaunchParams<'a> {
pub blocks: (u32, u32, u32),
pub threads: (u32, u32, u32),
pub shared_mem: u32,
pub stream: Option<&'a GpuStream>,
}Fields§
§blocks: (u32, u32, u32)§threads: (u32, u32, u32)§stream: Option<&'a GpuStream>Trait Implementations§
Source§impl<'a> Clone for LaunchParams<'a>
impl<'a> Clone for LaunchParams<'a>
Source§fn clone(&self) -> LaunchParams<'a>
fn clone(&self) -> LaunchParams<'a>
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<'a> Default for LaunchParams<'a>
impl<'a> Default for LaunchParams<'a>
Source§fn default() -> LaunchParams<'a>
fn default() -> LaunchParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Into<CudaLaunchParams<'a>> for LaunchParams<'a>
impl<'a> Into<CudaLaunchParams<'a>> for LaunchParams<'a>
Source§fn into(self) -> CudaLaunchParams<'a>
fn into(self) -> CudaLaunchParams<'a>
Converts this type into the (usually inferred) input type.
Source§impl<'a> Into<HipLaunchParams<'a>> for LaunchParams<'a>
impl<'a> Into<HipLaunchParams<'a>> for LaunchParams<'a>
Source§fn into(self) -> HipLaunchParams<'a>
fn into(self) -> HipLaunchParams<'a>
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl<'a> Freeze for LaunchParams<'a>
impl<'a> RefUnwindSafe for LaunchParams<'a>
impl<'a> !Send for LaunchParams<'a>
impl<'a> !Sync for LaunchParams<'a>
impl<'a> Unpin for LaunchParams<'a>
impl<'a> UnwindSafe for LaunchParams<'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