Struct rust_cuda::kernel::Launcher

source ·
pub struct Launcher<'stream, 'kernel, Kernel> {
    pub stream: Stream<'stream>,
    pub kernel: &'kernel mut TypedPtxKernel<Kernel>,
    pub config: LaunchConfig,
}
Available on crate feature host only.

Fields§

§stream: Stream<'stream>§kernel: &'kernel mut TypedPtxKernel<Kernel>§config: LaunchConfig

Implementations§

source§

impl<'stream, 'kernel, Kernel> Launcher<'stream, 'kernel, Kernel>

source

pub fn launch0(&mut self) -> CudaResult<()>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>),

source

pub fn with0_async<'a, Ok, Err: From<CudaError>>( &'a mut self, inner: impl FnOnce(&'a mut Self) -> Result<Ok, Err>, ) -> Result<Ok, Err>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>),

source

pub fn launch0_async( &mut self, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>),

source

pub fn launch1<A: CudaKernelParameter>( &mut self, arg1: A::SyncHostType, ) -> CudaResult<()>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A),

source

pub fn with1_async<'a, Ok, Err: From<CudaError>, A: CudaKernelParameter>( &'a mut self, arg1: A::SyncHostType, inner: impl FnOnce(&'a mut Self, A::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A),

source

pub fn launch1_async<A: CudaKernelParameter>( &mut self, arg1: A::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A),

source

pub fn launch2<A: CudaKernelParameter, B: CudaKernelParameter>( &mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, ) -> CudaResult<()>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B),

source

pub fn with2_async<'a, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter>( &'a mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, inner: impl FnOnce(&'a mut Self, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B),

source

pub fn launch2_async<A: CudaKernelParameter, B: CudaKernelParameter>( &mut self, arg1: A::AsyncHostType<'stream, '_>, arg2: B::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B),

source

pub fn launch3<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter>( &mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, ) -> CudaResult<()>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C),

source

pub fn with3_async<'a, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter>( &'a mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, inner: impl FnOnce(&'a mut Self, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>, C::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C),

source

pub fn launch3_async<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter>( &mut self, arg1: A::AsyncHostType<'stream, '_>, arg2: B::AsyncHostType<'stream, '_>, arg3: C::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C),

source

pub fn launch4<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter>( &mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, ) -> CudaResult<()>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D),

source

pub fn with4_async<'a, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter>( &'a mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, inner: impl FnOnce(&'a mut Self, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>, C::AsyncHostType<'stream, '_>, D::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D),

source

pub fn launch4_async<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter>( &mut self, arg1: A::AsyncHostType<'stream, '_>, arg2: B::AsyncHostType<'stream, '_>, arg3: C::AsyncHostType<'stream, '_>, arg4: D::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D),

source

pub fn launch5<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter>( &mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, ) -> CudaResult<()>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E),

source

pub fn with5_async<'a, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter>( &'a mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, inner: impl FnOnce(&'a mut Self, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>, C::AsyncHostType<'stream, '_>, D::AsyncHostType<'stream, '_>, E::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E),

source

pub fn launch5_async<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter>( &mut self, arg1: A::AsyncHostType<'stream, '_>, arg2: B::AsyncHostType<'stream, '_>, arg3: C::AsyncHostType<'stream, '_>, arg4: D::AsyncHostType<'stream, '_>, arg5: E::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E),

source

pub fn launch6<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter>( &mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, ) -> CudaResult<()>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F),

source

pub fn with6_async<'a, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter>( &'a mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, inner: impl FnOnce(&'a mut Self, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>, C::AsyncHostType<'stream, '_>, D::AsyncHostType<'stream, '_>, E::AsyncHostType<'stream, '_>, F::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F),

source

pub fn launch6_async<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter>( &mut self, arg1: A::AsyncHostType<'stream, '_>, arg2: B::AsyncHostType<'stream, '_>, arg3: C::AsyncHostType<'stream, '_>, arg4: D::AsyncHostType<'stream, '_>, arg5: E::AsyncHostType<'stream, '_>, arg6: F::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F),

source

pub fn launch7<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter>( &mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, arg7: G::SyncHostType, ) -> CudaResult<()>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G),

source

