Skip to content

Commit be3fe79

Browse files
feature: enable standalone profiling allocation for CB events 3
Related-To: NEO-11925 Signed-off-by: Bartosz Dunajski <[email protected]>
1 parent 314c899 commit be3fe79

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

level_zero/core/source/event/event.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ template Event *Event::create<uint64_t>(const EventDescriptor &, const ze_event_
4242
template Event *Event::create<uint32_t>(const EventDescriptor &, const ze_event_desc_t *, Device *);
4343

4444
bool Event::standaloneInOrderTimestampAllocationEnabled() {
45-
return (NEO::debugManager.flags.StandaloneInOrderTimestampAllocationEnabled.get() == 1);
45+
return (NEO::debugManager.flags.StandaloneInOrderTimestampAllocationEnabled.get() != 0);
4646
}
4747

4848
ze_result_t EventPool::initialize(DriverHandle *driver, Context *context, uint32_t numDevices, ze_device_handle_t *deviceHandles) {

level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6680,7 +6680,6 @@ HWTEST2_F(InOrderRegularCmdListTests, givenAddedCmdForPatchWhenUpdateNewInOrderI
66806680

66816681
struct StandaloneInOrderTimestampAllocationTests : public InOrderCmdListTests {
66826682
void SetUp() override {
6683-
NEO::debugManager.flags.StandaloneInOrderTimestampAllocationEnabled.set(1);
66846683
InOrderCmdListTests::SetUp();
66856684
}
66866685
};

0 commit comments

Comments
 (0)