Revert "[libomptarget] [amdgpu] Fix default setting of max flat workgroup size"
authorDhruva Chakrabarti <Dhruva.Chakrabarti@amd.com>
Thu, 1 Jul 2021 00:08:29 +0000 (17:08 -0700)
committerDhruva Chakrabarti <Dhruva.Chakrabarti@amd.com>
Thu, 1 Jul 2021 00:15:00 +0000 (17:15 -0700)
commit98c36f0079d46c83bf03a7bce1b9d7e22abe0cba
tree00533fb4da53f149e346da9bfcf8c2b144a13c39
parent557bed31e41b62afc2e5682ccacbe008eb081414
Revert "[libomptarget] [amdgpu] Fix default setting of max flat workgroup size"

This reverts commit 2240b41ee4f30fe938975677a0a5a2c5c26d271b.
A value of 0 for KernDescVal WG_Size implies it is unknown, so it should be
set to the default. The above change was made without this assumption.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D105250
openmp/libomptarget/plugins/amdgpu/src/rtl.cpp