Struct rust_cuda::kernel::TypedPtxKernel
source · pub struct TypedPtxKernel<Kernel> { /* private fields */ }
Available on crate feature
host
only.Implementations§
source§impl<Kernel> TypedPtxKernel<Kernel>
impl<Kernel> TypedPtxKernel<Kernel>
pub fn new<T: CompiledKernelPtx<Kernel>>( configure: Option<Box<PtxKernelConfigure>>, ) -> Self
source§impl<Kernel> TypedPtxKernel<Kernel>
impl<Kernel> TypedPtxKernel<Kernel>
pub fn launch0<'kernel, 'stream>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, ) -> CudaResult<()>
pub fn with0_async<'kernel, 'stream, Ok, Err: From<CudaError>>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, inner: impl FnOnce(&'kernel mut Self, Stream<'stream>, &LaunchConfig) -> Result<Ok, Err>, ) -> Result<Ok, Err>
pub fn launch0_async<'kernel, 'stream>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
pub fn launch1<'kernel, 'stream, A: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::SyncHostType, ) -> CudaResult<()>
pub fn with1_async<'kernel, 'stream, Ok, Err: From<CudaError>, A: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::SyncHostType, inner: impl FnOnce(&'kernel mut Self, Stream<'stream>, &LaunchConfig, A::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
pub fn launch1_async<'kernel, 'stream, A: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
pub fn launch2<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::SyncHostType, arg2: B::SyncHostType, ) -> CudaResult<()>
pub fn with2_async<'kernel, 'stream, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::SyncHostType, arg2: B::SyncHostType, inner: impl FnOnce(&'kernel mut Self, Stream<'stream>, &LaunchConfig, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
pub fn launch2_async<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::AsyncHostType<'stream, '_>, arg2: B::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
pub fn launch3<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, ) -> CudaResult<()>
pub fn with3_async<'kernel, 'stream, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, inner: impl FnOnce(&'kernel mut Self, Stream<'stream>, &LaunchConfig, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>, C::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
pub fn launch3_async<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::AsyncHostType<'stream, '_>, arg2: B::AsyncHostType<'stream, '_>, arg3: C::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
pub fn launch4<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, ) -> CudaResult<()>
pub fn with4_async<'kernel, 'stream, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, inner: impl FnOnce(&'kernel mut Self, Stream<'stream>, &LaunchConfig, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>, C::AsyncHostType<'stream, '_>, D::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
pub fn launch4_async<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::AsyncHostType<'stream, '_>, arg2: B::AsyncHostType<'stream, '_>, arg3: C::AsyncHostType<'stream, '_>, arg4: D::AsyncHostType<'stream, '_>, ) -> CudaResult<Async<'static, 'stream, (), NoCompletion>>
pub fn launch5<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, ) -> CudaResult<()>
pub fn with5_async<'kernel, 'stream, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, inner: impl FnOnce(&'kernel mut Self, Stream<'stream>, &LaunchConfig, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>, C::AsyncHostType<'stream, '_>, D::AsyncHostType<'stream, '_>, E::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
pub fn launch5_async<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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>>
pub fn launch6<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, ) -> CudaResult<()>
pub fn with6_async<'kernel, 'stream, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, inner: impl FnOnce(&'kernel mut Self, Stream<'stream>, &LaunchConfig, A::AsyncHostType<'stream, '_>, B::AsyncHostType<'stream, '_>, C::AsyncHostType<'stream, '_>, D::AsyncHostType<'stream, '_>, E::AsyncHostType<'stream, '_>, F::AsyncHostType<'stream, '_>) -> Result<Ok, Err>, ) -> Result<Ok, Err>
pub fn launch6_async<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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>>
pub fn launch7<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, arg7: G::SyncHostType, ) -> CudaResult<()>
pub fn with7_async<'kernel, 'stream, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, arg1: A::SyncHostType, arg2: B::SyncHostType, arg3: C::SyncHostType, arg4: D::SyncHostType, arg5: E::SyncHostType, arg6: F::SyncHostType, arg7: G::SyncHostType, inner: impl FnOnce(&'kernel mut Self, Stream<'stream>, &LaunchConfig, 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>
pub fn launch7_async<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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>>
pub fn launch8<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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<()>
pub fn with8_async<'kernel, 'stream, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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(&'kernel mut Self, Stream<'stream>, &LaunchConfig, 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>
pub fn launch8_async<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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>>
pub fn launch9<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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<()>
pub fn with9_async<'kernel, 'stream, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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(&'kernel mut Self, Stream<'stream>, &LaunchConfig, 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>
pub fn launch9_async<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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>>
pub fn launch10<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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<()>
pub fn with10_async<'kernel, 'stream, Ok, Err: From<CudaError>, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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(&'kernel mut Self, Stream<'stream>, &LaunchConfig, 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>
pub fn launch10_async<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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>>
pub fn launch11<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter, K: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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<()>
pub fn with11_async<'kernel, 'stream, 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>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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(&'kernel mut Self, Stream<'stream>, &LaunchConfig, 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>
pub fn launch11_async<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter, K: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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>>
pub fn launch12<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter, K: CudaKernelParameter, L: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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<()>
pub fn with12_async<'kernel, 'stream, 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>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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(&'kernel mut Self, Stream<'stream>, &LaunchConfig, 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>
pub fn launch12_async<'kernel, 'stream, A: CudaKernelParameter, B: CudaKernelParameter, C: CudaKernelParameter, D: CudaKernelParameter, E: CudaKernelParameter, F: CudaKernelParameter, G: CudaKernelParameter, H: CudaKernelParameter, I: CudaKernelParameter, J: CudaKernelParameter, K: CudaKernelParameter, L: CudaKernelParameter>( &'kernel mut self, stream: Stream<'stream>, config: &LaunchConfig, 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>>
Auto Trait Implementations§
impl<Kernel> Freeze for TypedPtxKernel<Kernel>
impl<Kernel> !PortableBitSemantics for TypedPtxKernel<Kernel>
impl<Kernel> !RefUnwindSafe for TypedPtxKernel<Kernel>
impl<Kernel> !Send for TypedPtxKernel<Kernel>
impl<Kernel> !StackOnly for TypedPtxKernel<Kernel>
impl<Kernel> !Sync for TypedPtxKernel<Kernel>
impl<Kernel> Unpin for TypedPtxKernel<Kernel>where
Kernel: Unpin,
impl<Kernel> !UnwindSafe for TypedPtxKernel<Kernel>
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
source§impl<T> ExtractDiscriminant for T
impl<T> ExtractDiscriminant for T
§type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
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