Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SYCL] Add work-around for event leak in profiling tag #14985

Commits on Aug 7, 2024

  1. [SYCL] Add work-around for event leak in profiling tag

    Due to a bug in the L0 UR adapter, the profiling tag extension leaks
    UR events on out-of-order queues. This is not due to the profiling tag
    events themselves, but rather due to the need for a barrier enforcing
    correct ordering of the inserted tag. Since the barrier ensures
    completion prior to the profiling tag executing, the output event is not
    needed, but the L0 adapter leaks the event if no output event is
    specified. To combat this, this work-around passes an output event and
    immediately frees it after the barrier has been submitted.
    
    See oneapi-src/unified-runtime#1947.
    
    Signed-off-by: Larsen, Steffen <[email protected]>
    steffenlarsen committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    3b89f1f View commit details
    Browse the repository at this point in the history