Skip to content

Commit d537cc5

Browse files
committed
Add zePrint to be able to check in E2E test
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
1 parent 416c471 commit d537cc5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

sycl/plugins/level_zero/pi_level_zero.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -454,12 +454,11 @@ _pi_context::getFreeSlotInExistingOrNewPool(ze_event_pool_handle_t &Pool,
454454
ZeStruct<ze_event_pool_desc_t> ZeEventPoolDesc;
455455
ZeEventPoolDesc.count = MaxNumEventsPerPool;
456456
ZeEventPoolDesc.flags = 0;
457-
if (HostVisible) {
457+
if (HostVisible)
458458
ZeEventPoolDesc.flags |= ZE_EVENT_POOL_FLAG_HOST_VISIBLE;
459-
}
460-
if (ProfilingEnabled) {
459+
if (ProfilingEnabled)
461460
ZeEventPoolDesc.flags |= ZE_EVENT_POOL_FLAG_KERNEL_TIMESTAMP;
462-
}
461+
zePrint("ze_event_pool_desc_t flags set to: %d\n", ZeEventPoolDesc.flags);
463462

464463
std::vector<ze_device_handle_t> ZeDevices;
465464
std::for_each(Devices.begin(), Devices.end(),

0 commit comments

Comments
 (0)