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

via libc-commits libc-commits at lists.llvm.org
Fri Oct 20 12:06:26 PDT 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Anton Rydahl (AntonRydahl)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/69752.diff


1 Files Affected:

- (modified) libc/src/math/gpu/vendor/CMakeLists.txt (+1-1) 


``````````diff
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()
 

``````````

</details>


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


More information about the libc-commits mailing list