Skip to content

Commit

Permalink
chnages suggested by malfet
Browse files Browse the repository at this point in the history
  • Loading branch information
pratiklp00 authored and pytorchmergebot committed Nov 9, 2023
1 parent 166d46f commit 499f13f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions aten/src/ATen/cpu/vec/vec256/vsx/vsx_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,10 @@ vec_sldw_aux(const vfloat32& vec_in0, const vfloat32& vec_in1) {
#endif

#define vec_not(a) vec_nor(a, a)
#if defined(__clang__)
#if !defined(vec_splats)
#if defined(__clang__) && !defined(vec_splats)
C10_ALWAYS_INLINE vint64 vec_splats(const int64_t& a) {
return vec_splats(static_cast<signed long long>(a));
return vec_splats(a);
}
#endif
#endif
// Vectorized min/max which return a if any operand is nan
template <class T>
Expand Down

0 comments on commit 499f13f

Please sign in to comment.