Skip to content

Commit ec18d7f

Browse files
Add debug break in case of no synchronization between devices
Change-Id: If10ed848725b1101d67dbbac318f0aa283db1e2f Signed-off-by: Mateusz Jablonski <[email protected]>
1 parent 010f1a8 commit ec18d7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/platform/platform.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2018 Intel Corporation
2+
* Copyright (C) 2018-2019 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
@@ -180,7 +180,7 @@ bool Platform::initialize() {
180180
}
181181

182182
this->fillGlobalDispatchTable();
183-
183+
DEBUG_BREAK_IF(DebugManager.flags.CreateMultipleDevices.get() > 1 && !this->devices[0]->getDefaultEngine().commandStreamReceiver->peekTimestampPacketWriteEnabled());
184184
state = StateInited;
185185
return true;
186186
}

0 commit comments

Comments
 (0)