This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Fix libomptarget test mapping/ompx_hold/struct.c
ClosedPublic

Authored by jdenny on May 1 2023, 4:35 PM.

Details

Summary

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.

Diff Detail

Event Timeline

jdenny created this revision.May 1 2023, 4:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 1 2023, 4:35 PM
jdenny requested review of this revision.May 1 2023, 4:35 PM
jdoerfert accepted this revision.May 2 2023, 10:20 AM
This revision is now accepted and ready to land.May 2 2023, 10:20 AM
This revision was automatically updated to reflect the committed changes.