SWDEV-224023
Each WGP consists of 2 CU, so the number of available SIMD units is doubled.
Change-Id: I43978a8a9139c33f5f776b344a36bee927cc187d
[ROCm/clr commit: e76d867740]
Este cometimento está contido em:
@@ -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;
|
||||
|
||||
@@ -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 !=
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador