Skip to content

Commit 9324512

Browse files
[SYCL][NFC] Fix unused variable warning in unit-test (#16380)
1 parent 16b06ff commit 9324512

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sycl/unittests/Extensions/EventMode.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@
1212

1313
#include <gtest/gtest.h>
1414

15+
#include <utility>
16+
1517
inline thread_local size_t counter_urEnqueueEventsWaitWithBarrierExt = 0;
1618
inline ur_result_t after_urEnqueueEventsWaitWithBarrierExt(void *pParams) {
1719
auto Params =
1820
*static_cast<ur_enqueue_events_wait_with_barrier_ext_params_t *>(pParams);
21+
std::ignore = Params;
1922

2023
assert(*Params.ppProperties != nullptr);
2124
assert((*Params.ppProperties)->flags &

0 commit comments

Comments
 (0)