Skip to content

Commit fc7aca1

Browse files
committed
Add tolerances to number of files
1 parent 3a55587 commit fc7aca1

34 files changed

+72
-0
lines changed

problems/specs/KernelBench/level1/10_3D_tensor_matrix_multiplication.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ bench-gpu:
2525
K: 2048
2626
L: 768
2727
flop: "2*N*M*L*K"
28+
rtol: 0.016
29+
atol: 1.0e-05

problems/specs/KernelBench/level1/11_4D_tensor_matrix_multiplication.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ bench-gpu:
2727
L: 256
2828
K: 768
2929
flop: "2*B*I*J*K*L"
30+
rtol: 0.016
31+
atol: 1.0e-05

problems/specs/KernelBench/level1/12_Matmul_with_diagonal_matrices_.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ bench-gpu:
2121
M: 4096
2222
N: 4096
2323
flop: "2*M*N"
24+
rtol: 0.016
25+
atol: 1.0e-05

problems/specs/KernelBench/level1/16_Matmul_with_transposed_A.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ bench-gpu:
2323
N: 2048
2424
K: 4096
2525
flop: "2*M*N*K"
26+
rtol: 0.016
27+
atol: 1.0e-05

problems/specs/KernelBench/level1/17_Matmul_with_transposed_B.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ bench-gpu:
2323
N: 2048
2424
K: 4096
2525
flop: "2*M*N*K"
26+
rtol: 0.016
27+
atol: 1.0e-05

problems/specs/KernelBench/level1/18_Matmul_with_transposed_both.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ bench-gpu:
2323
N: 2048
2424
K: 4096
2525
flop: "2*N*M*K"
26+
rtol: 0.016
27+
atol: 1.0e-05

problems/specs/KernelBench/level1/19_ReLU.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ bench-gpu:
2727
DIM: 16384
2828
flop: "BATCH*DIM"
2929
mem_bytes: "(2*BATCH*DIM) * 2" # f16
30+
rtol: 0.016
31+
atol: 1.0e-05

problems/specs/KernelBench/level1/1_Square_matrix_multiplication_.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,19 @@ bench-gpu:
3030
dims:
3131
N: 1024
3232
flop: "2*N*N*N"
33+
rtol: 0.016
34+
atol: 1.0e-05
3335
- params: [A, B]
3436
dtype: float16
3537
dims:
3638
N: 2048
3739
flop: "2*N*N*N"
40+
rtol: 0.016
41+
atol: 1.0e-05
3842
- params: [A, B]
3943
dtype: float16
4044
dims:
4145
N: 4096
4246
flop: "2*N*N*N"
47+
rtol: 0.016
48+
atol: 1.0e-05

problems/specs/KernelBench/level1/20_LeakyReLU.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ bench-gpu:
1818
BATCH: 1024
1919
DIM: 16384
2020
flop: "2*BATCH*DIM"
21+
rtol: 0.016
22+
atol: 1.0e-05

problems/specs/KernelBench/level1/2_Standard_matrix_multiplication_.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ bench-gpu:
3333
K: 4096
3434
flop: "2*M*N*K"
3535
mem_bytes: "(M*K + K*N + M*N) * 2" # f16
36+
rtol: 0.016
37+
atol: 1.0e-05

0 commit comments

Comments
 (0)