P4 to Git Change 1989264 by gandryey@gera-win10 on 2019/08/26 18:05:35
SWDEV-79445 - OCL generic changes and code clean-up - Fix a typo, use privateMemSize instead of numMaxWaves Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#159 edit
Esse commit está contido em:
@@ -2010,7 +2010,7 @@ bool Device::allocScratch(uint regNum, const VirtualGPU* vgpu, uint vgprs) {
|
||||
// Current private mem size
|
||||
uint32_t privateMemSize = regNum * sizeof(uint32_t);
|
||||
// Max between the allocation and current
|
||||
privateMemSize = std::max(privateMemSize, scratch_[sb]->numMaxWaves_);
|
||||
privateMemSize = std::max(privateMemSize, scratch_[sb]->privateMemSize_);
|
||||
uint64_t newSize =
|
||||
static_cast<uint64_t>(info().wavefrontWidth_) * privateMemSize * numMaxWaves * numTotalCUs;
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário