[PATCH] D119510: AMDGPU: Clamp min value of effective waves-per-eu instead of discarding
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 11 00:11:12 PST 2022
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp:562-563
// minimum/maximum flat work group sizes.
if (Requested.first < MinImpliedByFlatWorkGroupSize)
- return Default;
+ Requested.first = MinImpliedByFlatWorkGroupSize;
----------------
Just use std::max?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119510/new/
https://reviews.llvm.org/D119510
More information about the llvm-commits
mailing list