Skip to main content

Mojo function

func_unified

func_unified[bench_fn: def(mut Bencher, DeviceContext, Int) raises capturing -> None, //](mut b: Bencher, ctx: DeviceContext, i: Int)

func_unified[bench_fn: def(mut Bencher) capturing -> None, //](mut b: Bencher)

func_unified[user_bench_fn: def(mut Bencher) capturing -> None, //](mut b: Bencher)

Was this page helpful?