Skip to content

Commit 90ad5b2

Browse files
[SYCL] Fix self-build compilation after PR #9873 (#10018)
1 parent fd636ef commit 90ad5b2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

sycl/plugins/unified_runtime/ur/adapters/cuda/kernel.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,8 @@ urKernelSetArgMemObj(ur_kernel_handle_t hKernel, uint32_t argIndex,
302302

303303
UR_ASSERT(hKernel, UR_RESULT_ERROR_INVALID_NULL_HANDLE);
304304

305+
std::ignore = Properties;
306+
305307
// Below sets kernel arg when zero-sized buffers are handled.
306308
// In such case the corresponding memory is null.
307309
if (hArgValue == nullptr) {

sycl/plugins/unified_runtime/ur/adapters/level_zero/ur_level_zero_device.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,14 +336,14 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(
336336

337337
if (Device->isCCS()) {
338338
struct {
339-
ur_device_partition_property_t Arr[2];
339+
ur_device_partition_t Arr[2];
340340
} PartitionProperties = {
341341
{UR_DEVICE_PARTITION_BY_CSLICE, ur_device_partition_t(0)}};
342342
return ReturnValue(PartitionProperties);
343343
}
344344

345345
struct {
346-
ur_device_partition_property_t Arr[3];
346+
ur_device_partition_t Arr[3];
347347
} PartitionProperties = {
348348
{UR_DEVICE_PARTITION_BY_AFFINITY_DOMAIN,
349349
(ur_device_partition_t)

0 commit comments

Comments
 (0)