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
Цей коміт міститься в:
@@ -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_;
|
||||
}
|
||||
|
||||
Посилання в новій задачі
Заблокувати користувача