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
[ROCm/clr commit: bc34be99d2]
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user