SWDEV-1 - Fix a build warning.
Change-Id: I085fcc68ef3aaebf85515ea45fca99d7ec845721
[ROCm/clr commit: c825d06454]
This commit is contained in:
@@ -697,7 +697,7 @@ class VirtualGPU : public device::VirtualDevice {
|
||||
inline void VirtualGPU::logVmMemory(const std::string name, const Memory* memory) {
|
||||
if (PAL_EMBED_KERNEL_MD || (AMD_LOG_LEVEL >= amd::LOG_INFO)) {
|
||||
char buf[256];
|
||||
sprintf(buf, "%s = ptr:[%p-%p] size:[%lld] heap[%d]", name.c_str(),
|
||||
sprintf(buf, "%s = ptr:[%p-%p] size:[%lu] heap[%d]", name.c_str(),
|
||||
reinterpret_cast<void*>(memory->vmAddress()),
|
||||
reinterpret_cast<void*>(memory->vmAddress() + memory->size()),
|
||||
memory->iMem()->Desc().size, memory->iMem()->Desc().heaps[0]);
|
||||
|
||||
مرجع در شماره جدید
Block a user