Unverified Commit bd2b52fc authored by Nishidha Panpaliya's avatar Nishidha Panpaliya Committed by GitHub
Browse files

[CPU][Bugfix] Fix ppc64le CPU build (#30871)


Signed-off-by: default avatarNishidha Panpaliya <nishidha.panpaliya@partner.ibm.com>
parent 420ba2db
...@@ -37,10 +37,12 @@ struct VecTypeTrait<c10::BFloat16> { ...@@ -37,10 +37,12 @@ struct VecTypeTrait<c10::BFloat16> {
}; };
#endif #endif
#if !defined(__powerpc__)
template <> template <>
struct VecTypeTrait<c10::Half> { struct VecTypeTrait<c10::Half> {
using vec_t = vec_op::FP16Vec16; using vec_t = vec_op::FP16Vec16;
}; };
#endif
struct Counter { struct Counter {
std::atomic<int64_t> counter; std::atomic<int64_t> counter;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment