other gemm kernel use half-vector-machine style

This commit is contained in:
Youmu Liu
2026-06-08 16:18:03 +08:00
parent 1c515ea2ae
commit 9d5c0fd8b4
4 changed files with 129 additions and 128 deletions
+4 -8
View File
@@ -1,10 +1,10 @@
#ifdef _MSC_VER
#pragma once
#endif
#ifndef SNative
#define SNative
#ifdef __cplusplus
#error "This header is not meant to be included in C++ code. StgSharp.Native is a C library and should be used with C linkage."
#endif
#include "sn_internal.h"
#include "sn_target.h"
@@ -26,10 +26,6 @@
#ifndef SN_
#endif
#define ALIGN(simdVec) _mm_loadu_ps(&simdVec)
#define ALIGN256(simdVec) _mm256_loadu_ps(&simdVec)
#define ALIGN512(simdVec) _mm512_loadu_ps(&simdVec)
typedef struct Image {
int width;
int height;