triton.testingΒΆ

Benchmark

This class is used by the perf_report function to generate line plots with a concise API.

do_bench

Benchmark the runtime of the provided function.

do_bench_cudagraph

Benchmark the runtime of the provided function.

perf_report

Mark a function for benchmarking.

assert_close

Asserts that two inputs are close within a certain tolerance.