This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Add definition/interface for target memory routines
ClosedPublic

Authored by hbae on Dec 17 2020, 5:55 PM.

Details

Summary

The change includes new routines introduced in 5.1 and Fortran interface.

Diff Detail

Event Timeline

hbae created this revision.Dec 17 2020, 5:55 PM
hbae requested review of this revision.Dec 17 2020, 5:55 PM
This revision is now accepted and ready to land.Dec 30 2020, 2:40 PM
This revision was automatically updated to reflect the committed changes.
kkwli0 added a subscriber: kkwli0.Jan 4 2021, 7:05 AM
kkwli0 added inline comments.
openmp/runtime/src/include/omp_lib.h.var
593

Why not c_int? Will it be guaranteed that this will be interoperable with int?

hbae added inline comments.Jan 4 2021, 3:36 PM
openmp/runtime/src/include/omp_lib.h.var
593

Yes, it is safer to follow 5.1 specification.
I will upload a follow-up patch soon.