commit | b6272081b7b79f62676d0dde93fd7b1170c68a83 | [log] [tgz] |
---|---|---|
author | Shilei Tian <tianshilei1992@gmail.com> | Thu Oct 07 22:15:23 2021 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Oct 07 19:19:31 2021 -0700 |
tree | 71e88462454081e3da53d7294af12cfce26efb59 | |
parent | 713f0a5ed02502bda7df919f7e28894bec8ec3c6 [diff] |
[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 GitOrigin-RevId: af4599b8abcaff02450449a22a7206dbb694b952