[all-commits] [llvm/llvm-project] af4599: [OpenMP][DeviceRTL] Add the support for printf in ...

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu Oct 7 19:15:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af4599b8abcaff02450449a22a7206dbb694b952
      https://github.com/llvm/llvm-project/commit/af4599b8abcaff02450449a22a7206dbb694b952
  Author: Shilei Tian <tianshilei1992 at gmail.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/include/Debug.h

  Log Message:
  -----------
  [OpenMP][DeviceRTL] Add the support for printf in a freestanding way

For NVPTX, `printf` can be used just with a function declaration. For AMDGCN, an
function definition is added, but it simply returns.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list