-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL] Implement sycl_ext_oneapi_kernel_compiler_spirv #12291
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
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
0482586
[SYCL] Implement sycl_ext_oneapi_kernel_compiler_spirv
0x12CC efcdc0a
Add new symbol to dumps
0x12CC de11ad9
Conditionally disable `std::byte` APIs
0x12CC afd92e5
Remove extraneous `std::byte` guards
0x12CC 57a8e44
Refactor kernel compiler SPIR-V test case
0x12CC f705fa6
Add additional parameter test cases
0x12CC 8fe8515
Move comment above correct source line
0x12CC 9be2e8b
Add missing REQUIRES
0x12CC 412ba7d
Split SPIR-V files for fp16 and fp64
0x12CC 5fbe9a2
Run clang-format
0x12CC 4df4390
Merge branch 'sycl' into kernel_compiler_spirv
0x12CC 9f23932
Move `std::byte` include
0x12CC 6dba465
Change queue initializer
0x12CC 172bd6b
Add struct test case
0x12CC a674280
Merge branch 'sycl' into kernel_compiler_spirv
0x12CC 7519a01
Address review comments
0x12CC 85a3cda
Merge branch 'sycl' into kernel_compiler_spirv
0x12CC 1cfddca
Switch kernels from LLVM text IR to SPV binary
0x12CC e81e22f
Merge branch 'sycl' into kernel_compiler_spirv
0x12CC File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
@gmlueck I definitely think creating kernel bundles from spirv binary ( .spv ) is the right thing.
But there is a tiny bit of a disconnect there, where we are creating "from source" and yet that source is .spv binary not .spt the textual human(*) readable representation of SPIR-V. Anyway, I'm not trying to make more work for anyone. Nor do I think there is any real demand for using .spt sources. But it does seem a bit funny.
(*) I guess .spt is "almost human" readable.
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 agree that calling SPIR-V binary "source" is a bit of a misnomer, but all the APIs work out pretty well. We could easily add SPIR-V source support in the future by adding a new enumerator like
source_language::spirv_source
. However, I think there is no compelling reason to do that unless there is some request.