Skip to content

Commit 09551d9

Browse files
authored
[SYCL][NFC] Fix unused parameter warnings in esimd emu plugin (#9011)
Enthralling content, I know Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 225b3ec commit 09551d9

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

sycl/plugins/esimd_emulator/pi_esimd_emulator.cpp

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2020,21 +2020,15 @@ pi_result piextUSMGetMemAllocInfo(pi_context, const void *, pi_mem_alloc_info,
20202020
}
20212021

20222022
/// Host Pipes
2023-
pi_result piextEnqueueReadHostPipe(pi_queue queue, pi_program program,
2024-
const char *pipe_symbol, pi_bool blocking,
2025-
void *ptr, size_t size,
2026-
pi_uint32 num_events_in_waitlist,
2027-
const pi_event *events_waitlist,
2028-
pi_event *event) {
2023+
pi_result piextEnqueueReadHostPipe(pi_queue, pi_program, const char *, pi_bool,
2024+
void *, size_t, pi_uint32, const pi_event *,
2025+
pi_event *) {
20292026
DIE_NO_IMPLEMENTATION;
20302027
}
20312028

2032-
pi_result piextEnqueueWriteHostPipe(pi_queue queue, pi_program program,
2033-
const char *pipe_symbol, pi_bool blocking,
2034-
void *ptr, size_t size,
2035-
pi_uint32 num_events_in_waitlist,
2036-
const pi_event *events_waitlist,
2037-
pi_event *event) {
2029+
pi_result piextEnqueueWriteHostPipe(pi_queue, pi_program, const char *, pi_bool,
2030+
void *, size_t, pi_uint32, const pi_event *,
2031+
pi_event *) {
20382032
DIE_NO_IMPLEMENTATION;
20392033
}
20402034

@@ -2104,8 +2098,7 @@ pi_result piTearDown(void *) {
21042098
return PI_SUCCESS;
21052099
}
21062100

2107-
pi_result piGetDeviceAndHostTimer(pi_device device, uint64_t *deviceTime,
2108-
uint64_t *hostTime) {
2101+
pi_result piGetDeviceAndHostTimer(pi_device, uint64_t *, uint64_t *) {
21092102
PiTrace(
21102103
"Warning : Querying device clock not supported under PI_ESIMD_EMULATOR");
21112104
return PI_SUCCESS;

0 commit comments

Comments
 (0)