SWDEV-224023
Each WGP consists of 2 CU, so the number of available SIMD units is doubled. Change-Id: I43978a8a9139c33f5f776b344a36bee927cc187d
This commit is contained in:
@@ -1394,7 +1394,9 @@ bool Device::populateOCLDeviceConstants() {
|
||||
}
|
||||
|
||||
if (settings().checkExtension(ClAmdDeviceAttributeQuery)) {
|
||||
info_.simdPerCU_ = deviceInfo_.simdPerCU_;
|
||||
info_.simdPerCU_ = settings().enableWgpMode_
|
||||
? deviceInfo_.simdPerCU_
|
||||
: (2 * deviceInfo_.simdPerCU_);
|
||||
info_.simdWidth_ = deviceInfo_.simdWidth_;
|
||||
info_.simdInstructionWidth_ = deviceInfo_.simdInstructionWidth_;
|
||||
if (HSA_STATUS_SUCCESS !=
|
||||
|
||||
Reference in New Issue
Block a user