pub fn with7_async<'a, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter>( &'a mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, arg7: G::SyncHostType, inner: impl FnOnce(&'a mut Self, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>, C::AsyncHostType<'stream, '_>, D::AsyncHostType<'stream, '_>, E::AsyncHostType<'stream, '_>, F::AsyncHostType<'stream, '_>, G::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G),

source

pub fn launch7_async<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter>( &mut self, arg1: A::AsyncHostType<'stream, '_>, arg2: B::AsyncHostType<'stream, '_>, arg3: C::AsyncHostType<'stream, '_>, arg4: D::AsyncHostType<'stream, '_>, arg5: E::AsyncHostType<'stream, '_>, arg6: F::AsyncHostType<'stream, '_>, arg7: G::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G),

source

pub fn launch8<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter>( &mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, arg7: G::SyncHostType, arg8: H::SyncHostType, ) -> CudaResult<()>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H),

source

pub fn with8_async<'a, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter>( &'a mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, arg7: G::SyncHostType, arg8: H::SyncHostType, inner: impl FnOnce(&'a mut Self, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>, C::AsyncHostType<'stream, '_>, D::AsyncHostType<'stream, '_>, E::AsyncHostType<'stream, '_>, F::AsyncHostType<'stream, '_>, G::AsyncHostType<'stream, '_>, H::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H),

source

pub fn launch8_async<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter>( &mut self, arg1: A::AsyncHostType<'stream, '_>, arg2: B::AsyncHostType<'stream, '_>, arg3: C::AsyncHostType<'stream, '_>, arg4: D::AsyncHostType<'stream, '_>, arg5: E::AsyncHostType<'stream, '_>, arg6: F::AsyncHostType<'stream, '_>, arg7: G::AsyncHostType<'stream, '_>, arg8: H::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H),

source

pub fn launch9<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter>( &mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, arg7: G::SyncHostType, arg8: H::SyncHostType, arg9: I::SyncHostType, ) -> CudaResult<()>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H, I),

source

pub fn with9_async<'a, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter>( &'a mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, arg7: G::SyncHostType, arg8: H::SyncHostType, arg9: I::SyncHostType, inner: impl FnOnce(&'a mut Self, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>, C::AsyncHostType<'stream, '_>, D::AsyncHostType<'stream, '_>, E::AsyncHostType<'stream, '_>, F::AsyncHostType<'stream, '_>, G::AsyncHostType<'stream, '_>, H::AsyncHostType<'stream, '_>, I::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H, I),

source

pub fn launch9_async<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter>( &mut self, arg1: A::AsyncHostType<'stream, '_>, arg2: B::AsyncHostType<'stream, '_>, arg3: C::AsyncHostType<'stream, '_>, arg4: D::AsyncHostType<'stream, '_>, arg5: E::AsyncHostType<'stream, '_>, arg6: F::AsyncHostType<'stream, '_>, arg7: G::AsyncHostType<'stream, '_>, arg8: H::AsyncHostType<'stream, '_>, arg9: I::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H, I),

source

pub fn launch10<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter>( &mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, arg7: G::SyncHostType, arg8: H::SyncHostType, arg9: I::SyncHostType, arg10: J::SyncHostType, ) -> CudaResult<()>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H, I, J),

source

pub fn with10_async<'a, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter>( &'a mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, arg7: G::SyncHostType, arg8: H::SyncHostType, arg9: I::SyncHostType, arg10: J::SyncHostType, inner: impl FnOnce(&'a mut Self, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>, C::AsyncHostType<'stream, '_>, D::AsyncHostType<'stream, '_>, E::AsyncHostType<'stream, '_>, F::AsyncHostType<'stream, '_>, G::AsyncHostType<'stream, '_>, H::AsyncHostType<'stream, '_>, I::AsyncHostType<'stream, '_>, J::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H, I, J),

source

pub fn launch10_async<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter>( &mut self, arg1: A::AsyncHostType<'stream, '_>, arg2: B::AsyncHostType<'stream, '_>, arg3: C::AsyncHostType<'stream, '_>, arg4: D::AsyncHostType<'stream, '_>, arg5: E::AsyncHostType<'stream, '_>, arg6: F::AsyncHostType<'stream, '_>, arg7: G::AsyncHostType<'stream, '_>, arg8: H::AsyncHostType<'stream, '_>, arg9: I::AsyncHostType<'stream, '_>, arg10: J::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H, I, J),

source

pub fn launch11<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter, K: CudaKernelParameter>( &mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, arg7: G::SyncHostType, arg8: H::SyncHostType, arg9: I::SyncHostType, arg10: J::SyncHostType, arg11: K::SyncHostType, ) -> CudaResult<()>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H, I, J, K),

source

