-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL] Add support for work group memory free function kernel parameter #15861
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
sarnex
merged 138 commits into
intel:sycl
from
lbushi25:free_funtion_kernel_work_group_memory_parameter
Nov 19, 2024
Merged
Changes from all commits
Commits
Show all changes
138 commits
Select commit
Hold shift + click to select a range
652caa8
Preliminary implementation of work_group_memory extension
lbushi25 76daf77
Preliminary implementation of work_group_memory extension
lbushi25 21e082b
Implement work_group_memory extension
lbushi25 025cbc4
Implement work_group_memory extension
lbushi25 b94f7c9
Implement work group memory
lbushi25 0d6d694
Remove debug dumps
lbushi25 448071f
Merge branch 'intel:sycl' into work_group_memoy_new
lbushi25 9f2973a
Update work_group_memory.hpp
lbushi25 852315f
Remove include of deleted header file
lbushi25 4234022
Fix SPIRV compilation errors
lbushi25 ae5eb7e
Remove accidental change
lbushi25 8ce0280
Formatting changes
lbushi25 4ee31a5
Formatting changes
lbushi25 7b1b90b
Put the work group memory doc to supported
lbushi25 cf7476e
More formatting changes
lbushi25 50c0954
Delete sycl/include/sycl/ext/oneapi/experimental/test.cpp
lbushi25 44811b8
Yet more formatting changes
lbushi25 ad1046f
Merge branch 'work_group_memoy_new' of https://github.com/lbushi25/ll…
lbushi25 d343a2e
Fix warnings on Linux
lbushi25 3f1bc30
Remove unnecessary forward declaration from handler.hpp
lbushi25 103e233
Remove rvalue references in favor of const lvalue references
lbushi25 bfa5830
Fix syntax errors
lbushi25 2031478
Fix syntax errors
lbushi25 76f0acc
Don't explicitly make the work_group_memory class device-copyable as …
lbushi25 e0ad435
Don't explicitly make the work_group_memory class device-copyable as …
lbushi25 3513251
Remove some more unnecessary code
lbushi25 2cec997
Update work_group_memory.hpp
lbushi25 4c8b196
Update work_group_memory.hpp
lbushi25 a0b70e2
Formatting
lbushi25 ed8f125
Move doc to experimental folder
lbushi25 9460876
Update status section in doc
lbushi25 ac7130a
Merge branch 'work_group_memoy_new' of https://github.com/lbushi25/ll…
lbushi25 e2889b3
Final fixes
lbushi25 d6c78b9
Remove unnecessary include
lbushi25 8f7a07b
Add initial tests for work_group_memory extension
lbushi25 ae59899
Add E2E tests for work group memory
lbushi25 8cff603
Fix formatting
lbushi25 3ceead1
Resolve merge conflict
lbushi25 3228aeb
Revamp tests for work group memory extension
lbushi25 0e95ee5
Remove sanity test
lbushi25 52f13f0
Move extension doc to proposed
lbushi25 71d1013
Restore proposed status of work group memory doc
lbushi25 d48bc42
Fix unusd variable warning
lbushi25 f6515bc
Reduce test size to make sure UR does not run out or resources
lbushi25 3e4c73c
Replace sycl.hpp with core.hpp in the includes of E2E test
lbushi25 c84229e
Remove sycl.hpp include from tests
lbushi25 d2fddd8
Add support for unbounded arrays
lbushi25 0f677c2
Fix compilation errors
lbushi25 6ef823e
Improve swap test
lbushi25 6dc262a
Merge branch 'work_group_memoy_new' of https://github.com/lbushi25/ll…
lbushi25 4de6d50
Refactor CodeGenTypes.cpp changes
lbushi25 5653f04
Refactor CodeGenTypes.cpp changes
lbushi25 40eb63e
translate unbounded arrays to 1-sized arrays in LLVM IR in device com…
lbushi25 f6a0df7
Remove trailing spaces
lbushi25 026501c
Add unbounded array support by modifying LLVM IR -> SPIRV type lowering
lbushi25 2ce21b3
Revert CodeGenTypes.cpp changes
lbushi25 a9b2875
Fix merge conflicts
lbushi25 3821df4
Merge branch 'intel:sycl' into work_group_memoy_new
lbushi25 d73b0b1
Update SPIRVWriter.cpp
lbushi25 c1087ad
Merge branch 'work_group_memoy_new' of https://github.com/lbushi25/ll…
lbushi25 31481b8
Revert SPIRV translator changes
lbushi25 396169f
Revert SPIRV translator changes
lbushi25 dc37b2c
Merge branch 'intel:sycl' into work_group_memoy_new
lbushi25 236139f
Revert SPIRV translator changes
lbushi25 2beda8e
Stash changes
lbushi25 dbafe31
Add inital free function kernel support for work group memory
lbushi25 1b968df
merge latest upstream changes
lbushi25 e6b66c3
Apply suggestions
lbushi25 84ef6a8
Merge branch 'intel:sycl' into work_group_memoy_new
lbushi25 f24af09
Merge branch 'intel:sycl' into work_group_memoy_new
lbushi25 7dfa80b
Address reviews
lbushi25 3957cb5
Address reviews
lbushi25 91820d8
Address reviews
lbushi25 34bc23d
Update WorkGroupMemoryBackendArgument.cpp
lbushi25 3acf835
Update WorkGroupMemoryBackendArgument.cpp
lbushi25 604c640
Fix unit test implementation for backend kernel argument
lbushi25 5510208
Merge branch 'work_group_memoy_new' of https://github.com/lbushi25/ll…
lbushi25 d9418f9
Merge branch 'sycl' into work_group_memoy_new
lbushi25 e90a3b7
Add frontend tests
lbushi25 3b9a55a
Merge branch 'work_group_memoy_new' of https://github.com/lbushi25/ll…
lbushi25 b9ed6f4
Update work_group_memory.cpp
lbushi25 af08c19
Fix segmentation fault
lbushi25 b2a97a2
Merge branch 'work_group_memoy_new' of https://github.com/lbushi25/ll…
lbushi25 77a6de1
Move implementation details away from handler to handler_impl
lbushi25 3cb0ba4
Fix ABI breakage
lbushi25 1783f75
Update handler.hpp
lbushi25 5a6085f
Merge branch 'intel:sycl' into work_group_memoy_new
lbushi25 6affbc3
Add missing symbols to dumps
lbushi25 ed3c60f
Merge branch 'sycl' into work_group_memoy_new
lbushi25 fd89473
Fix compilation errors from changes in handler.hpp in another commit
lbushi25 24f87b0
Merge branch 'intel:sycl' into work_group_memoy_new
lbushi25 3f8ced8
Add free function kernel support
084eb7d
Refactor handler.hpp
lbushi25 06a3c37
Polish free function kernel implementation and improve test
lbushi25 d96f2e1
Complete free function kernel support and add frontend tests
lbushi25 a2b44a2
Formatting changes
lbushi25 494870a
Fix bug in tests
lbushi25 13dd2b6
Merge branch 'sycl' into free_funtion_kernel_work_group_memory_parameter
lbushi25 4be6df0
Improve test and add comments
lbushi25 42edb22
Formatting changes
lbushi25 6bc951e
Formatting changes
lbushi25 5a91bfa
Add missing file
lbushi25 6f356ea
Update handler.hpp
lbushi25 ca4b228
Update handler.hpp
lbushi25 98186a5
move doc to experimental and update status
lbushi25 377945b
Merge branch 'free_funtion_kernel_work_group_memory_parameter' of htt…
lbushi25 c00c1f7
Define feature macro
lbushi25 5cb2d21
more formatting
lbushi25 f4b9b1a
Fix undefined behavior in tests and add unsupported directive on cuda
lbushi25 c3426d7
Update work_group_memory_forward_decl.hpp
lbushi25 7a6516c
Update work_group_memory_forward_decl.hpp
lbushi25 872f671
Update work_group_memory_forward_decl.hpp
lbushi25 805b00f
Update work_group_memory_forward_decl.hpp
lbushi25 c3b494c
Update free_function_kernel.cpp
lbushi25 bff19f4
Update free_function_kernel.cpp
lbushi25 9bab966
Make header files more lightweight
lbushi25 69388f0
Merge branch 'free_funtion_kernel_work_group_memory_parameter' of htt…
lbushi25 740f389
Modify integration header changes
lbushi25 0fa7af4
Update work_group_memory.cpp
lbushi25 883549a
Update work_group_memory.cpp
lbushi25 0997c60
Merge branch 'free_funtion_kernel_work_group_memory_parameter' of htt…
lbushi25 535890a
Remove work_group_memory_forward_decl.hpp
lbushi25 dcff700
Merge branch 'intel:sycl' into free_funtion_kernel_work_group_memory_…
lbushi25 4b2a148
Revert "Remove work_group_memory_forward_decl.hpp"
lbushi25 3578639
Merge branch 'free_funtion_kernel_work_group_memory_parameter' of htt…
lbushi25 54ab379
Fix bug in integration header free function kernel declaration
lbushi25 336c90e
Refactor tests
lbushi25 5bd6e3b
Merge branch 'sycl' into free_funtion_kernel_work_group_memory_parameter
lbushi25 ec91887
Implement the default constructor access hack for handling of special…
lbushi25 f08478e
Merge branch 'intel:sycl' into free_funtion_kernel_work_group_memory_…
lbushi25 3d326a3
Delete sycl/include/sycl/ext/oneapi/experimental/work_group_memory_fo…
lbushi25 dab03c5
Delete clang/test/SemaSYCL/Inputs/sycl/ext/oneapi/experimental/work_g…
lbushi25 ca4f2f3
Make work group memory inheritance private
lbushi25 299ecde
Merge branch 'free_funtion_kernel_work_group_memory_parameter' of htt…
lbushi25 d35ebb5
Merge branch 'intel:sycl' into free_funtion_kernel_work_group_memory_…
lbushi25 e3899f7
Remove XFAIL from free function test
lbushi25 7b3e5e3
Remove unnecessary includes
lbushi25 71ee15f
Merge branch 'intel:sycl' into free_funtion_kernel_work_group_memory_…
lbushi25 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
Oops, something went wrong.
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.
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.
This is not a new issue but there is a significant overlap between code for kernel body and free function body creator. I wonder if this can be refactored (not in this PR since it is an orthogonal issue) so that we don't duplicate so much code. @Fznamznon can you weigh in here since you are implementing free function functionality now.