!$acc enter data create(aa) wait(wait1, wait2)
+ !$acc enter data create(aa) wait(wait1) wait(wait2)
+
!$acc enter data attach(bb)
!ERROR: At least one of COPYOUT, DELETE, DETACH clause must appear on the EXIT DATA directive
// 2.14.6
def ACC_EnterData : Directive<"enter data"> {
+ let allowedClauses = [
+ VersionedClause<ACCC_Wait>
+ ];
let allowedOnceClauses = [
VersionedClause<ACCC_Async>,
- VersionedClause<ACCC_If>,
- VersionedClause<ACCC_Wait>
+ VersionedClause<ACCC_If>
];
let requiredClauses = [
VersionedClause<ACCC_Attach>,
VersionedClause<ACCC_Present>,
VersionedClause<ACCC_Private>,
VersionedClause<ACCC_DevicePtr>,
- VersionedClause<ACCC_Attach>
+ VersionedClause<ACCC_Attach>,
+ VersionedClause<ACCC_Wait>
];
let allowedOnceClauses = [
VersionedClause<ACCC_Async>,
VersionedClause<ACCC_Tile>,
VersionedClause<ACCC_Vector>,
VersionedClause<ACCC_VectorLength>,
- VersionedClause<ACCC_Wait>,
VersionedClause<ACCC_Worker>
];
let allowedExclusiveClauses = [