[PATCH] D108339: [openmp][nfc] Replace OMPGridValues array with struct

2021-08-19 Thread Jon Chesterfield via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG77579b99e9ce: [openmp][nfc] Replace OMPGridValues array with struct (authored by JonChesterfield). Repository: rG LLVM Github Monorepo CHANGES SI

[PATCH] D108339: [openmp][nfc] Replace OMPGridValues array with struct

2021-08-19 Thread Jon Chesterfield via Phabricator via cfe-commits
JonChesterfield updated this revision to Diff 367451. JonChesterfield added a comment. - revert to unsigned, file doesn't currently require stdint Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108339/new/ https://reviews.llvm.org/D108339 Files:

[PATCH] D108339: [openmp][nfc] Replace OMPGridValues array with struct

2021-08-19 Thread Jon Chesterfield via Phabricator via cfe-commits
JonChesterfield added a comment. Given this patch, I can then template the amdgpu one on wavesize to get something that is a compile time constant in the devicertl and easily used from clang/host plugin. Expecting to have a few refactors following on from this to make the gfx9/gfx10 abstraction

[PATCH] D108339: [openmp][nfc] Replace OMPGridValues array with struct

2021-08-18 Thread Jon Chesterfield via Phabricator via cfe-commits
JonChesterfield created this revision. JonChesterfield added reviewers: jdoerfert, dpalermo, gregrodgers, ronlieb, tianshilei1992, grokos. Herald added subscribers: kerbowa, guansong, tpr, yaxunl, nhaehnle, jvesely, jholewinski. JonChesterfield requested review of this revision. Herald added subs