[sgl-kernel/cpu] fix build error on non-x86 platform (#22245)
Co-authored-by: Ma Mingfei <mingfei.ma@intel.com>
This commit is contained in:
@@ -19,11 +19,11 @@ struct ActDtype<false> {
|
|||||||
using type = uint8_t;
|
using type = uint8_t;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined(CPU_CAPABILITY_AVX512)
|
||||||
struct alignas(32) m256i_wrapper {
|
struct alignas(32) m256i_wrapper {
|
||||||
__m256i data;
|
__m256i data;
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(CPU_CAPABILITY_AVX512)
|
|
||||||
inline std::array<m256i_wrapper, 2> load_zps_4vnni(const int8_t* __restrict__ zps) {
|
inline std::array<m256i_wrapper, 2> load_zps_4vnni(const int8_t* __restrict__ zps) {
|
||||||
// broadcast 01234567 to
|
// broadcast 01234567 to
|
||||||
// 01234567012345670123456701234567
|
// 01234567012345670123456701234567
|
||||||
|
|||||||
Reference in New Issue
Block a user