triton.testing

基准测试

这个类被perf_report函数用来通过简洁的API生成折线图。

do_bench

对提供的函数进行运行时基准测试。

do_bench_cudagraph

对提供的函数进行运行时基准测试。

perf_report

标记一个函数用于性能基准测试。

assert_close

断言两个输入在某个容差范围内是接近的。