Skip to content

Commit aedbb04

Browse files
rdeodharv-klochkov
andauthored
[SYCL] Fix unreferenced parameters (intel#10482)
This adds references to unused function parameters to avoid build errors. --------- Co-authored-by: Vyacheslav Klochkov <[email protected]>
1 parent ffeecb7 commit aedbb04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sycl/plugins/esimd_emulator/pi_esimd_emulator.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2045,11 +2045,13 @@ pi_result piextUSMGetMemAllocInfo(pi_context, const void *, pi_mem_alloc_info,
20452045
DIE_NO_IMPLEMENTATION;
20462046
}
20472047

2048-
pi_result piextUSMImport(const void *ptr, size_t size, pi_context context) {
2048+
pi_result piextUSMImport(const void *, size_t, pi_context) {
20492049
return PI_SUCCESS;
20502050
}
20512051

20522052
pi_result piextUSMRelease(const void *ptr, pi_context context) {
2053+
(void)ptr;
2054+
(void)context;
20532055
return PI_SUCCESS;
20542056
}
20552057

0 commit comments

Comments
 (0)