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][Fusion] Avoid deadlock on events with no command group #12621

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

victor-eds
Copy link
Contributor

sycl::queue shortcut functions, e.g., sycl::queue::memcpy, may not
create a command group, so events coming from those will not have a
command group attached. Avoid deadlock when going through event list
in fusion mode.

Signed-off-by: Victor Perez victor.perez@codeplay.com

@victor-eds victor-eds self-assigned this Feb 6, 2024
@victor-eds
Copy link
Contributor Author

Depends on #12593

`sycl::queue` shortcut functions, e.g., `sycl::queue::memcpy`, may not
create a command group, so events coming from those will not have a
command group attached. Avoid deadlock when going through event list
in fusion mode.

Signed-off-by: Victor Perez <victor.perez@codeplay.com>
@victor-eds
Copy link
Contributor Author

Unrelated failing test:

********************
Failed Tests (1):
  SYCL :: ESIMD/aot_mixed.cpp


Testing Time: 2708.06s

Total Discovered Tests: 1879
  Unsupported      :  495 (26.34%)
  Passed           : 1379 (73.39%)
  Expectedly Failed:    4 (0.21%)
  Failed           :    1 (0.05%)

@sommerlukas
Copy link
Contributor

Unrelated failing test:

********************
Failed Tests (1):
  SYCL :: ESIMD/aot_mixed.cpp


Testing Time: 2708.06s

Total Discovered Tests: 1879
  Unsupported      :  495 (26.34%)
  Passed           : 1379 (73.39%)
  Expectedly Failed:    4 (0.21%)
  Failed           :    1 (0.05%)

Should be fixed by #12650.

@AlexeySachkov
Copy link
Contributor

@maarquitos14, @intel/llvm-reviewers-runtime, could you please take a look? This patch is needed to fix post-commit failure

@ldrumm ldrumm merged commit effbbab into intel:sycl Feb 9, 2024
11 of 12 checks passed
@victor-eds victor-eds deleted the red-deadlock-fix branch February 9, 2024 12:26
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.

6 participants