Files
rocm-systems/rocclr/device/pal
Joseph Greathouse 54d1d69c0a SWDEV-270773 - Fix workgroup calculation logic for GWS initialization
The existing workgroup calculation logic for GWS initialization is
incorrect. It tries to add together workgroups across dimensions,
leading to major under-count in 2D and 3D kernels. An (x,y,z) kernel
uses x * y * z blocks, not x + y + z.

In addition, the previous logic was incorrect for the case of launching
a single-threaded kernel. It calculated 0 workgroups, leading to
initializing GWS to -1.

Change-Id: I1bb20a0d5b6e0cc10ac55901c28d8f93aac61c09
2021-01-31 01:16:48 -06:00
..
2020-02-04 09:26:14 -08:00
2020-02-04 09:26:14 -08:00
2020-10-16 13:12:16 -04:00
2020-02-04 09:26:14 -08:00
2020-09-03 11:14:37 -04:00
2020-02-04 09:26:14 -08:00
2020-02-04 09:26:14 -08:00
2020-11-11 13:10:23 -05:00
2020-11-11 13:10:23 -05:00
2021-01-13 08:24:28 +00:00
2020-09-09 14:55:29 -04:00
2020-09-09 14:55:29 -04:00
2020-02-04 09:26:14 -08:00
2020-02-04 09:26:14 -08:00
2020-02-04 09:26:14 -08:00