[libc-commits] [libc] [libc] Enable all supported math functions on the GPU (PR #102563)

LLVM Continuous Integration via libc-commits libc-commits at lists.llvm.org
Mon Aug 12 11:15:43 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-fullbuild-dbg-asan` running on `libc-x86_64-debian-fullbuild` while building `libc` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/171/builds/4039

Here is the relevant piece of the build log for the reference:
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[       OK ] LlvmLibcStdcCountOnesUsTest.Ones (3 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[793/1079] Running unit test libc.test.src.stdbit.stdc_has_single_bit_ui_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcStdcHasSingleBitUiTest.Zero
[       OK ] LlvmLibcStdcHasSingleBitUiTest.Zero (13 us)
[ RUN      ] LlvmLibcStdcHasSingleBitUiTest.OneHot
[       OK ] LlvmLibcStdcHasSingleBitUiTest.OneHot (5 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[794/1079] Running unit test libc.test.src.math.smoke.dsubl_test.__unit__.__NO_FMA_OPT
FAILED: projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.dsubl_test.__unit__.__NO_FMA_OPT /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.dsubl_test.__unit__.__NO_FMA_OPT 
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/math/smoke && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/math/smoke/libc.test.src.math.smoke.dsubl_test.__unit__.__NO_FMA_OPT.__build__
[==========] Running 4 tests from 1 test suite.
[ RUN      ] LlvmLibcSubTest.SpecialNumbers
[       OK ] LlvmLibcSubTest.SpecialNumbers (8 us)
[ RUN      ] LlvmLibcSubTest.InvalidOperations
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:50: FAILURE
      Expected: (func(inf, inf)) != (func(inf, inf))
      Which is: 0
To be equal to: true
      Which is: 1
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:50: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((0x1 | 0x2 | 0x4 | 0x8 | 0x10)) & ((0x4) ? (0x4) : (0x1 | 0x2 | 0x4 | 0x8 | 0x10))
      Which is: 0
To be equal to: (0x4)
      Which is: 4
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:51: FAILURE
      Expected: (func(neg_inf, neg_inf)) != (func(neg_inf, neg_inf))
      Which is: 0
To be equal to: true
      Which is: 1
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:51: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((0x1 | 0x2 | 0x4 | 0x8 | 0x10)) & ((0x4) ? (0x4) : (0x1 | 0x2 | 0x4 | 0x8 | 0x10))
      Which is: 0
To be equal to: (0x4)
      Which is: 4
[  FAILED  ] LlvmLibcSubTest.InvalidOperations
[ RUN      ] LlvmLibcSubTest.RangeErrors
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:59: FAILURE
Failed to match func(max_normal, neg_max_normal) against LIBC_NAMESPACE::testing::getMatcher< LIBC_NAMESPACE::testing::TestCond::EQ>(inf).
Expected floating point value: (+Infinity)
Actual floating point value: 0x0000000000000000 = (S: 0, E: 0x0000, M: 0x0000000000000000)
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:59: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((0x1 | 0x2 | 0x4 | 0x8 | 0x10)) & ((0x8 | 0x2) ? (0x8 | 0x2) : (0x1 | 0x2 | 0x4 | 0x8 | 0x10))
      Which is: 2
To be equal to: (0x8 | 0x2)
      Which is: 10
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:60: FAILURE
      Expected: actual

```

https://github.com/llvm/llvm-project/pull/102563


More information about the libc-commits mailing list