pub trait StaticKernelSource: Send + 'static + Sync {
    // Required method
    fn source() -> SourceTemplate;
}
Expand description

Static wgpu kernel to create a source template.

Required Methods§

source

fn source() -> SourceTemplate

Source template for the kernel.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl StaticKernelSource for Conv2d

source§

impl StaticKernelSource for ConvTranspose2d

source§

impl StaticKernelSource for MatmulMemCoalescingRaw

source§

impl StaticKernelSource for MatmulNaiveRaw

source§

impl StaticKernelSource for MatmulTiling2DUnpaddedRaw

source§

impl StaticKernelSource for MatmulTiling2Dvec4Raw

source§

impl StaticKernelSource for MatmulTiling2DVec4LhsRaw

source§

impl StaticKernelSource for AvgPool2dBackwardRaw

source§

impl StaticKernelSource for AvgPool2dRaw

source§

impl StaticKernelSource for MaxPool2d

source§

impl StaticKernelSource for MaxPool2dWithIndices

source§

impl StaticKernelSource for MaxPool2dWithIndicesBackward

source§

impl StaticKernelSource for RecursiveSumRaw

source§

impl StaticKernelSource for ReductionArgsRaw

source§

impl StaticKernelSource for ReductionDimRaw

source§

impl StaticKernelSource for ReductionDimSharedMemoryRaw

source§

impl StaticKernelSource for BinaryElemwiseInplaceRaw

source§

impl StaticKernelSource for BinaryElemwiseRaw

source§

impl StaticKernelSource for CastRaw

source§

impl StaticKernelSource for ContiguousRaw

source§

impl StaticKernelSource for UnaryInplaceRaw

source§

impl StaticKernelSource for UnaryRaw

source§

impl StaticKernelSource for UnaryScalarInplaceRaw

source§

impl StaticKernelSource for UnaryScalarRaw

source§

impl<K: StaticKernelSource, E: WgpuElement, I: WgpuElement, const WORKGROUP_X_SIZE: usize, const WORKGROUP_Y_SIZE: usize, const WORKGROUP_Z_SIZE: usize> StaticKernelSource for KernelSettings<K, E, I, WORKGROUP_X_SIZE, WORKGROUP_Y_SIZE, WORKGROUP_Z_SIZE>