Skip to content

Conversation

AlexeySachkov
Copy link
Contributor

This is a cherry-pick of #19981

Problem
There can be race during image decompression. Consider the case when one thread is reading the decompressed buffer while another thread modifies it. This can lead to invalid SPIRV errors emitted by IGC.

Proposed solution
Use std::call_once to ensure that only one thread does the decompression of an image.

**Problem**
There can be race during image decompression. Consider the case when one
thread is reading the decompressed buffer while another thread modifies
it. This can lead to invalid SPIRV errors emitted by IGC.

**Proposed solution**
Use `std::call_once` to ensure that only one thread does the
decompression of an image.
@AlexeySachkov
Copy link
Contributor Author

Unexpectedly Passed Tests (1):
  SYCL :: KernelAndProgram/kernel-bundle-get-kernel-ids.cpp

That is a known XPASS, I will proceed with the merge

@AlexeySachkov AlexeySachkov merged commit 36f294f into intel:sycl-rel-6_3 Sep 18, 2025
21 of 23 checks passed
@AlexeySachkov AlexeySachkov deleted the private/asachkov/cherry-pick-19981 branch September 18, 2025 18:01
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.

2 participants