File tree Expand file tree Collapse file tree 2 files changed +1
-17
lines changed
aten/src/ATen/cpu/vec/vec256/vsx Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -53,22 +53,6 @@ DEPS_SONAME=(
5353
5454rm -rf /usr/local/cuda*
5555
56- if [[ " $( uname -m) " == " ppc64le" ]]; then
57- echo " Disabling ld.gold for ppc64le"
58- # Remove gold from CFLAGS, CXXFLAGS, LDFLAGS
59- export CFLAGS=" $( echo " ${CFLAGS} " | sed ' s/-fuse-ld=gold//g' ) "
60- export CXXFLAGS=" $( echo " ${CXXFLAGS} " | sed ' s/-fuse-ld=gold//g' ) "
61- export LDFLAGS=" $( echo " ${LDFLAGS} " | sed ' s/-fuse-ld=gold//g' ) "
62-
63- # Pass to CMake
64- CMAKE_ARGS+=(
65- " -DCMAKE_EXE_LINKER_FLAGS='${LDFLAGS} '"
66- " -DCMAKE_SHARED_LINKER_FLAGS='${LDFLAGS} '"
67- )
68- # Clean previous build cache
69- rm -rf build/ CMakeCache.txt CMakeFiles/
70- fi
71-
7256SOURCE_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null && pwd ) "
7357if [[ -z " $BUILD_PYTHONLESS " ]]; then
7458 BUILD_SCRIPT=build_common.sh
Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ class Vectorized<ComplexDbl> {
478478 this ->store (tmp1);
479479 b.store (tmp2);
480480
481- for (const auto i : c10::irange (Vectorized<c10::complex <float >>::size ())) {
481+ for (const auto i : c10::irange (Vectorized<c10::complex <double >>::size ())) {
482482 out[i] = tmp1[i] / tmp2[i];
483483 }
484484 return loadu (out);
You can’t perform that action at this time.
0 commit comments