Skip to content

Conversation

@steffenlarsen
Copy link
Contributor

#6244 changed the L0 backend to use std::scoped_lock for various occasions. However, when building with MSVC some of the uses are done through copying. Since std::scoped_lock has its copy-constructor deleted this causes the build to fail. This commit changes this pattern to avoid the copy.

intel#6244 changed the L0 backend to use
std::scoped_lock for various occasions. However, when building with MSVC
some of the uses are done through copying. Since std::scoped_lock has
its copy-constructor deleted this causes the build to fail. This commit
changes this pattern to avoid the copy.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen requested a review from againull June 14, 2022 15:51
@steffenlarsen steffenlarsen requested a review from a team as a code owner June 14, 2022 15:51
@pvchupin pvchupin merged commit 6b55f58 into intel:sycl Jun 14, 2022
@steffenlarsen steffenlarsen deleted the steffen/fix_scoped_lock_copy branch December 6, 2023 11:38
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.

3 participants