[Openmp-commits] [PATCH] D113126: [OpenMP][NFCI] Embed the source location string size in the ident_t

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 28 19:02:43 PST 2021


tianshilei1992 added a comment.

In D113126#3122947 <https://reviews.llvm.org/D113126#3122947>, @jdoerfert wrote:

> In D113126#3122659 <https://reviews.llvm.org/D113126#3122659>, @tianshilei1992 wrote:
>
>> I'm not convinced. `std::strlen` can do the job. Can you explain more why need it?
>
> Because the ident_t is on the device and you want to grab it from the host.

So you mean `strlen` is not available on device?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113126/new/

https://reviews.llvm.org/D113126



More information about the Openmp-commits mailing list