commit | 8637736ffbdef25c1a3622dda3dab08d7b1b66e1 | [log] [tgz] |
---|---|---|
author | Erich Keane <ekeane@nvidia.com> | Mon Apr 22 08:57:25 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 22 09:04:57 2024 -0700 |
tree | ec003e095c20c1a5e20358cce952db7b143f6b85 | |
parent | a85eb7710ea4a99dc8d1720a4865e303e4c5e82c [diff] |
[OpenACC] Implement 'num_gangs' sema for compute constructs (#89460) num_gangs takes an 'int-expr-list', for 'parallel', and an 'int-expr' for 'kernels'. This patch changes the parsing to always parse it as an 'int-expr-list', then correct the expression count during Sema. It also implements the rest of the semantic analysis changes for this clause. GitOrigin-RevId: dc20a0ea1fd04a2ef95eb5c73e9f88357fc5f694