Fix computation of workgroup sizes for large sizes (2)

Change-Id: I31bb300a2cfae2df9806ae812bd2acbc62f88191
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
Jaime Arteaga
2020-08-19 09:12:49 -07:00
committed by sys_ocldev
parent 46616656a6
commit d2677bed2e
2 changed files with 25 additions and 2 deletions

View File

@@ -245,9 +245,9 @@ void computeWorkgroupSize2D(uint32_t maxWorkGroupSize, size_t workGroupSize[3],
uint32_t xFactorsLen = 0;
uint32_t yFactorsLen = 0;
uint64_t waste;
uint64_t localWSWaste = 0xffffffff;
uint64_t localWSWaste = 0xffffffffffffffff;
uint64_t euThrdsDispatched;
uint64_t localEuThrdsDispatched = 0xffffffff;
uint64_t localEuThrdsDispatched = 0xffffffffffffffff;
uint64_t workGroups;
uint32_t xDim;
uint32_t yDim;