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
This commit is contained in:
foreman
2015-11-02 13:17:02 -05:00
parent e3d52b4c73
commit 66417ec305
+1 -1
View File
@@ -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);