P4 to Git Change 1206500 by gandryey@gera-w8 on 2015/11/02 13:07:17
SWDEV-56468 - Support wave limiter in HSAIL path
- Fix uninitialized variable
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#307 edit
[ROCm/clr commit: 66417ec305]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
22f0c6abd4
tiomantas
f1af7f3bb0
1 comhad athraithe
+1
-1
@@ -3517,7 +3517,7 @@ HSAILKernel::init(amd::hsa::loader::Symbol *sym, bool finalize)
|
||||
}
|
||||
index_ = md.kernel_index;
|
||||
|
||||
size_t sizeOfWavesPerSimdHint;
|
||||
size_t sizeOfWavesPerSimdHint = sizeof(workGroupInfo_.wavesPerSimdHint_);
|
||||
error = aclQueryInfo(dev().hsaCompiler(), prog().binaryElf(),
|
||||
RT_WAVES_PER_SIMD_HINT, openClKernelName.c_str(),
|
||||
&workGroupInfo_.wavesPerSimdHint_, &sizeOfWavesPerSimdHint);
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir