This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Support saving globals for RecordReplay
Needs ReviewPublic

Authored by ggeorgakoudis on Jan 20 2023, 1:01 AM.

Details

Reviewers
jdoerfert
Summary

This patch adds storing globals besides explicitly allocated device memory for the record-and-replay functionality of OpenMP offloading kernels. Credits to @jdoerfert for the implementation.

Diff Detail

Event Timeline

ggeorgakoudis created this revision.Jan 20 2023, 1:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 20 2023, 1:01 AM
ggeorgakoudis requested review of this revision.Jan 20 2023, 1:01 AM
Herald added a project: Restricted Project. · View Herald Transcript
ggeorgakoudis added inline comments.Jan 20 2023, 1:02 AM
openmp/libomptarget/include/rtl.h
77

Is this needed?

ggeorgakoudis edited the summary of this revision. (Show Details)Jan 20 2023, 1:03 AM
ggeorgakoudis edited the summary of this revision. (Show Details)