-
Notifications
You must be signed in to change notification settings - Fork 762
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][Graph] Implement dynamic_work_group_memory for SYCL-Graphs #17314
[SYCL][Graph] Implement dynamic_work_group_memory for SYCL-Graphs #17314
Conversation
7fb552a
to
a5e4bbf
Compare
a5e4bbf
to
2a0c7c9
Compare
2a0c7c9
to
f15fae7
Compare
f15fae7
to
521b53e
Compare
521b53e
to
6813258
Compare
3948bfe
to
d2dd3f4
Compare
a3140d1
to
fc2c09a
Compare
fc2c09a
to
3d79d2e
Compare
aee7b34
to
5352503
Compare
5352503
to
f5a2473
Compare
4a59107
to
d1ecec6
Compare
pinging @intel/dpcpp-cfe-reviewers for review |
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.
Are more kinds of work_group_memory coming?
The copy-paste in clang's code is somewhat unfortunate. Any chance the runtime library may not need to know which kind of work_group_memory is that?
Short answer is yes. We're extending sycl-graph specification with dynamic_work_group_memory, dynamic_local_accessor and dynamic_accessor. These are outlined in the spec changes PR: #16712. Similarly to this PR, the plan is for all these new types to follow the similar pattern which wraps around the existing classes to add the update functionality in graphs. Altough actually they would be related to local_accessor and accessor and not work_group_memory. Specifically for work_group_memory, no, there are no more new kinds of it coming. That's true, there has been a bit of a copy-paste in clang's code but AFAIK, this is required if we want to pass |
01ad41d
to
6903f46
Compare
|
I think this still needs a @intel/llvm-reviewers-runtime approval |
That's true, gatekeepers, sorry for the oversight. |
@KseniyaTikhomirova could I get a review on this, please? |
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.
sycl part LGTM
@intel/llvm-gatekeepers this is now ready to merge |
6903f46
to
16f83ba
Compare
Implements dynamic_work_group_memory for SYCL-Graphs: #16712
With this PR we're able to update work_group_memory size on subsequent graph executions. We're also now able to use dynamic_work_group_memory with both lambdas and free function kernels.