SWDEV-224023

Correct typo.

Change-Id: I72131a6e0210e7b961e586cd0ae18608d21fc529
This commit is contained in:
Vladislav Sytchenko
2020-03-15 16:36:42 -04:00
parent 8d91d8fd32
commit 52046e41b2
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -638,8 +638,8 @@ void NullDevice::fillDeviceInfo(const Pal::DeviceProperties& palProp,
info_.deviceTopology_.pcie.function = palProp.pciProperties.functionNumber;
info_.simdPerCU_ = settings().enableWgpMode_
? palProp.gfxipProperties.shaderCore.numSimdsPerCu
: (2 * palProp.gfxipProperties.shaderCore.numSimdsPerCu);
? (2 * palProp.gfxipProperties.shaderCore.numSimdsPerCu)
: palProp.gfxipProperties.shaderCore.numSimdsPerCu;
info_.cuPerShaderArray_ = palProp.gfxipProperties.shaderCore.numCusPerShaderArray;
info_.simdWidth_ = hwInfo()->simdWidth_;
info_.simdInstructionWidth_ = 1;
+2 -2
View File
@@ -1395,8 +1395,8 @@ bool Device::populateOCLDeviceConstants() {
if (settings().checkExtension(ClAmdDeviceAttributeQuery)) {
info_.simdPerCU_ = settings().enableWgpMode_
? deviceInfo_.simdPerCU_
: (2 * deviceInfo_.simdPerCU_);
? (2 * deviceInfo_.simdPerCU_)
: deviceInfo_.simdPerCU_;
info_.simdWidth_ = deviceInfo_.simdWidth_;
info_.simdInstructionWidth_ = deviceInfo_.simdInstructionWidth_;
if (HSA_STATUS_SUCCESS !=