-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL][NFCI][ABI-Break] Move handler members to impl #14460
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
aelovikov-intel
merged 24 commits into
intel:sycl
from
steffenlarsen:steffen/move_handler_elems
Jul 16, 2024
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
98c691c
[SYCL][NFCI][ABI-Break] Move handler members to impl
steffenlarsen 5805367
Fix shallowing integer
steffenlarsen 8878682
Merge remote-tracking branch 'intel/sycl' into steffen/move_handler_e…
steffenlarsen e339faf
Fix failure
steffenlarsen d93ef7b
Move a few more members
steffenlarsen 4fa05e8
Merge remote-tracking branch 'intel/sycl' into steffen/move_handler_e…
steffenlarsen 69abfe6
Fix AddLifetimeSharedPtrStorage arg
steffenlarsen d1ca544
Fix padding
steffenlarsen a2f49a5
Merge remote-tracking branch 'intel/sycl' into steffen/move_handler_e…
steffenlarsen 5f99c91
Pad NDRDescT global size in NumWorkGroups case
steffenlarsen 8fdfcdd
Merge remote-tracking branch 'intel/sycl' into steffen/move_handler_e…
steffenlarsen ad2e20c
Fix build issue
steffenlarsen c389dc0
Fix formatting and missed padding case
steffenlarsen 72f7fb6
Move back to letting NDRDescT govern its padding
steffenlarsen dc76694
Merge remote-tracking branch 'intel/sycl' into steffen/move_handler_e…
steffenlarsen adf52d4
Include interop handle header
steffenlarsen e51e47a
Fix broken include paths
steffenlarsen 9b33cf5
Add back the case for interop_handle host_task
steffenlarsen 1d9e1f5
Add interop handler include on hip and cuda tests
steffenlarsen a0aba15
Remove unnecessary includes
steffenlarsen 628ee06
Merge remote-tracking branch 'intel/sycl' into steffen/move_handler_e…
steffenlarsen abb11cc
Add Windows symbols and change namings to match other members
steffenlarsen 1a4f3a3
Remove unreachable asserts causing Windows warnings
steffenlarsen affd0ba
Merge branch 'sycl' into steffen/move_handler_elems
steffenlarsen 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -673,13 +673,7 @@ template <int Dimensions = 1> class __SYCL_TYPE(group) group { | |
friend class detail::Builder; | ||
group(const range<Dimensions> &G, const range<Dimensions> &L, | ||
const range<Dimensions> GroupRange, const id<Dimensions> &I) | ||
: globalRange(G), localRange(L), groupRange(GroupRange), index(I) { | ||
// Make sure local range divides global without remainder: | ||
__SYCL_ASSERT(((G % L).size() == 0) && | ||
"global range is not multiple of local"); | ||
__SYCL_ASSERT((((G / L) - GroupRange).size() == 0) && | ||
"inconsistent group constructor arguments"); | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For some reason, these changes makes MSVC think that this could potentially cause division by 0. However, this ctor cannot be called on host (since |
||
: globalRange(G), localRange(L), groupRange(GroupRange), index(I) {} | ||
}; | ||
} // namespace _V1 | ||
} // namespace sycl |
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.
Uh oh!
There was an error while loading. Please reload this page.