aboutsummaryrefslogtreecommitdiff
path: root/gemm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gemm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gemm.c b/gemm.c
index 2105bc3..90d38ae 100644
--- a/gemm.c
+++ b/gemm.c
@@ -3,7 +3,7 @@
#include <stdlib.h>
#include <string.h>
-void yunet_gemm_pack_a(const float *a, int m, int k, float *pack) {
+void facedet_gemm_pack_a(const float *a, int m, int k, float *pack) {
int mt = (m + 7) / 8;
for (int t = 0; t < mt; t++) {
float *p = pack + (size_t)t * 8 * k;
@@ -15,9 +15,9 @@ void yunet_gemm_pack_a(const float *a, int m, int k, float *pack) {
}
}
-size_t yunet_gemm_pack_a_bytes(int m, int k) { return (size_t)((m + 7) / 8) * 8 * k * sizeof(float); }
+size_t facedet_gemm_pack_a_bytes(int m, int k) { return (size_t)((m + 7) / 8) * 8 * k * sizeof(float); }
-#if defined(__aarch64__) && !defined(YUNET_SCALAR)
+#if defined(__aarch64__) && !defined(FACEDET_SCALAR)
# include <arm_neon.h>
static void kernel_8x12(const float *ap,
@@ -113,7 +113,7 @@ static void kernel_8x12_scalar(const float *ap,
}
}
-# if defined(__x86_64__) && !defined(YUNET_SCALAR)
+# if defined(__x86_64__) && !defined(FACEDET_SCALAR)
# include <immintrin.h>
__attribute__((target("avx2,fma"))) static void kernel_8x12_avx2(const float *ap,
@@ -202,7 +202,7 @@ static void kernel_8x12(const float *ap,
# endif
#endif
-void yunet_gemm(const float *a_pack,
+void facedet_gemm(const float *a_pack,
int m,
int k,
const float *b,