[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:17:37 PDT 2024


llvm-ci wrote:

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

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

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 ] LlvmLibcAddTest.InvalidOperations (3 us)
[ RUN      ] LlvmLibcAddTest.RangeErrors
[       OK ] LlvmLibcAddTest.RangeErrors (10 us)
[ RUN      ] LlvmLibcAddTest.InexactResults
[       OK ] LlvmLibcAddTest.InexactResults (1 us)
Ran 4 tests.  PASS: 4  FAIL: 0
[1003/1012] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.dsubl_test.__unit__.__NO_FMA_OPT.__build__
[1004/1012] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.dsubl_test.__unit__.__build__
[1005/1012] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.daddl_test.__unit__.__NO_FMA_OPT.__build__
[1006/1012] 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/libc-x86_64-debian/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/libc-x86_64-debian/build/projects/libc/test/src/math/smoke && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/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 (3 us)
[ RUN      ] LlvmLibcSubTest.InvalidOperations
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/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/libc-x86_64-debian/llvm-project/libc/test/src/math/smoke/SubTest.h:50: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((0x20 | 0x04 | 0x10 | 0x08 | 0x01)) & ((0x01) ? (0x01) : (0x20 | 0x04 | 0x10 | 0x08 | 0x01))
      Which is: 0
To be equal to: (0x01)
      Which is: 1
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/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/libc-x86_64-debian/llvm-project/libc/test/src/math/smoke/SubTest.h:51: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((0x20 | 0x04 | 0x10 | 0x08 | 0x01)) & ((0x01) ? (0x01) : (0x20 | 0x04 | 0x10 | 0x08 | 0x01))
      Which is: 0
To be equal to: (0x01)
      Which is: 1
[  FAILED  ] LlvmLibcSubTest.InvalidOperations
[ RUN      ] LlvmLibcSubTest.RangeErrors
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/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/libc-x86_64-debian/llvm-project/libc/test/src/math/smoke/SubTest.h:59: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((0x20 | 0x04 | 0x10 | 0x08 | 0x01)) & ((0x08 | 0x20) ? (0x08 | 0x20) : (0x20 | 0x04 | 0x10 | 0x08 | 0x01))
      Which is: 32
To be equal to: (0x08 | 0x20)
      Which is: 40
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/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