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][Graph] Export missing graph node symbols #13744

Merged
merged 1 commit into from May 13, 2024

Conversation

EwanC
Copy link
Contributor

@EwanC EwanC commented May 10, 2024

The symbols for templated methods node::update_range() and node::update_nd_range() were not having their symbols exported on Windows DLLs. Leading to link errors when running clang in the Graph E2E tests Update/update_nd_range.cpp and Update/update_range.cpp

Fixed by adding __SYCL_EXPORT to the templated specializations are recommended by the __SYCL_EXPORT Macro documentation

Also removed duplicate forward declaration of command_graph from graph.hpp. It is already forward declared earlier on in the file on line 43.

The symbols for templated methods `node::update_range()` and
`node::update_nd_range()` were not having their symbols exported
on Windows DLLs. Leading to link errors when running clang in
the Graph E2E tests `Update/update_nd_range.cpp` and
`Update/update_range.cpp`

Fixed by adding `__SYCL_EXPORT` to the templated specializations
are recommended by the [__SYCL_EXPORT Macro
documentation](https://intel.github.io/llvm-docs/developer/ABIPolicyGuide.html#sycl-export-macro)
@EwanC EwanC marked this pull request as ready for review May 10, 2024 15:07
@EwanC EwanC requested review from a team as code owners May 10, 2024 15:07
@EwanC EwanC requested a review from bso-intel May 10, 2024 15:07
@EwanC
Copy link
Contributor Author

EwanC commented May 13, 2024

@intel/llvm-gatekeepers This is good to merge, thanks

@martygrant martygrant merged commit b4e0450 into intel:sycl May 13, 2024
15 checks passed
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.

None yet

5 participants