[SYCL][Graph] Implement Dynamic Local Accessors#16573
[SYCL][Graph] Implement Dynamic Local Accessors#16573fabiomestre wants to merge 10 commits intointel:syclfrom
Conversation
436771d to
c534114
Compare
c534114 to
19c9ad1
Compare
19c9ad1 to
4567acd
Compare
4567acd to
dfaf96f
Compare
897dbb6 to
c7fba1a
Compare
c0587c9 to
9acfb29
Compare
5a47f11 to
4824925
Compare
2467538 to
d6964ff
Compare
f13c1ec to
5c58995
Compare
| assert(check_value(i, Ref, HostDataAfterUpdate[i], "PtrA After Update")); | ||
| } | ||
|
|
||
| free(PtrA, Queue); |
| command_graph<graph_state::modifiable> Graph, const property_list &PropList) | ||
| : impl(std::make_shared<dynamic_parameter_impl>( | ||
| sycl::detail::getSyclObjImpl(Graph))) { | ||
| checkGraphPropertiesAndThrow(PropList); |
There was a problem hiding this comment.
Is this required for dynamic parameters? This checks for graph properties but any properties passed here should be dynamic_parameter properties (if/when they exist).
| std::shared_ptr<graph_impl> MGraph; | ||
| std::vector<std::byte> MValueStorage; | ||
|
|
||
| std::unordered_map<std::shared_ptr<sycl::detail::handler_impl>, |
There was a problem hiding this comment.
Could use a comment here explaining the purpose of this map.
| _ZN4sycl3_V17handler20memcpyToDeviceGlobalEPKvS3_bmm | ||
| _ZN4sycl3_V17handler20setKernelCacheConfigENS1_23StableKernelCacheConfigE | ||
| _ZN4sycl3_V17handler20setStateSpecConstSetEv | ||
| _ZN4sycl3_V17handler21setKernelWorkGroupMemEm |
There was a problem hiding this comment.
Since this symbol hasn't changed but simply moved in the ordering, I've been advised previously to remove such changes from PRs (or submit them as a separate PR) to aid in reviewing these changes.
| // XFAIL: level_zero | ||
| // XFAIL-TRACKER: OFNAAO-422 |
There was a problem hiding this comment.
Think we can remove this XFAIL from these tests now, see #16798
There was a problem hiding this comment.
I checked out this git branch to test, and confirm we can remove the XFAIL
Implements the dynamic_local_accessor class which adds functionality to update local_accessors in sycl graph nodes. See #16712
UR PR oneapi-src/unified-runtime#2559 is also required for testing to pass