diff --git a/csrc/cpu/utils.hpp b/csrc/cpu/utils.hpp index 8ab0bb039c014..682751d67b1cd 100644 --- a/csrc/cpu/utils.hpp +++ b/csrc/cpu/utils.hpp @@ -37,10 +37,12 @@ struct VecTypeTrait { }; #endif +#if !defined(__powerpc__) template <> struct VecTypeTrait { using vec_t = vec_op::FP16Vec16; }; +#endif struct Counter { std::atomic counter;