Mojo module
dispatch
SM100 Conv2D dispatch for the nn conv op.
This module provides a dtype-safe dispatch function that gates SM100
conv2d kernel instantiation to supported dtypes (bf16/fp16) only.
Importing this module does NOT trigger kernel compilation -- the kernel
is only compiled when dispatch_sm100_conv2d is called with a supported
dtype inside a @parameter if guard.
comptime valuesβ
MutPointerβ
comptime MutPointer = LegacyUnsafePointer[?, address_space=?, origin=?]
Functionsβ
- β
dispatch_sm100_conv2d: Dispatch to SM100 structured conv2d with filter transpose.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!