mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Print execution buffer flags in hexadecimal format
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
13961eea3f
commit
97dba1eb00
@@ -201,13 +201,13 @@ void BufferObject::printExecutionBuffer(drm_i915_gem_execbuffer2 &execbuf, const
|
|||||||
logger << "Buffer Object = { handle: BO-" << execObjectsStorage[i].handle
|
logger << "Buffer Object = { handle: BO-" << execObjectsStorage[i].handle
|
||||||
<< ", address range: 0x" << (void *)execObjectsStorage[i].offset
|
<< ", address range: 0x" << (void *)execObjectsStorage[i].offset
|
||||||
<< " - 0x" << (void *)ptrOffset(execObjectsStorage[i].offset, residency[i]->peekSize())
|
<< " - 0x" << (void *)ptrOffset(execObjectsStorage[i].offset, residency[i]->peekSize())
|
||||||
<< ", flags: " << execObjectsStorage[i].flags
|
<< ", flags: " << std::hex << execObjectsStorage[i].flags << std::dec
|
||||||
<< ", size: " << residency[i]->peekSize() << " }\n";
|
<< ", size: " << residency[i]->peekSize() << " }\n";
|
||||||
}
|
}
|
||||||
logger << "Command Buffer Object = { handle: BO-" << execObjectsStorage[i].handle
|
logger << "Command Buffer Object = { handle: BO-" << execObjectsStorage[i].handle
|
||||||
<< ", address range: 0x" << (void *)execObjectsStorage[i].offset
|
<< ", address range: 0x" << (void *)execObjectsStorage[i].offset
|
||||||
<< " - 0x" << (void *)ptrOffset(execObjectsStorage[i].offset, this->peekSize())
|
<< " - 0x" << (void *)ptrOffset(execObjectsStorage[i].offset, this->peekSize())
|
||||||
<< ", flags: " << execObjectsStorage[i].flags
|
<< ", flags: " << std::hex << execObjectsStorage[i].flags << std::dec
|
||||||
<< ", size: " << this->peekSize() << " }\n";
|
<< ", size: " << this->peekSize() << " }\n";
|
||||||
|
|
||||||
std::cout << logger.str() << std::endl;
|
std::cout << logger.str() << std::endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user