11 Commits

Author SHA1 Message Date
erichkeane
bbbaeb5584 [OpenACC] Enable 'attach' clause for combined constructs
Once again, this clause has the same implementation for compute
constructs as combined, so this adds the tests and enables it.
2024-11-27 09:55:19 -08:00
erichkeane
969b7658fe [OpenACC] Enable 'wait' for combined constructs
Once again a situation where the combined and compute do the exact same
thing as far as Sema/AST/etc is concerned, so this patch adds tests and
enables it.
2024-11-27 08:32:33 -08:00
erichkeane
8d6c73cbf5 [OpenACC] enable 'deviceptr' for combined constructs.
This is another clause whose implementation is identical for combined
constructs as with compute constructs, so this adds tests and enables
it.
2024-11-27 07:04:15 -08:00
erichkeane
78c7024640 [OpenACC] Implement 'present' for combined constructs.
This is another clause where the parsing does all the required
enforcement besides the construct it appertains to, so this patch
removes the restriction and adds sufficient test coverage for combined
constructs.
2024-11-26 10:49:41 -08:00
erichkeane
1b44c3a142 [OpenACC] enable 'async' clause for combined constructs
No additional work required over what we did for other constructs, so
this is just adding the tests and enabling the clauses.
2024-11-14 11:18:06 -08:00
erichkeane
1cd981a5f3 [OpenACC] Implement private/firstprivate for combined constructs
This is another pair of clauses where the work is already done from
previous constructs, so this just has to allow them and include tests
for them. This patch adds testing, does a few little cleanup bits on the
clause checking, and enables these.
2024-11-14 09:57:39 -08:00
erichkeane
b7f7e64548 [OpenACC] Implement 'default' clause for Combined Constructs
This clause takes one of two fixed values, and can apply to all three of
the combined constructs. Tests/etc are all exactly like the compute
constructs, so committing them all here.
2024-11-14 06:41:10 -08:00
erichkeane
95fa5f39a0 [OpenACC] Fix ast-print test that failed due to copy/paste error 2024-11-13 13:02:13 -08:00
erichkeane
fa20b5d30d [OpenACC] 'if' and 'self' clause implementation for Combined Constructs
These two are identical to how they work for compute constructs, so this
patch enables them and ensures there is sufficient testing.
2024-11-13 12:42:53 -08:00
erichkeane
6b2de10c68 [OpenACC] implement 'device_type' for combined constructs
This clause is pretty small/doesn't do much semantic-analysis-wise, , other than
have two spellings and disallow certain clauses after it. However, as
most of those aren't implemented yet, the diagnostic is left as a TODO.
2024-11-13 09:57:40 -08:00
erichkeane
3169a38ddf [OpenACC] Add ast-print test for combined constructs 2024-11-13 07:11:56 -08:00