[all-commits] [llvm/llvm-project] 88d288: [libc] Add `lgamma` and `lgamma_r` stubs for the G...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Aug 5 12:53:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88d288489e09a261f6740972dcaf6fedaf87a762
      https://github.com/llvm/llvm-project/commit/88d288489e09a261f6740972dcaf6fedaf87a762
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
    M libc/config/gpu/entrypoints.txt
    M libc/newhdrgen/yaml/math.yaml
    M libc/spec/gnu_ext.td
    M libc/spec/stdc.td
    M libc/src/math/CMakeLists.txt
    M libc/src/math/amdgpu/CMakeLists.txt
    M libc/src/math/amdgpu/declarations.h
    A libc/src/math/amdgpu/lgamma.cpp
    A libc/src/math/amdgpu/lgamma_r.cpp
    A libc/src/math/lgamma.h
    A libc/src/math/lgamma_r.h
    M libc/src/math/nvptx/CMakeLists.txt
    M libc/src/math/nvptx/declarations.h
    A libc/src/math/nvptx/lgamma.cpp
    A libc/src/math/nvptx/lgamma_r.cpp

  Log Message:
  -----------
  [libc] Add `lgamma` and `lgamma_r` stubs for the GPU (#102019)

Summary:
These functions are used by the <random> implementation in libc++ and
cause a lot of tests to fail. For now we provide these through the
vendor abstraction until we have a real version. The NVPTX version
doesn't even update the output correctly so these are just temporary.



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