pub fn with11_async<'a, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter, K: CudaKernelParameter>( &'a mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, arg7: G::SyncHostType, arg8: H::SyncHostType, arg9: I::SyncHostType, arg10: J::SyncHostType, arg11: K::SyncHostType, inner: impl FnOnce(&'a mut Self, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>, C::AsyncHostType<'stream, '_>, D::AsyncHostType<'stream, '_>, E::AsyncHostType<'stream, '_>, F::AsyncHostType<'stream, '_>, G::AsyncHostType<'stream, '_>, H::AsyncHostType<'stream, '_>, I::AsyncHostType<'stream, '_>, J::AsyncHostType<'stream, '_>, K::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H, I, J, K),

source

pub fn launch11_async<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter, K: CudaKernelParameter>( &mut self, arg1: A::AsyncHostType<'stream, '_>, arg2: B::AsyncHostType<'stream, '_>, arg3: C::AsyncHostType<'stream, '_>, arg4: D::AsyncHostType<'stream, '_>, arg5: E::AsyncHostType<'stream, '_>, arg6: F::AsyncHostType<'stream, '_>, arg7: G::AsyncHostType<'stream, '_>, arg8: H::AsyncHostType<'stream, '_>, arg9: I::AsyncHostType<'stream, '_>, arg10: J::AsyncHostType<'stream, '_>, arg11: K::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H, I, J, K),

source

pub fn launch12<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter, K: CudaKernelParameter, L: CudaKernelParameter>( &mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, arg7: G::SyncHostType, arg8: H::SyncHostType, arg9: I::SyncHostType, arg10: J::SyncHostType, arg11: K::SyncHostType, arg12: L::SyncHostType, ) -> CudaResult<()>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H, I, J, K, L),

source

pub fn with12_async<'a, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter, K: CudaKernelParameter, L: CudaKernelParameter>( &'a mut self, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, arg7: G::SyncHostType, arg8: H::SyncHostType, arg9: I::SyncHostType, arg10: J::SyncHostType, arg11: K::SyncHostType, arg12: L::SyncHostType, inner: impl FnOnce(&'a mut Self, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>, C::AsyncHostType<'stream, '_>, D::AsyncHostType<'stream, '_>, E::AsyncHostType<'stream, '_>, F::AsyncHostType<'stream, '_>, G::AsyncHostType<'stream, '_>, H::AsyncHostType<'stream, '_>, I::AsyncHostType<'stream, '_>, J::AsyncHostType<'stream, '_>, K::AsyncHostType<'stream, '_>, L::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H, I, J, K, L),

source

pub fn launch12_async<A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter, K: CudaKernelParameter, L: CudaKernelParameter>( &mut self, arg1: A::AsyncHostType<'stream, '_>, arg2: B::AsyncHostType<'stream, '_>, arg3: C::AsyncHostType<'stream, '_>, arg4: D::AsyncHostType<'stream, '_>, arg5: E::AsyncHostType<'stream, '_>, arg6: F::AsyncHostType<'stream, '_>, arg7: G::AsyncHostType<'stream, '_>, arg8: H::AsyncHostType<'stream, '_>, arg9: I::AsyncHostType<'stream, '_>, arg10: J::AsyncHostType<'stream, '_>, arg11: K::AsyncHostType<'stream, '_>, arg12: L::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
where Kernel: FnOnce(&mut Launcher<'stream, '_, Kernel>, A, B, C, D, E, F, G, H, I, J, K, L),

Auto Trait Implementations§

§

impl<'stream, 'kernel, Kernel> Freeze for Launcher<'stream, 'kernel, Kernel>

§

impl<'stream, 'kernel, Kernel> !PortableBitSemantics for Launcher<'stream, 'kernel, Kernel>

§

impl<'stream, 'kernel, Kernel> !RefUnwindSafe for Launcher<'stream, 'kernel, Kernel>

§

impl<'stream, 'kernel, Kernel> !Send for Launcher<'stream, 'kernel, Kernel>

§

impl<'stream, 'kernel, Kernel> !StackOnly for Launcher<'stream, 'kernel, Kernel>

§

impl<'stream, 'kernel, Kernel> !Sync for Launcher<'stream, 'kernel, Kernel>

§

impl<'stream, 'kernel, Kernel> Unpin for Launcher<'stream, 'kernel, Kernel>

§

impl<'stream, 'kernel, Kernel> !UnwindSafe for Launcher<'stream, 'kernel, Kernel>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ExtractDiscriminant for T

§

type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty

The type of the discriminant, which must satisfy the trait bounds required by core::mem::Discriminant. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Erased for T