Skip to content

Conversation

@steffenlarsen
Copy link
Contributor

This commit fixes two issues with the level zero implementation of timestamp recording events:

  • Events allocated for timestamp recordings may have been previously used, which may lead the implementation to think that the recordings of the old timestamp are right. The implementation will now reset the value of it.
  • To avoid cases where timestamp recordings could conflict in the recordings buffer, unfinished recordings of dead events are now moved to another map, to be evicted fully on queue synchronization or death.

This commit fixes two issues with the level zero implementation of
timestamp recording events:
* Events allocated for timestamp recordings may have been previously
  used, which may lead the implementation to think that the recordings
  of the old timestamp are right. The implementation will now reset the
  value of it.
* To avoid cases where timestamp recordings could conflict in the
  recordings buffer, unfinished recordings of dead events are now moved
  to another map, to be evicted fully on queue synchronization or death.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen requested a review from a team as a code owner December 2, 2024 17:03
@github-actions github-actions bot added the level-zero L0 adapter specific issues label Dec 2, 2024
@nrspruit nrspruit added the v0.11.x Include in the v0.11.x release label Dec 2, 2024
@nrspruit
Copy link
Contributor

nrspruit commented Dec 2, 2024

Hello @steffenlarsen , can you post an intel/llvm draft PR pointing to your UR change? Otherwise it looks good to me.

@steffenlarsen
Copy link
Contributor Author

Hello @steffenlarsen , can you post an intel/llvm draft PR pointing to your UR change? Otherwise it looks good to me.

Oh, sorry! Evening brain let it slip my mind. intel/llvm#16233

@nrspruit nrspruit added the ready to merge Added to PR's which are ready to merge label Dec 6, 2024
@kbenzie kbenzie merged commit 5c10466 into oneapi-src:main Dec 9, 2024
73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level-zero L0 adapter specific issues ready to merge Added to PR's which are ready to merge v0.11.x Include in the v0.11.x release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants