Skip to content

[SYCL] cmd mem leak fix #17125

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

Merged

Conversation

cperkinsintel
Copy link
Contributor

When enqueueing a command and its dependencies, an exception might be thrown. In that case, the command will have a failed EnqueueStatus and not stored in graph_builder DAG. But we need to make sure that dependencies also check so they are not stored there. Otherwise there will be leaks. During the clean up, we don't want to reenqueue it if we know it has failed before.

This is broken out from #16618

…e thrown. In that case, the command will have a failed EnqueueStatus. During the clean up, we don't want to reenqueue it if we know it has failed before
@cperkinsintel
Copy link
Contributor Author

ESIMD/matrix_transpose_glb.cpp is failing on other PR ( https://github.com/intel/llvm/actions/runs/13465061599/job/37630646656?pr=17126 ) I haven't been able to reproduce it locally yet, maybe Arc only?

@cperkinsintel
Copy link
Contributor Author

cperkinsintel commented Feb 25, 2025

HostInteropTask/interop-task-cuda-buffer-migrate.cpp is failing in other unrelated PR also on CUDA ( https://github.com/intel/llvm/actions/runs/13510530573/job/37751750445?pr=17152 and https://github.com/intel/llvm/actions/runs/13509301482/job/37749427764?pr=17149 )

Issue is here: #17026

Copy link
Contributor

@sergey-semenov sergey-semenov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Please adjust the PR title ("only" wouldn't make any sense in the commit history).

I would also like @KseniyaTikhomirova to have another look too.

@cperkinsintel cperkinsintel changed the title [SYCL] cmd mem leak fix (only) [SYCL] cmd mem leak fix Feb 25, 2025
@cperkinsintel
Copy link
Contributor Author

InOrderEventsExt/get_last_event.cpp has been discovered to be flaky on Arc.
#17066

@steffenlarsen steffenlarsen merged commit a412c12 into intel:sycl Mar 10, 2025
21 checks passed
adamfidel pushed a commit to reble/llvm that referenced this pull request Mar 11, 2025
When enqueueing a command and its dependencies, an exception might be
thrown. In that case, the command will have a failed EnqueueStatus and
not stored in graph_builder DAG. But we need to make sure that
dependencies also check so they are not stored there. Otherwise there
will be leaks. During the clean up, we don't want to reenqueue it if we
know it has failed before.

This is broken out from intel#16618
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants