diff --git a/sgl-kernel/csrc/cpu/gemm_int4.cpp b/sgl-kernel/csrc/cpu/gemm_int4.cpp index e541f1bfc..e2da063a0 100644 --- a/sgl-kernel/csrc/cpu/gemm_int4.cpp +++ b/sgl-kernel/csrc/cpu/gemm_int4.cpp @@ -19,11 +19,11 @@ struct ActDtype { using type = uint8_t; }; +#if defined(CPU_CAPABILITY_AVX512) struct alignas(32) m256i_wrapper { __m256i data; }; -#if defined(CPU_CAPABILITY_AVX512) inline std::array load_zps_4vnni(const int8_t* __restrict__ zps) { // broadcast 01234567 to // 01234567012345670123456701234567