intel / pti-gpu

Profiling Tools Interfaces for GPU (PTI for GPU) is a set of Getting Started Documentation and Tools Library to start performance analysis on Intel(R) Processor Graphics easily
MIT License
198 stars 52 forks source link

unitrace fails with: Assertion `zeEventQueryStatus(event) == ZE_RESULT_NOT_READY' failed. #38

Closed roysmoore closed 3 months ago

roysmoore commented 1 year ago

Testing unitrace with ze_peak:

ze_peak: a760ae0b52497b73254b2df8b191aa3693a970c7 (pulled 2023.5.13)

unitrace --version 0.50.0 (b785677885e062c41405fb8d10812f7e7c0c58d9)

unitrace -h -d -v --chrome-call-logging --chrome-device-logging --chrome-kernel-logging ./ze_peak -t dp_compute

Device :

Double Precision Compute (GFLOPS) double : 32644.5 GFLOPS ze_peak: /nfs/pdx/home/roymoore/GIT/performance.platform.pti-builds/src/pti-gpu/tools/unitrace/src/levelzero/ze_event_cache.h:105: ze_event_handle_t ZeEventCache::GetEvent(ze_context_handle_t): Assertion `zeEventQueryStatus(event) == ZE_RESULT_NOT_READY' failed. Aborted (core dumped)

System:

zma2 commented 3 months ago

@roysmoore Can you please try with the latest unitrace? Does it fail only with ze_peak or does it fail with other applications also?

roysmoore commented 3 months ago

Running with a current version of unitrace using oneAPI 2024.1, this is no longer an issue.