Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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] Add device config file consistency test #16369
base: sycl
Are you sure you want to change the base?
[SYCL] Add device config file consistency test #16369
Changes from 3 commits
69e538a
78a751a
3855884
3c062ef
81431e7
07e599e
215bf25
d7264c9
b9e14c7
7cd1109
ef8481f
0b99853
7b61e9e
9a893a0
96da39b
9a4f880
415a6be
d9e0582
232357b
fcb7c46
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you give some background on why we need to install this? thx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still testing things, so I might change some things, but I want to support the new
device_config_file_consistency
test. It uses theDeviceConfigFile.hpp
, and that file includesDeviceConfigFile.inc
, which is generated by tablegen. On CI from what I understand the e2e tests are invoked by using the packed install files from the build step and only runs CMake on thesycl/test-e2e
subfolder. So since we probably don't want to build tablegen and invoke other LLVM cmake files when running the e2e tests, I install theDeviceConfigFile.inc
it in the build step to pass it to the e2e tests. Also note that this test must be an e2e test as it queries the device it is running the test on, so it can't be moved tosycl/test
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry so what tools/files are required to generate that hpp file? Is it just
llvm-tablegen
andDeviceConfigFile.inc
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea just tablegen and
DeviceConfigFile.td
are needed for the hpp fileThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also just for some more background I was aiming so that DeviceConfigFile.hpp is not installed by default because outside of testing, this file is not needed for a SYCL distribution, it is only used in the compiler.