Skip to content

[SYCL] Fix properties include dependency in fpga extensions #6101

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

Merged
merged 2 commits into from
May 5, 2022

Conversation

steffenlarsen
Copy link
Contributor

@steffenlarsen steffenlarsen commented May 5, 2022

fpga_lsu.hpp and pipes.hpp use the compile-time properties extension but do not include the corresponding header file. This issue only shows up when the fpga extension header (or fpga_lsu.hpp/pipes.hpp directly) is included before sycl.hpp. These changes resolves the include dependency.

fpga_lsu.hpp uses the compile-time properties extension but does not
include the corresponding header file. This issue only shows up when
the fpga extension header (or fpga_lsu.hpp directly) is included before
sycl.hpp. These changes resolves the include dependency.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen requested a review from a team as a code owner May 5, 2022 10:35
@steffenlarsen steffenlarsen requested a review from v-klochkov May 5, 2022 10:35
@shuoniu-intel
Copy link
Contributor

Thank you for catching this, Steffen! I didn't realize you don't have to include <sycl.hpp> first.

Could you apply the same change to experimental/pipes.hpp which has the same issue?

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen changed the title [SYCL] Fix include dependency in fpga_lsu.hpp [SYCL] Fix properties include dependency in fpga extensions May 5, 2022
@steffenlarsen
Copy link
Contributor Author

Could you apply the same change to experimental/pipes.hpp which has the same issue?

Good call! It has been added to this PR and the description has been changed accordingly.

Copy link
Contributor

@shuoniu-intel shuoniu-intel left a comment

Choose a reason for hiding this comment

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

LGTM!

@v-klochkov v-klochkov merged commit ac6a4f5 into intel:sycl May 5, 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.

3 participants