Skip to content

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 [email protected]

@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 <[email protected]>
@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
@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