mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[flang][openacc] Update serial construct clauses for OpenACC 3.1
Update the allowed clauses for the SERIAL construct for the new OpenACC 3.1 specification. Reviewed By: sameeranjoshi Differential Revision: https://reviews.llvm.org/D92123
This commit is contained in:
parent
02842e3917
commit
03ce68ffad
@ -341,6 +341,8 @@ def ACC_Parallel : Directive<"parallel"> {
|
|||||||
|
|
||||||
// 2.5.2
|
// 2.5.2
|
||||||
def ACC_Serial : Directive<"serial"> {
|
def ACC_Serial : Directive<"serial"> {
|
||||||
|
// Spec line 950-951: clause is as for the parallel construct except that the
|
||||||
|
// num_gangs, num_workers, and vector_length clauses are not permitted.
|
||||||
let allowedClauses = [
|
let allowedClauses = [
|
||||||
VersionedClause<ACCC_Attach>,
|
VersionedClause<ACCC_Attach>,
|
||||||
VersionedClause<ACCC_Copy>,
|
VersionedClause<ACCC_Copy>,
|
||||||
@ -349,10 +351,10 @@ def ACC_Serial : Directive<"serial"> {
|
|||||||
VersionedClause<ACCC_Create>,
|
VersionedClause<ACCC_Create>,
|
||||||
VersionedClause<ACCC_DevicePtr>,
|
VersionedClause<ACCC_DevicePtr>,
|
||||||
VersionedClause<ACCC_DeviceType>,
|
VersionedClause<ACCC_DeviceType>,
|
||||||
VersionedClause<ACCC_FirstPrivate>,
|
|
||||||
VersionedClause<ACCC_NoCreate>,
|
VersionedClause<ACCC_NoCreate>,
|
||||||
VersionedClause<ACCC_Present>,
|
VersionedClause<ACCC_Present>,
|
||||||
VersionedClause<ACCC_Private>,
|
VersionedClause<ACCC_Private>,
|
||||||
|
VersionedClause<ACCC_FirstPrivate>,
|
||||||
VersionedClause<ACCC_Wait>
|
VersionedClause<ACCC_Wait>
|
||||||
];
|
];
|
||||||
let allowedOnceClauses = [
|
let allowedOnceClauses = [
|
||||||
|
Loading…
Reference in New Issue
Block a user