[all-commits] [llvm/llvm-project] 496f8e: [OpenMPOpt][HideMemTransfersLatency] Split __tgt_t...

Hamilton Tobon Mosquera via All-commits all-commits at lists.llvm.org
Mon Aug 17 18:56:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 496f8e5b369f091def93482578232da8c6e77a7a
      https://github.com/llvm/llvm-project/commit/496f8e5b369f091def93482578232da8c6e77a7a
  Author: Hamilton Tobon Mosquera <Hamilton Tobon>
  Date:   2020-08-17 (Mon, 17 Aug 2020)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/test/Transforms/OpenMP/hide_mem_transfer_latency.ll

  Log Message:
  -----------
  [OpenMPOpt][HideMemTransfersLatency] Split __tgt_target_data_begin_mapper into its "issue" and "wait" counterparts.

WIP that tries to hide the latency of runtime calls that involve host to
device memory transfers by splitting them into their "issue" and "wait"
versions. The "issue" is moved upwards as much as possible. The "wait" is
moved downards as much as possible. The "issue" issues the memory transfer
asynchronously, returning a handle. The "wait" waits in the returned
handle for the memory transfer to finish. We still lack of the movement.




More information about the All-commits mailing list