[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
Loading
Please sign in to comment