Skip to content

Commit

Permalink
[Sycl][Graph] Fix command-buffer binary update implementation (intel#…
Browse files Browse the repository at this point in the history
…15569)

Bumps the UR tag and change the command-buffer update to pass nullptr to
hNewKernel.

Corresponding UR PR:
oneapi-src/unified-runtime#2152

---------

Co-authored-by: Aaron Greig <[email protected]>
Co-authored-by: Ewan Crawford <[email protected]>
  • Loading branch information
3 people authored and YixingZhang007 committed Oct 30, 2024
1 parent d416570 commit 177a337
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions sycl/cmake/modules/UnifiedRuntimeTag.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# commit dbd168cbed2d2590b47904728cd5762f1c2f4c6b (HEAD, origin/main, origin/HEAD)
# Merge: 694c1b9a 27ad3f7d
# Author: Piotr Balcer <piotr.balcer@intel.com>
# Date: Mon Oct 28 16:29:45 2024 +0100
# Merge pull request #2242 from nrspruit/sysman_env_disable
# [L0] Enable Sysman Thru Env by default and have zesInit be optional
set(UNIFIED_RUNTIME_TAG dbd168cbed2d2590b47904728cd5762f1c2f4c6b)
# commit a9c7aef861988d4b8421f3e760e63f4e3da9398d (HEAD, origin/main, origin/HEAD)
# Merge: dbd168c 3142142
# Author: aarongreig <aaron.greig@codeplay.com>
# Date: Mon Oct 28 15:56:46 2024 +0000
# Merge pull request #2152 from Bensuo/fabio/binary_update_fix
# Fix command-buffer binary update implementation
set(UNIFIED_RUNTIME_TAG a9c7aef861988d4b8421f3e760e63f4e3da9398d)
2 changes: 1 addition & 1 deletion sycl/source/detail/graph_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ void exec_graph_impl::updateImpl(std::shared_ptr<node_impl> Node) {
}
}

UpdateDesc.hNewKernel = UrKernel;
UpdateDesc.hNewKernel = nullptr;
UpdateDesc.numNewMemObjArgs = MemobjDescs.size();
UpdateDesc.pNewMemObjArgList = MemobjDescs.data();
UpdateDesc.numNewPointerArgs = PtrDescs.size();
Expand Down

0 comments on commit 177a337

Please sign in to comment.