[all-commits] [llvm/llvm-project] 00570c: [libc] Fix incorrectly enabled GPU math functions ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Mar 1 11:02:38 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00570c36a3a982f9cf8b30f366a07e6c70014383
      https://github.com/llvm/llvm-project/commit/00570c36a3a982f9cf8b30f366a07e6c70014383
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    M libc/src/math/amdgpu/CMakeLists.txt
    M libc/src/math/amdgpu/exp.cpp
    M libc/src/math/amdgpu/expf.cpp
    R libc/src/math/amdgpu/llround.cpp
    R libc/src/math/amdgpu/llroundf.cpp
    R libc/src/math/amdgpu/lround.cpp
    R libc/src/math/amdgpu/lroundf.cpp
    M libc/src/math/nvptx/CMakeLists.txt
    R libc/src/math/nvptx/llround.cpp
    R libc/src/math/nvptx/llroundf.cpp
    R libc/src/math/nvptx/lround.cpp
    R libc/src/math/nvptx/lroundf.cpp

  Log Message:
  -----------
  [libc] Fix incorrectly enabled GPU math functions (#83594)

Summary:
These functions were implemented via builtins that aren't acually
supported. See https://godbolt.org/z/Wq6q6T1za. This caused the build to
crash if they were included. Remove these and replace with correct
implementations.



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