This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Avoid zero size copies to the device
ClosedPublic

Authored by jdoerfert on Mar 21 2023, 4:01 PM.

Details

Summary

This unblocks one of the XFAIL tests for AMD, though we need to work
around the missing printf still.

Diff Detail

Event Timeline

jdoerfert created this revision.Mar 21 2023, 4:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 21 2023, 4:01 PM
jdoerfert requested review of this revision.Mar 21 2023, 4:01 PM
jhuber6 accepted this revision.Mar 21 2023, 5:47 PM

LG

openmp/libomptarget/src/device.cpp
325

nit. size != 0 makes the intent clearer.

This revision is now accepted and ready to land.Mar 21 2023, 5:47 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 21 2023, 7:17 PM