Skip to content

Commit 07c5ae0

Browse files
committed
fix: submissons
1 parent 7f7ebe1 commit 07c5ae0

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

submissions/neon/neon_6.bench.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ template <uint32_t TMdim, uint32_t TNdim, uint32_t TKdim, uint32_t TBatchDim> cl
2929
}
3030
};
3131

32-
BENCHMARK_TEMPLATE_DEFINE_F(GemmMxNxKxBatchFixture, BM_matmul_64_48_64, 64, 48, 64, 1)(benchmark::State &state)
32+
BENCHMARK_TEMPLATE_DEFINE_F(GemmMxNxKxBatchFixture, BM_matmul_64_48_64_1, 64, 48, 64, 1)(benchmark::State &state)
3333
{
3434
for (auto _ : state)
3535
{
36-
matmul_64_48_64(matrix_a, matrix_b, matrix_c, lda, ldb, ldc);
36+
matmul_64_48_64_1(matrix_a, matrix_b, matrix_c, lda, ldb, ldc);
3737
}
3838

3939
flops = (64 * 48 * 64) * 2; // M * N * K * 2 instructions (add & mul)
4040
flops *= state.iterations();
4141
};
4242

43-
BENCHMARK_REGISTER_F(GemmMxNxKxBatchFixture, BM_matmul_64_48_64)->MinWarmUpTime(1.0); // WarmUp in seconds
43+
BENCHMARK_REGISTER_F(GemmMxNxKxBatchFixture, BM_matmul_64_48_64_1)->MinWarmUpTime(1.0); // WarmUp in seconds
4444

4545
BENCHMARK_TEMPLATE_DEFINE_F(GemmMxNxKxBatchFixture, BM_matmul_64_48_64_16, 64, 48, 64, 16)(benchmark::State &state)
4646
{

submissions/neon/neon_6.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ extern "C"
1717
* @param ldb leading dimension of B.
1818
* @param ldc leading dimension of C.
1919
**/
20-
void matmul_64_48_64(float const *a, float const *b, float *c, int64_t lda, int64_t ldb, int64_t ldc);
20+
void matmul_64_48_64_1(float const *a, float const *b, float *c, int64_t lda, int64_t ldb, int64_t ldc);
2121

2222
/**
2323
* @brief Batch-reduce GEMM that computes: C+=sum(Ai*Bi) over a batch.

submissions/neon/neon_6.test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ TEST_CASE("Test 64x48x64 batch=1 gemm correctness random data", "[neon_6][correc
2929
copy_matrix(matrix_c, matrix_c_verify);
3030

3131
// Run matmuls
32-
matmul_64_48_64(matrix_a, matrix_b, matrix_c, 64, 64, 64);
32+
matmul_64_48_64_1(matrix_a, matrix_b, matrix_c, 64, 64, 64);
3333
naive_matmul_M_N_K_Batch<M, N, K, 1>(matrix_a, matrix_b, matrix_c_verify, 64, 64, 64, 0, 0);
3434

3535
verify_matmul(matrix_c_verify, matrix_c);
@@ -52,7 +52,7 @@ TEST_CASE("Test 64x48x64 batch=1 gemm correctness counting data", "[neon_6][corr
5252
copy_matrix(matrix_c, matrix_c_verify);
5353

5454
// Run matmuls
55-
matmul_64_48_64(matrix_a, matrix_b, matrix_c, 64, 64, 64);
55+
matmul_64_48_64_1(matrix_a, matrix_b, matrix_c, 64, 64, 64);
5656
naive_matmul_M_N_K_Batch<M, N, K, 1>(matrix_a, matrix_b, matrix_c_verify, 64, 64, 64, 0, 0);
5757

5858
verify_matmul(matrix_c_verify, matrix_c);

submissions/neon/neon_6_1_no_batch.s

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
* @param x4 = ldb leading dimension of B.
77
* @param x5 = ldc leading dimension of C.
88
**/
9-
.type matmul_64_48_64, %function
10-
.global matmul_64_48_64
11-
matmul_64_48_64:
9+
.type matmul_64_48_64_1, %function
10+
.global matmul_64_48_64_1
11+
matmul_64_48_64_1:
1212
1313
// Procedural Call Standard
1414
// save frame pointer and link register
@@ -191,4 +191,4 @@ matmul_loop_over_K:
191191
// ldp fp, lr, [sp], #16
192192

193193
ret
194-
.size matmul_64_48_64, (. - matmul_64_48_64)
194+
.size matmul_64_48_64_1, (. - matmul_64_48_64_1)

0 commit comments

Comments
 (0)