From a851f1a5ebd1e21312f685e7014db1108c01a901 Mon Sep 17 00:00:00 2001 From: Ben Tracy Date: Wed, 17 Jan 2024 18:56:51 +0000 Subject: [PATCH] [SYCL][Graph] Fix post-commit unused parameter warning (#12426) Fixes post-commit CI failure seen here https://github.com/intel/llvm/actions/runs/7559355777/job/20582987874 and caused by merging of https://github.com/intel/llvm/pull/11474 --- sycl/plugins/unified_runtime/pi2ur.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sycl/plugins/unified_runtime/pi2ur.hpp b/sycl/plugins/unified_runtime/pi2ur.hpp index 360439b513484..3e0349a29b767 100644 --- a/sycl/plugins/unified_runtime/pi2ur.hpp +++ b/sycl/plugins/unified_runtime/pi2ur.hpp @@ -4636,6 +4636,9 @@ inline pi_result piextCommandBufferAdviseUSM( pi_ext_command_buffer CommandBuffer, const void *Ptr, size_t Length, pi_mem_advice Advice, pi_uint32 NumSyncPointsInWaitList, const pi_ext_sync_point *SyncPointWaitList, pi_ext_sync_point *SyncPoint) { + // TODO: Handle advice correctly + (void)Advice; + ur_exp_command_buffer_handle_t UrCommandBuffer = reinterpret_cast(CommandBuffer);