Skip to content

Commit 3e91e9d

Browse files
authored
[SYCL][NFC] Remove unused lambda capture (#11269)
1 parent d3fad16 commit 3e91e9d

File tree

1 file changed

+1
-1
lines changed
  • sycl/plugins/unified_runtime/ur/adapters/cuda

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urQueueFinish(ur_queue_handle_t hQueue) {
204204
ScopedContext active(hQueue->getContext());
205205

206206
hQueue->syncStreams</*ResetUsed=*/true>(
207-
[&Result](CUstream s) { UR_CHECK_ERROR(cuStreamSynchronize(s)); });
207+
[](CUstream s) { UR_CHECK_ERROR(cuStreamSynchronize(s)); });
208208

209209
} catch (ur_result_t Err) {
210210

0 commit comments

Comments
 (0)