Skip to content

Commit f61dd36

Browse files
using 4x runner for ppc 2
1 parent 952a167 commit f61dd36

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

.ci/manywheel/build_cpu.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -53,22 +53,6 @@ DEPS_SONAME=(
5353

5454
rm -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-
7256
SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
7357
if [[ -z "$BUILD_PYTHONLESS" ]]; then
7458
BUILD_SCRIPT=build_common.sh

aten/src/ATen/cpu/vec/vec256/vsx/vec256_complex_double_vsx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)