-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Batched SVD test failures #4684
Copy link
Copy link
Closed
Description
Two kinds of failures after #4628 was in:
- Compiler error: Some CI configurations do not run on C++11 natively, so they complain about
--std=c++11not set, ex:
13:05:36 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -fPIC -fPIC -D_FORCE_INLINES=1 -DCUPY_CUB_VERSION_CODE=100800 -DCUPY_JITIFY_VERSION_CODE=60e9e72 -I/work/cupy/install/../cupy/core/include/cupy/cub -I/work/cupy/install/../cupy/core/include -I/usr/local/cuda/include -I/opt/pyenv/versions/3.7.0/include/python3.7m -c cupy_backends/cuda/libs/cusolver.cpp -o build/temp.linux-x86_64-3.7/cupy_backends/cuda/libs/cusolver.o -fopenmp
13:05:36 In file included from /usr/include/c++/5/type_traits:35:0,
13:05:36 from cupy_backends/cuda/libs/../../cupy_lapack.h:4,
13:05:36 from cupy_backends/cuda/libs/cusolver.cpp:662:
13:05:36 /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
13:05:36 #error This file requires compiler and library support \
13:05:36 ^
13:05:36 In file included from cupy_backends/cuda/libs/cusolver.cpp:662:0:
13:05:36 cupy_backends/cuda/libs/../../cupy_lapack.h:25:1: error: expected unqualified-id before ‘using’
13:05:36 using gesvd = cusolverStatus_t (*)(cusolverDnHandle_t, signed char, signed char, int, int, T1*, int, T2*, T1*, int, T1*, int, T1*, int, T2*, int*);
13:05:36 ^
- Random loop-based SVD error: In Support batched SVD #4628 (comment) I thought it's due to a known cuSOLVER bug on CUDA 10.0, so I skipped testing in 10.0, but apparently several non-10.0 CIs also experience the same error:
tests.cupy_tests.linalg_tests.test_decomposition.TestSVD_param_0_{full_matrices=True}.test_svd_rank3_loop
tests.cupy_tests.linalg_tests.test_decomposition.TestSVD_param_0_{full_matrices=True}.test_svd_rank4_loop
tests.cupy_tests.linalg_tests.test_decomposition.TestSVD_param_1_{full_matrices=False}.test_svd_rank4_loop
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels