diff --git a/sycl/plugins/unified_runtime/ur/adapters/cuda/kernel.cpp b/sycl/plugins/unified_runtime/ur/adapters/cuda/kernel.cpp index f35d23a85e26f..1d6ae89f9b493 100644 --- a/sycl/plugins/unified_runtime/ur/adapters/cuda/kernel.cpp +++ b/sycl/plugins/unified_runtime/ur/adapters/cuda/kernel.cpp @@ -302,6 +302,8 @@ urKernelSetArgMemObj(ur_kernel_handle_t hKernel, uint32_t argIndex, UR_ASSERT(hKernel, UR_RESULT_ERROR_INVALID_NULL_HANDLE); + std::ignore = Properties; + // Below sets kernel arg when zero-sized buffers are handled. // In such case the corresponding memory is null. if (hArgValue == nullptr) { diff --git a/sycl/plugins/unified_runtime/ur/adapters/level_zero/ur_level_zero_device.cpp b/sycl/plugins/unified_runtime/ur/adapters/level_zero/ur_level_zero_device.cpp index 0be520e2928b6..b86ee6a9e4836 100644 --- a/sycl/plugins/unified_runtime/ur/adapters/level_zero/ur_level_zero_device.cpp +++ b/sycl/plugins/unified_runtime/ur/adapters/level_zero/ur_level_zero_device.cpp @@ -327,14 +327,14 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo( if (Device->isCCS()) { struct { - ur_device_partition_property_t Arr[2]; + ur_device_partition_t Arr[2]; } PartitionProperties = { {UR_DEVICE_PARTITION_BY_CSLICE, ur_device_partition_t(0)}}; return ReturnValue(PartitionProperties); } struct { - ur_device_partition_property_t Arr[3]; + ur_device_partition_t Arr[3]; } PartitionProperties = { {UR_DEVICE_PARTITION_BY_AFFINITY_DOMAIN, (ur_device_partition_t)