[libc-commits] [libc] Fixed typo in GPU libm device library warning (PR #69752)

Anton Rydahl via libc-commits libc-commits at lists.llvm.org
Fri Oct 20 12:05:27 PDT 2023


https://github.com/AntonRydahl created https://github.com/llvm/llvm-project/pull/69752

I noticed a small typo in the error message when the CUDA device libraries are not detected.

>From 31dd0a4c7becab6e380703d0b8970b5a3a12a61b Mon Sep 17 00:00:00 2001
From: AntonRydahl <rydahl2610 at gmail.com>
Date: Fri, 20 Oct 2023 12:03:34 -0700
Subject: [PATCH] Fixed typo in GPU libm device library warning

---
 libc/src/math/gpu/vendor/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libc/src/math/gpu/vendor/CMakeLists.txt b/libc/src/math/gpu/vendor/CMakeLists.txt
index 2ee74a06a02d461..cac3f6c32f6d7a9 100644
--- a/libc/src/math/gpu/vendor/CMakeLists.txt
+++ b/libc/src/math/gpu/vendor/CMakeLists.txt
@@ -20,7 +20,7 @@ if(CUDAToolkit_FOUND)
          "SHELL:-Xclang -mlink-builtin-bitcode -Xclang ${libdevice_path}")
   endif()
 else()
-  message(STATUS "Could not find the ROCm device library. Unimplemented "
+  message(STATUS "Could not find the CUDA device library. Unimplemented "
                  "functions will be an external reference to the vendor libraries.")
 endif()
 



More information about the libc-commits mailing list