Skip to content

Commit c3c1026

Browse files
committed
[L0] remove unused capture from lambda
this generates warning on clang
1 parent d7e0fad commit c3c1026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/adapters/level_zero/queue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ ur_queue_handle_legacy_t_::ur_queue_handle_legacy_t_(
11691169
ZeCommandListBatchComputeConfig.startSize();
11701170
CopyCommandBatch.QueueBatchSize = ZeCommandListBatchCopyConfig.startSize();
11711171

1172-
static const bool useDriverCounterBasedEvents = [Device] {
1172+
static const bool useDriverCounterBasedEvents = [] {
11731173
const char *UrRet = std::getenv("UR_L0_USE_DRIVER_COUNTER_BASED_EVENTS");
11741174
if (!UrRet) {
11751175
return true;

0 commit comments

Comments
 (0)