mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
[DOCS] Added matrix multiplication tutorial
This commit is contained in:
@@ -40,7 +40,7 @@ def allclose(x, y):
|
||||
return err < tol
|
||||
|
||||
|
||||
def do_bench(fn, warmup=50, rep=50, grad_to_none=None, percentiles=[0.2, 0.8]):
|
||||
def do_bench(fn, warmup=25, rep=100, grad_to_none=None, percentiles=[0.2, 0.8]):
|
||||
# Estimate the runtime of the function
|
||||
fn()
|
||||
torch.cuda.synchronize()
|
||||
|
||||
Reference in New Issue
Block a user