Skip to content

Commit 87de16b

Browse files
authored
[SYCL][Graph] Fix post-commit CI after PR #11472 (#12362)
Ignore unused `Size` parameter from `memory_manager::ext_oneapi_fill_cmd_buffer`. This was introduced in PR #11472 and passed as `Req->MMemoryRange` from the command-group requirement but not used for calling the underlying UR function, leading to a `-Wunused-parameter` error. It may be that this is needed to support buffers of dimension greater than 1, which there are currently no graphs tests for. This will be investigated as a follow-up once post-commit CI is unblocked with this PR.
1 parent 8aa2b61 commit 87de16b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/source/detail/memory_manager.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,6 +1692,7 @@ void MemoryManager::ext_oneapi_fill_cmd_buffer(
16921692
unsigned int ElementSize,
16931693
std::vector<sycl::detail::pi::PiExtSyncPoint> Deps,
16941694
sycl::detail::pi::PiExtSyncPoint *OutSyncPoint) {
1695+
(void)Size;
16951696
assert(SYCLMemObj && "The SYCLMemObj is nullptr");
16961697

16971698
const PluginPtr &Plugin = Context->getPlugin();

0 commit comments

Comments
 (0)