Skip to content

Commit 25cc354

Browse files
authored
[SYCL] [L0] Fix for unreferenced parameters. (#10476)
This adds references to unused function parameters to avoid build errors.
1 parent ad35628 commit 25cc354

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sycl/plugins/opencl/pi_opencl.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2042,10 +2042,15 @@ pi_result piextUSMGetMemAllocInfo(pi_context context, const void *ptr,
20422042
}
20432043

20442044
pi_result piextUSMImport(const void *ptr, size_t size, pi_context context) {
2045+
std::ignore = ptr;
2046+
std::ignore = size;
2047+
std::ignore = context;
20452048
return PI_SUCCESS;
20462049
}
20472050

20482051
pi_result piextUSMRelease(const void *ptr, pi_context context) {
2052+
std::ignore = ptr;
2053+
std::ignore = context;
20492054
return PI_SUCCESS;
20502055
}
20512056

0 commit comments

Comments
 (0)