Skip to content

[SYCL][Fusion] Fix kernel fusion passes tests#7719

Merged
steffenlarsen merged 1 commit intointel:syclfrom
sommerlukas:kernel-fusion/sixth-patch
Dec 9, 2022
Merged

[SYCL][Fusion] Fix kernel fusion passes tests#7719
steffenlarsen merged 1 commit intointel:syclfrom
sommerlukas:kernel-fusion/sixth-patch

Conversation

@sommerlukas
Copy link
Contributor

Fix tests for kernel fusion passes in static builds by using correct library, loadable by opt, for tests.

Also fixes post-commit feedback from @AlexeySachkov in #7661.

Signed-off-by: Lukas Sommer lukas.sommer@codeplay.com

Copy link
Contributor

@AlexeySachkov AlexeySachkov left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

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

Just a note that this assert isn't needed anymore, because it exists within cast: that one will fail first and we won't see our custom message anyway.

Copy link
Contributor

Choose a reason for hiding this comment

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

Please note that I haven't thoroughly reviewed the rest of for (auto ...) loops (because the patch is quite huge), so there might be similar excessive copies somewhere else

Signed-off-by: Lukas Sommer <lukas.sommer@codeplay.com>
@sommerlukas sommerlukas force-pushed the kernel-fusion/sixth-patch branch from e0a191b to e2ba7dc Compare December 9, 2022 14:01
@sommerlukas
Copy link
Contributor Author

@intel/llvm-gatekeepers This patch is ready to be merged, could you please merge?

@steffenlarsen steffenlarsen merged commit 1b68ffd into intel:sycl Dec 9, 2022
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