This repository was archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 192
This repository was archived by the owner on Mar 21, 2024. It is now read-only.
cuda::std::complex doesn't work with NVRTC because some <cmath> functions are missing #101
Copy link
Copy link
Closed
Milestone
Description
******************** TEST 'libcu++ :: std/numerics/complex.number/complex/types.pass.cpp' FAILED ********************
Compiled With: '/data/tmp/libcudacxx/utils/nvidia/nvrtc/nvrtc.sh nvcc -o /data/tmp/libcudacxx/build/libcxx/test/std/numerics/complex.number/complex/Output/types.pass.cpp.o -x cu /data/tmp/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex/types.pass.cpp -c -v -ftemplate-depth=270 -ccbin=g++ -std=c++11 -include /data/tmp/libcudacxx/test/support/nasty_macros.h -I/data/tmp/libcudacxx/include -I/data/tmp/libcudacxx/build/libcxx/include/c++build -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -Xcompiler -fno-exceptions -Xcompiler -fno-rtti -D_LIBCUDACXX_NO_RTTI -I/data/tmp/libcudacxx/test/support -I/data/tmp/libcudacxx/include -I/data/tmp/libcudacxx/../cuda/tools/cooperative_groups -I/data/tmp/libcudacxx/../cuda/tools/libcudacxxext --extended-lambda -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_61,code=compute_61 -Xcudafe --display_error_number -Werror all-warnings -D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER -c && /data/tmp/libcudacxx/utils/nvidia/nvrtc/nvrtc.sh nvcc -o /data/tmp/libcudacxx/build/libcxx/test/std/numerics/complex.number/complex/Output/types.pass.cpp.exe /data/tmp/libcudacxx/build/libcxx/test/std/numerics/complex.number/complex/Output/types.pass.cpp.o -v -ftemplate-depth=270 -ccbin=g++ -L/data/tmp/libcudacxx/build/lib -Xcompiler "-Wl,-rpath,/data/tmp/libcudacxx/build/lib" -L/data/tmp/libcudacxx/build/lib -Xcompiler "-Wl,-rpath,/data/tmp/libcudacxx/build/lib" -lm -lgcc_s -lgcc -lpthread -lrt -lc -lgcc_s -lgcc'
Command: ['/data/tmp/libcudacxx/build/libcxx/test/std/numerics/complex.number/complex/Output/types.pass.cpp.exe']
Exit Code: 1
Standard Output:
--
CUDA devices found: 1
Device 0: "TITAN Xp", Selected, SM61, 12787122176 [bytes]
/data/tmp/libcudacxx/include/cuda/std/detail/libcxx/include/cmath(324): error: the global scope has no "fpclassify"
/data/tmp/libcudacxx/include/cuda/std/detail/libcxx/include/cmath(325): error: the global scope has no "isnormal"
/data/tmp/libcudacxx/include/cuda/std/detail/libcxx/include/cmath(326): error: the global scope has no "isgreater"
/data/tmp/libcudacxx/include/cuda/std/detail/libcxx/include/cmath(327): error: the global scope has no "isgreaterequ
...
libcu++ :: std/numerics/complex.number/complex.transcendentals/tan.pass.cpp
libcu++ :: std/numerics/complex.number/complex.transcendentals/tanh.pass.cpp
libcu++ :: std/numerics/complex.number/complex.value.ops/abs.pass.cpp
libcu++ :: std/numerics/complex.number/complex.value.ops/arg.pass.cpp
libcu++ :: std/numerics/complex.number/complex.value.ops/conj.pass.cpp
libcu++ :: std/numerics/complex.number/complex.value.ops/imag.pass.cpp
libcu++ :: std/numerics/complex.number/complex.value.ops/norm.pass.cpp
libcu++ :: std/numerics/complex.number/complex.value.ops/polar.pass.cpp
libcu++ :: std/numerics/complex.number/complex.value.ops/proj.pass.cpp
libcu++ :: std/numerics/complex.number/complex.value.ops/real.pass.cpp
libcu++ :: std/numerics/complex.number/complex/types.fail.cpp
libcu++ :: std/numerics/complex.number/complex/types.pass.cpp
libcu++ :: std/numerics/complex.number/layout.pass.cpp
libcu++ :: std/utilities/utilities.general/broken_constant_eval.pass.cpp
Testing Time: 295.06s
Unsupported : 434
Passed : 421
Expectedly Failed: 2
Failed : 76
# WALLTIME libcu++: 301.531 [sec]
leofang