From 902826995821492cea46b991f3f2b2df30624cad Mon Sep 17 00:00:00 2001 From: andrej Date: Wed, 12 Jun 2024 16:59:19 -0700 Subject: [PATCH] [matmul] format --- aie_kernels/aie2/mm.cc | 3 ++- programming_examples/basic/matrix_multiplication/test.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) mode change 100755 => 100644 aie_kernels/aie2/mm.cc diff --git a/aie_kernels/aie2/mm.cc b/aie_kernels/aie2/mm.cc old mode 100755 new mode 100644 index 35437afb40..0444fa6018 --- a/aie_kernels/aie2/mm.cc +++ b/aie_kernels/aie2/mm.cc @@ -431,7 +431,8 @@ extern "C" { r, s, t) \ void matmul_scalar_##mlir_type_in##_##mlir_type_out( \ ctype_in *a_in, ctype_in *b_in, ctype_out *c_out) { \ - matmul_scalar(a_in, b_in, c_out);\ + matmul_scalar(a_in, b_in, \ + c_out); \ } #define zero_vectorized_c_func(ctype_in, mlir_type_in, ctype_out, \ diff --git a/programming_examples/basic/matrix_multiplication/test.cpp b/programming_examples/basic/matrix_multiplication/test.cpp index e3786b0d2a..c838f30aeb 100644 --- a/programming_examples/basic/matrix_multiplication/test.cpp +++ b/programming_examples/basic/matrix_multiplication/test.cpp @@ -140,6 +140,7 @@ int main(int argc, const char *argv[]) { std::vector AVec(A_VOLUME); for (int i = 0; i < A_VOLUME; i++) { AVec[i] = matmul_common::random_bfloat16_t(); + // AVec[i] = i; } memcpy(bufA, AVec.data(), (AVec.size() * sizeof(A_DATATYPE))); B_DATATYPE *bufB = bo_b.map();