mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
AUB CSR to flush file stream on every enqueue call
This commit adds an explicit flush on AUB file stream to CSR flush method. Change-Id: Ib491718dba6c7b4a5b1e173111830bd3ab72a3d0
This commit is contained in:
@@ -84,6 +84,10 @@ void AubFileStream::write(const char *data, size_t size) {
|
||||
fileHandle.write(data, size);
|
||||
}
|
||||
|
||||
void AubFileStream::flush() {
|
||||
fileHandle.flush();
|
||||
}
|
||||
|
||||
bool AubFileStream::init(uint32_t stepping, uint32_t device) {
|
||||
CmdServicesMemTraceVersion header;
|
||||
memset(&header, 0, sizeof(header));
|
||||
|
||||
@@ -420,6 +420,7 @@ FlushStamp AUBCommandStreamReceiverHw<GfxFamily>::flush(BatchBuffer &batchBuffer
|
||||
subCaptureManager->deactivateSubCapture();
|
||||
}
|
||||
|
||||
stream->flush();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user