[PATCH] D108708: [openmp][amdgpu] Initial gfx10 offloading implementation

2021-08-27 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 rG78f92c38101f: [openmp][amdgpu] Initial gfx10 offloading implementation (authored by JonChesterfield). Repository: rG LLVM Github Monorepo CHANGES

[PATCH] D108708: [openmp][amdgpu] Initial gfx10 offloading implementation

2021-08-27 Thread Ron Lieberman via Phabricator via cfe-commits
ronlieb accepted this revision. ronlieb added a comment. This revision is now accepted and ready to land. since amdgpu buildbots are red, at Jon's request, i applied patch on latest trunk build. applies clean, builds fine, no additional regressions in bheck-openmp compiler now accepts -march=gfx

[PATCH] D108708: [openmp][amdgpu] Initial gfx10 offloading implementation

2021-08-27 Thread Jon Chesterfield via Phabricator via cfe-commits
JonChesterfield added inline comments. Comment at: openmp/libomptarget/plugins/amdgpu/src/rtl.cpp:1921 DP("Max_Teams: %d\n", Max_Teams); -DP("RTLDeviceInfoTy::Warp_Size: %d\n", RTLDeviceInfoTy::Warp_Size); +DP("RTLDeviceInfoTy::Warp_Size: %d\n", WarpSize); DP("R

[PATCH] D108708: [openmp][amdgpu] Initial gfx10 offloading implementation

2021-08-27 Thread Jon Chesterfield via Phabricator via cfe-commits
JonChesterfield marked an inline comment as done. JonChesterfield added a subscriber: dhruvachak. JonChesterfield added inline comments. Comment at: openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt:111 +set(mcpus gfx700 gfx701 gfx801 gfx803 gfx900 gfx902 gfx906 gfx908 gfx1010

[PATCH] D108708: [openmp][amdgpu] Initial gfx10 offloading implementation

2021-08-27 Thread Jon Chesterfield via Phabricator via cfe-commits
JonChesterfield updated this revision to Diff 369069. JonChesterfield added a comment. - add 1030 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108708/new/ https://reviews.llvm.org/D108708 Files: clang/lib/Basic/Targets/AMDGPU.h llvm/include/l

[PATCH] D108708: [openmp][amdgpu] Initial gfx10 offloading implementation

2021-08-27 Thread Jon Chesterfield via Phabricator via cfe-commits
JonChesterfield updated this revision to Diff 369067. JonChesterfield added a comment. - uint32 to unsigned Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108708/new/ https://reviews.llvm.org/D108708 Files: clang/lib/Basic/Targets/AMDGPU.h llvm

[PATCH] D108708: [openmp][amdgpu] Initial gfx10 offloading implementation

2021-08-27 Thread Ron Lieberman via Phabricator via cfe-commits
ronlieb added inline comments. Comment at: openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt:111 +set(mcpus gfx700 gfx701 gfx801 gfx803 gfx900 gfx902 gfx906 gfx908 gfx1010 gfx1031) if (DEFINED LIBOMPTARGET_AMDGCN_GFXLIST) set(mcpus ${LIBOMPTARGET_AMDGCN_GFXLIST})

[PATCH] D108708: [openmp][amdgpu] Initial gfx10 offloading implementation

2021-08-25 Thread Jon Chesterfield via Phabricator via cfe-commits
JonChesterfield added inline comments. Comment at: llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h:102 + +template constexpr const GV &getAMDGPUGridValues() { + static_assert(wavesize == 32 || wavesize == 64, ""); Want to resolve this at compile time for the

[PATCH] D108708: [openmp][amdgpu] Initial gfx10 offloading implementation

2021-08-25 Thread Jon Chesterfield via Phabricator via cfe-commits
JonChesterfield created this revision. JonChesterfield added reviewers: dpalermo, jdoerfert, tianshilei1992, ronlieb, ye-luo, grokos. Herald added subscribers: kerbowa, guansong, t-tye, tpr, dstuttard, yaxunl, mgorny, nhaehnle, jvesely, kzhuravl. JonChesterfield requested review of this revision.