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]
此提交包含在:
1 父節點
22f0c6abd4
當前提交
f1af7f3bb0
1 file changed
+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);
|
||||
|
||||
Reference in new issue
封鎖使用者