-
Notifications
You must be signed in to change notification settings - Fork 761
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] Decompose kernel parameters and add inheritance support #1877
Merged
Merged
Changes from 8 commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
7974c35
Support for arrays as kernel parameters.
rdeodhar 4907194
Reusing some memberexpr building code.
rdeodhar d54c0ca
Merge branch 'sycl' of https://github.com/otcshare/llvm into akp2
rdeodhar 44d8663
Rebased changes from Elizabeth
Fznamznon 801a0ea
Implement special bases handling
Fznamznon 503638e
Merge branch 'sycl' into bases-handling
Fznamznon 546c58d
Merge branch 'sycl' of https://github.com/otcshare/llvm into akp2
rdeodhar 52f2e5a
Handle vector types like scalar types
Fznamznon 2a36a93
Fixed failing lit tests. Structs/Classes are no longer passed whole. …
elizabethandrews ab74fcf
Owner should be record being visited.
elizabethandrews 4370d76
Avoid decomposing stream class. If field type is stream, we iterate
elizabethandrews 52ce3f2
Updated support for arrays.
rdeodhar 983b3d5
Merge branch 'sycl' of https://github.com/otcshare/llvm into akp2
rdeodhar 1bf0903
Formatting changes.
rdeodhar 5d5121b
Formatting changes.
rdeodhar 96ca8f4
Fix crash for stream type. Also changed handler call for consistency
elizabethandrews f03edd9
Correction to a test.
rdeodhar 033b507
Merge remote-tracking branch 'rajiv_fork/akp2' into add_inheritance_s…
elizabethandrews 4868d45
Fixed some crashes after merge.
elizabethandrews 35383c5
Minor refactor
elizabethandrews de9e2aa
Added lit test for inheritance AST check
elizabethandrews d87b2cc
Merge branch 'sycl' of https://github.com/otcshare/llvm into akp2
rdeodhar 63cc362
Do not visit accessor fields
elizabethandrews 51b598e
Do not generate default initializers for accessors in array
elizabethandrews 2a1e9ba
Added CodeGen lit test
elizabethandrews 0412db3
Array elements are now passed as individual parameters.
rdeodhar 810af7b
Merge branch 'sycl' of https://github.com/otcshare/llvm into akp2
rdeodhar 48439c3
Merge remote-tracking branch 'intel_llvm/sycl' into add_inheritance_s…
elizabethandrews d620e4e
Clang-Format Changes
elizabethandrews 00c082f
Merge branch 'sycl' of https://github.com/otcshare/llvm into akp2
rdeodhar af0b0c9
Corrections to temporarily disable tests expected to fail.
rdeodhar d5fb2d9
Changed tests to work with current array support.
rdeodhar 70a2076
Fix multiple inheritance
Fznamznon f07c8d7
Add runtime test for functor inheritance
Fznamznon b1365c2
Add runtime test for accessor base
Fznamznon 4ea6f47
Do not decompose cl::sycl::half type
Fznamznon 15b47f4
Merge remote-tracking branch 'intel_llvm/sycl' into add_inheritance_s…
elizabethandrews 1c9e17b
Fix sampler lit test. Struct is decomposed.
elizabethandrews 92e71bd
Cleaned up code a bit:
elizabethandrews f4cd574
Merge remote-tracking branch 'rajiv_fork/akp2' into add_inheritance_s…
elizabethandrews 7bb1db5
ClangFormat Changes
elizabethandrews db492bd
Decomposed array elements, and changed manner of array element initia…
rdeodhar 59cabac
Merge branch 'sycl' of https://github.com/otcshare/llvm into akp2
rdeodhar 9f9b13d
Merge remote-tracking branch 'intel_llvm/sycl' into add_inheritance_s…
elizabethandrews a64b209
Add CodeGen test for accessor inheritance
Fznamznon 4c7dbd0
Add Sema AST test for accessor bases
Fznamznon 1222a92
Merge remote-tracking branch 'rajiv_fork/akp2' into add_inheritance_s…
elizabethandrews 6da194d
ClangFormat changes
elizabethandrews 4afc3a3
Removed one redundant check.
rdeodhar 1e5b360
Enable and fix array tests after merge.
elizabethandrews 7af1020
Merge remote-tracking branch 'intel_llvm/sycl' into add_inheritance_s…
elizabethandrews ed4d2f5
Merge remote-tracking branch 'rajiv_fork/akp2' into add_inheritance_s…
elizabethandrews 4e1220a
Fix incorrect merge conflict resolution and ClangFormat error
elizabethandrews 5dcf420
ClangFormat changes
elizabethandrews d5f56b3
Fix Windows test failure due to mangling
elizabethandrews 7b81a3e
Merge remote-tracking branch 'intel_llvm/sycl' into add_inheritance_s…
elizabethandrews 91954fd
Removed unused variable and modified comments
elizabethandrews 62ab84d
Fix incorrect merge resolution
elizabethandrews 47d092a
Merge remote-tracking branch 'intel_llvm/sycl' into add_inheritance_s…
elizabethandrews a7ad39c
ClangFormat Change
elizabethandrews 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 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.
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.
I think the best way for us is to re-implement
stream
class in SYCL headers, so it will look like accessor and we don't need to visit it's field in the compiler.@againull , do you think it is possible?