SWDEV-532824 - Fixed log_printf errors for codeql (#427)
Co-authored-by: Jimbo Xie <jiabaxie@amd.com>
[ROCm/clr commit: c88f345229]
This commit is contained in:
committato da
GitHub
parent
86039381a2
commit
405962df53
@@ -74,7 +74,7 @@ hipError_t hipMemAddressReserve(void** ptr, size_t size, size_t alignment, void*
|
||||
|
||||
// If requested address was not allocated, printf error message.
|
||||
if (addr != nullptr && addr == *ptr) {
|
||||
LogPrintfError("Requested address : 0x%x was not allocated. Allocated address : 0x%x ", *ptr);
|
||||
LogPrintfError("Requested address was not allocated. Allocated address : 0x%x ", *ptr);
|
||||
}
|
||||
|
||||
HIP_RETURN(hipSuccess);
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user