Skip to content

Building with Ninja always triggering full rebuild when using -fsycl option on Windows #14798

Closed Answered by AlexeySachkov
TomArnaez asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @TomArnaez, thanks for your report.

test-header-036cb1.h is a special header file that we emit during device compilation and implicitly include into host compilation. It serves as an interface/mechanism to pass some data from device compilation to SYCL RT and host compilation (like kernel names for example).

I will tag @mdtoguchi here for his feedback, but my first reaction is that we should convert this into an issue and investigate if we can do something here. That temporary file clearly depends on test.cpp, so if we could somehow communicate that to the build system, then it should fix the issue.

I know that there is some ongoing effort to redesign this implementation completely and…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@mdtoguchi
Comment options

@zahiraam
Comment options

Answer selected by TomArnaez
Comment options

You must be logged in to vote
2 replies
@TomArnaez
Comment options

@zahiraam
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants