[PATCH] D60883: [OpenMP] Avoid emitting maps for target link variables when unified memory is used

Gheorghe-Teodor Bercea via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 24 17:34:45 PDT 2019


gtbercea added a comment.

In D60883#1516693 <https://reviews.llvm.org/D60883#1516693>, @ABataev wrote:

> Just one question after looking at the test: how we're going to link the device variable to its host copy? I think the address should be passed to the runtime, no?


The runtime will take care of it by performing a copy of the host address into the device pointer.


Repository:
  rC Clang

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

https://reviews.llvm.org/D60883





More information about the cfe-commits mailing list