diff options
author | Dhruva Chakrabarti <Dhruva.Chakrabarti@amd.com> | 2021-06-28 17:52:01 -0700 |
---|---|---|
committer | Dhruva Chakrabarti <Dhruva.Chakrabarti@amd.com> | 2021-06-29 13:47:24 -0700 |
commit | 2240b41ee4f30fe938975677a0a5a2c5c26d271b (patch) | |
tree | 686e94db3cfaee5922208fdded2037d0fd4ca5ca /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 58af0d567d88eb5a7eec436886da066308d7a39e (diff) | |
download | llvm-2240b41ee4f30fe938975677a0a5a2c5c26d271b.zip llvm-2240b41ee4f30fe938975677a0a5a2c5c26d271b.tar.gz llvm-2240b41ee4f30fe938975677a0a5a2c5c26d271b.tar.bz2 |
[libomptarget] [amdgpu] Fix default setting of max flat workgroup size
When max flat workgroup size is not specified, it is set to the default
workgroup size. This prevents kernel launch with a workgroup size larger
than the default. The fix is to ignore a size of 0 and treat it as
unspecified.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D105073
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions