Restriction on unified_shared_memory clause on OpenMP5.0 requires directive states that target architecture must support unified addressing (>=sm_70). This patch implements this restriction.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D54493
[OPENMP] Check target architecture supports unified shared memory for requires directive ClosedPublic Authored by patricklyster on Nov 13 2018, 1:21 PM.
Details Summary Restriction on unified_shared_memory clause on OpenMP5.0 requires directive states that target architecture must support unified addressing (>=sm_70). This patch implements this restriction.
Diff Detail Event TimelineHerald added subscribers: cfe-commits, guansong, jholewinski. · View Herald TranscriptNov 13 2018, 1:21 PM This revision is now accepted and ready to land.Nov 13 2018, 1:41 PM
Revision Contents
Diff 173927 clang/lib/CodeGen/CGDecl.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
clang/test/OpenMP/requires_codegen.cpp
|