flashinfer.testing.sleep_after_kernel_run

flashinfer.testing.sleep_after_kernel_run(execution_time)

在内核运行后休眠。根据执行时间动态调整休眠时间,最长可达 1 秒。

参数:

execution_time (float) – 内核执行时间,单位为毫秒。

返回值: