[all-commits] [llvm/llvm-project] 991930: [Offload][Conformance] Add randomized tests for do...

Leandro Lacerda via All-commits all-commits at lists.llvm.org
Fri Aug 22 12:07:50 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99193014864410c419eb0906642b6afd197c3bf5
      https://github.com/llvm/llvm-project/commit/99193014864410c419eb0906642b6afd197c3bf5
  Author: Leandro Lacerda <leandrolcampos at yahoo.com.br>
  Date:   2025-08-22 (Fri, 22 Aug 2025)

  Changed paths:
    M offload/unittests/Conformance/device_code/CUDAMath.cpp
    M offload/unittests/Conformance/device_code/DeviceAPIs.hpp
    M offload/unittests/Conformance/device_code/HIPMath.cpp
    M offload/unittests/Conformance/device_code/LLVMLibm.cpp
    A offload/unittests/Conformance/tests/AcosTest.cpp
    A offload/unittests/Conformance/tests/AsinTest.cpp
    M offload/unittests/Conformance/tests/CMakeLists.txt
    A offload/unittests/Conformance/tests/CbrtTest.cpp
    A offload/unittests/Conformance/tests/CosTest.cpp
    A offload/unittests/Conformance/tests/Exp10Test.cpp
    A offload/unittests/Conformance/tests/Exp2Test.cpp
    A offload/unittests/Conformance/tests/ExpTest.cpp
    A offload/unittests/Conformance/tests/Expm1Test.cpp
    A offload/unittests/Conformance/tests/HypotTest.cpp
    A offload/unittests/Conformance/tests/Log10Test.cpp
    A offload/unittests/Conformance/tests/Log1pTest.cpp
    A offload/unittests/Conformance/tests/Log2Test.cpp
    A offload/unittests/Conformance/tests/SinTest.cpp
    A offload/unittests/Conformance/tests/SincosTest.cpp
    A offload/unittests/Conformance/tests/TanTest.cpp

  Log Message:
  -----------
  [Offload][Conformance] Add randomized tests for double-precision math functions (#155003)

This patch adds a set of randomized conformance tests for
double-precision math functions.

The functions included in this set were selected based on the following
criteria:
- An implementation exists in `libc/src/math/generic` (i.e., it is not
just a wrapper around a compiler built-in).
- The corresponding LLVM CPU libm implementation is correctly rounded.
- The function is listed in Table 68 of the OpenCL C Specification
v3.0.19.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list