P4 to Git Change 1547825 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/30 11:59:32

SWDEV-145570 - [HIP] Fixed release build

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#13 edit
这个提交包含在:
foreman
2018-04-30 13:34:32 -04:00
父节点 5fc5d098a9
当前提交 36d2d37804
+3 -3
查看文件
@@ -83,7 +83,7 @@ hipError_t hipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind
return hipErrorOutOfMemory;
}
amd::Command* command;
amd::Command* command = nullptr;
amd::Command::EventWaitList waitList;
amd::Memory* memory;
@@ -568,7 +568,7 @@ hipError_t hipMemcpyToArray(hipArray* dstArray, size_t wOffset, size_t hOffset,
return hipErrorOutOfMemory;
}
amd::Command* command;
amd::Command* command = nullptr;
amd::Command::EventWaitList waitList;
amd::Memory* memory;
@@ -613,7 +613,7 @@ hipError_t hipMemcpyFromArray(void* dst, hipArray_const_t srcArray, size_t wOffs
return hipErrorOutOfMemory;
}
amd::Command* command;
amd::Command* command = nullptr;
amd::Command::EventWaitList waitList;
amd::Memory* memory;