For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo function
bencher_iter_custom_multicontext
def bencher_iter_custom_multicontext[kernel_launch_fn: def() raises capturing thin -> None](mut self_: Bencher, ctxs: List[DeviceContext])
Times a target GPU function with custom number of iterations via DeviceContext ctx.
Parameters:
- โkernel_launch_fn (
def() raises capturing thin -> None): The target GPU kernel launch function to benchmark.
Args:
- โself_ (
Bencher): The bencher state. - โctxs (
List[DeviceContext]): The list of GPU DeviceContext's for launching kernel.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!