[libc-commits] [libc] [libc][NFC] Temporarily disable powf smoke test for GPU. (PR #229793)

via libc-commits libc-commits at lists.llvm.org
Wed Oct 7 08:18:21 PDT 2026


https://github.com/lntue created https://github.com/llvm/llvm-project/pull/229793

None

>From 8fe12ed05ecd6deb839d011747c1c6b8d9605ae8 Mon Sep 17 00:00:00 2001
From: Tue Ly <lntue at google.com>
Date: Wed, 7 Oct 2026 11:07:03 -0400
Subject: [PATCH] [libc][NFC] Temporarily disable powf smoke test for GPU.

---
 libc/test/src/math/smoke/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libc/test/src/math/smoke/CMakeLists.txt b/libc/test/src/math/smoke/CMakeLists.txt
index 6037e373fad14..d647c24cfcf36 100644
--- a/libc/test/src/math/smoke/CMakeLists.txt
+++ b/libc/test/src/math/smoke/CMakeLists.txt
@@ -5355,6 +5355,8 @@ add_fp_unittest(
     libc.src.math.pow
 )
 
+# TODO: Re-enable the test for GPU.
+if(NOT LIBC_TARGET_OS_IS_GPU)
 add_fp_unittest(
   powf_test
   SUITE
@@ -5367,6 +5369,7 @@ add_fp_unittest(
     libc.src.__support.math.powf_float_eval
     libc.src.__support.FPUtil.fp_bits
 )
+endif()
 
 add_fp_unittest(
   totalorder_test



More information about the libc-commits mailing list