Add support for buffer dumps in BIN and TRE format

Change-Id: Ib7e59fd6812ca6adcb2dfc1defa74008fee17ec9
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
Milczarek, Slawomir
2019-03-26 16:30:28 +01:00
committed by sys_ocldev
parent 4501d985a9
commit 96db96fcb4
14 changed files with 79 additions and 33 deletions

View File

@@ -27,6 +27,7 @@ class HardwareContextController {
void writeMemory(uint64_t gfxAddress, const void *memory, size_t size, uint32_t memoryBanks, int hint, size_t pageSize);
void dumpBufferBIN(uint64_t gfxAddress, size_t size);
void dumpBuffer(uint64_t gfxAddress, size_t size, uint32_t format, bool compressed);
void readMemory(uint64_t gfxAddress, void *memory, size_t size, uint32_t memoryBanks, size_t pageSize);
std::vector<std::unique_ptr<aub_stream::HardwareContext>> hardwareContexts;