[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:30:07 PDT 2024


llvm-ci wrote:

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

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

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 ] LlvmLibcSetPayloadTest.ValidPayloads (4 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[441/974] Running unit test libc.test.src.math.smoke.getpayload_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcGetPayloadTest.NonNaNs
[       OK ] LlvmLibcGetPayloadTest.NonNaNs (3 us)
[ RUN      ] LlvmLibcGetPayloadTest.NaNs
[       OK ] LlvmLibcGetPayloadTest.NaNs (3 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[442/974] Running unit test libc.test.src.math.smoke.dsubl_test.__unit__
FAILED: projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.dsubl_test.__unit__ 
cd /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/build/projects/libc/test/src/math/smoke && /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/build/projects/libc/test/src/math/smoke/libc.test.src.math.smoke.dsubl_test.__unit__.__build__
[==========] Running 4 tests from 1 test suite.
[ RUN      ] LlvmLibcSubTest.SpecialNumbers
[       OK ] LlvmLibcSubTest.SpecialNumbers (5 us)
[ RUN      ] LlvmLibcSubTest.InvalidOperations
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/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/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/src/math/smoke/SubTest.h:50: FAILURE
      Expected: __llvm_libc_18_0_0_git::fputil::test_except((1 | 2 | 4 | 8 | 16)) & ((1) ? (1) : (1 | 2 | 4 | 8 | 16))
      Which is: 0
To be equal to: (1)
      Which is: 1
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/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/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/src/math/smoke/SubTest.h:51: FAILURE
      Expected: __llvm_libc_18_0_0_git::fputil::test_except((1 | 2 | 4 | 8 | 16)) & ((1) ? (1) : (1 | 2 | 4 | 8 | 16))
      Which is: 0
To be equal to: (1)
      Which is: 1
[  FAILED  ] LlvmLibcSubTest.InvalidOperations
[ RUN      ] LlvmLibcSubTest.RangeErrors
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/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/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/src/math/smoke/SubTest.h:59: FAILURE
      Expected: __llvm_libc_18_0_0_git::fputil::test_except((1 | 2 | 4 | 8 | 16)) & ((4 | 16) ? (4 | 16) : (1 | 2 | 4 | 8 | 16))
      Which is: 16
To be equal to: (4 | 16)
      Which is: 20
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/src/math/smoke/SubTest.h:60: FAILURE
      Expected: actual
Step 7 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[       OK ] LlvmLibcSetPayloadTest.ValidPayloads (4 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[441/974] Running unit test libc.test.src.math.smoke.getpayload_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcGetPayloadTest.NonNaNs
[       OK ] LlvmLibcGetPayloadTest.NonNaNs (3 us)
[ RUN      ] LlvmLibcGetPayloadTest.NaNs
[       OK ] LlvmLibcGetPayloadTest.NaNs (3 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[442/974] Running unit test libc.test.src.math.smoke.dsubl_test.__unit__
FAILED: projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.dsubl_test.__unit__ 
cd /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/build/projects/libc/test/src/math/smoke && /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/build/projects/libc/test/src/math/smoke/libc.test.src.math.smoke.dsubl_test.__unit__.__build__
[==========] Running 4 tests from 1 test suite.
[ RUN      ] LlvmLibcSubTest.SpecialNumbers
[       OK ] LlvmLibcSubTest.SpecialNumbers (5 us)
[ RUN      ] LlvmLibcSubTest.InvalidOperations
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/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/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/src/math/smoke/SubTest.h:50: FAILURE
      Expected: __llvm_libc_18_0_0_git::fputil::test_except((1 | 2 | 4 | 8 | 16)) & ((1) ? (1) : (1 | 2 | 4 | 8 | 16))
      Which is: 0
To be equal to: (1)
      Which is: 1
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/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/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/src/math/smoke/SubTest.h:51: FAILURE
      Expected: __llvm_libc_18_0_0_git::fputil::test_except((1 | 2 | 4 | 8 | 16)) & ((1) ? (1) : (1 | 2 | 4 | 8 | 16))
      Which is: 0
To be equal to: (1)
      Which is: 1
[  FAILED  ] LlvmLibcSubTest.InvalidOperations
[ RUN      ] LlvmLibcSubTest.RangeErrors
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/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/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/src/math/smoke/SubTest.h:59: FAILURE
      Expected: __llvm_libc_18_0_0_git::fputil::test_except((1 | 2 | 4 | 8 | 16)) & ((4 | 16) ? (4 | 16) : (1 | 2 | 4 | 8 | 16))
      Which is: 16
To be equal to: (4 | 16)
      Which is: 20
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/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