This commit is contained in:
sota-junsik 2024-05-05 15:24:56 +09:00
parent cdf5a70f3e
commit a3bec209d7
2 changed files with 3 additions and 6 deletions

View File

@ -7,7 +7,8 @@
"math.h": "c", "math.h": "c",
"immintrin.h": "c", "immintrin.h": "c",
"stdio.h": "c", "stdio.h": "c",
"cstdio": "cpp" "cstdio": "cpp",
"cassert": "cpp"
}, },
"C_Cpp.errorSquiggles": "disabled", "C_Cpp.errorSquiggles": "disabled",
"editor.tabSize": 2 "editor.tabSize": 2

View File

@ -1,8 +1,4 @@
#pragma once #pragma once
enum method {
NAIVE,
SIMD,
};
void matmul(const float *A, const float *B, float *C, int M, int N, int K, int how); void matmul(const float *A, const float *B, float *C, int M, int N, int K, int num_threads);