SWDEV-224023

Each WGP consists of 2 CU, so the number of available SIMD units is doubled.

Change-Id: I43978a8a9139c33f5f776b344a36bee927cc187d
이 커밋은 다음에 포함됨:
Vladislav Sytchenko
2020-03-06 13:43:36 -05:00
부모 ee5eb0107d
커밋 e76d867740
2개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
+3 -1
파일 보기
@@ -637,7 +637,9 @@ void NullDevice::fillDeviceInfo(const Pal::DeviceProperties& palProp,
info_.deviceTopology_.pcie.device = palProp.pciProperties.deviceNumber;
info_.deviceTopology_.pcie.function = palProp.pciProperties.functionNumber;
info_.simdPerCU_ = palProp.gfxipProperties.shaderCore.numSimdsPerCu;
info_.simdPerCU_ = settings().enableWgpMode_
? palProp.gfxipProperties.shaderCore.numSimdsPerCu
: (2 * palProp.gfxipProperties.shaderCore.numSimdsPerCu);
info_.cuPerShaderArray_ = palProp.gfxipProperties.shaderCore.numCusPerShaderArray;
info_.simdWidth_ = hwInfo()->simdWidth_;
info_.simdInstructionWidth_ = 1;
+3 -1
파일 보기
@@ -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 !=