[all-commits] [llvm/llvm-project] 59a418: [OpenMP][libomptarget] Fix AsyncInfoTy object in o...

Kevin Sala Penadés via All-commits all-commits at lists.llvm.org
Wed Nov 2 09:04:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59a41809d85ed0e9e073f6b425cc915f6c231e10
      https://github.com/llvm/llvm-project/commit/59a41809d85ed0e9e073f6b425cc915f6c231e10
  Author: Kevin Sala Penadés <kevin.sala at bsc.es>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M openmp/libomptarget/src/api.cpp

  Log Message:
  -----------
  [OpenMP][libomptarget] Fix AsyncInfoTy object in omp_target_memcpy

The AsyncInfoTy should be created in the same device as the async operation will be issued. In omp_target_memcpy, the AsyncInfoTy for the host to destination device transfer was created referring to the source device.

Reviewed By: tianshilei1992

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




More information about the All-commits mailing list