[all-commits] [llvm/llvm-project] f78d6a: [hip] Enable HIP compilation with `<complex`> on M...

darkbuck via All-commits all-commits at lists.llvm.org
Thu Jan 7 14:41:56 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f78d6af7319aa676a0f9f6cbb982f21c96e9aac5
      https://github.com/llvm/llvm-project/commit/f78d6af7319aa676a0f9f6cbb982f21c96e9aac5
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

  Changed paths:
    M clang/lib/Headers/__clang_hip_cmath.h

  Log Message:
  -----------
  [hip] Enable HIP compilation with `<complex`> on MSVC.

- MSVC has different `<complex>` implementation which calls into functions
  declared in `<ymath.h>`. Provide their device-side implementation to enable
  `<complex>` compilation on HIP Windows.

Differential Revision: https://reviews.llvm.org/D93638




More information about the All-commits mailing list