c51aa0d155
The CWSR area size needs to take into account the size of LDS each active workgroup can have. The current implementation uses a constant for that. This patch refactors this to use the HsaNodeProperties of the device's the CWSR area is for to figure out the size of LDS. Change-Id: Ib8585b2b7140ec5c99e7b7d62e67f785697c028a Signed-off-by: Lancelot Six <Lancelot.Six@amd.com> Signed-off-by: Amber Lin <Amber.Lin@amd.com>