P4 to Git Change 1351742 by gandryey@gera-w8 on 2016/12/09 14:31:14
SWDEV-79445 - OCL generic changes and code clean-up
- Fix a warnign in LC build
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#23 edit
[ROCm/clr commit: d077c1abaa]
This commit is contained in:
@@ -991,7 +991,7 @@ HSAILKernel::loadArguments(
|
||||
|
||||
// Find all parameters for the current kernel
|
||||
for (auto arg : arguments_) {
|
||||
const_address paramaddr;
|
||||
const_address paramaddr = nullptr;
|
||||
if (arg->index_ != uint(-1)) {
|
||||
paramaddr = parameters + signature.at(arg->index_).offset_;
|
||||
}
|
||||
|
||||
@@ -1528,7 +1528,7 @@ VirtualGPU::submitKernelInternal(
|
||||
|
||||
// Find all parameters for the current kernel
|
||||
for (auto arg : gpuKernel.hsailArgs()) {
|
||||
const_address srcArgPtr;
|
||||
const_address srcArgPtr = NULL;
|
||||
if (arg->index_ != uint(-1)) {
|
||||
srcArgPtr = parameters + signature.at(arg->index_).offset_;
|
||||
}
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user