[all-commits] [llvm/llvm-project] 3a1e06: [OpenMP] Fix libomptarget test mapping/ompx_hold/s...

Joel E. Denny via All-commits all-commits at lists.llvm.org
Tue May 2 12:40:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a1e06e0e82c85f119520f1640b776ebf0204a8d
      https://github.com/llvm/llvm-project/commit/3a1e06e0e82c85f119520f1640b776ebf0204a8d
  Author: Joel E. Denny <jdenny.ornl at gmail.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M openmp/libomptarget/test/mapping/ompx_hold/struct.c

  Log Message:
  -----------
  [OpenMP] Fix libomptarget test mapping/ompx_hold/struct.c

For me, the test fails for nvptx64 offload.  The problem was
introduced by D146838, which landed as 747af2415519.  It tries to copy
a string constant's address from device to host and then print the
string.  This patch copies the contents of the string instead.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list