Skip to content

Commit

Permalink
Fix: event index in test_cmdqueue
Browse files Browse the repository at this point in the history
  • Loading branch information
darmroz committed Nov 6, 2024
1 parent b762745 commit 648bdda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions conformance_tests/core/test_cmdqueue/src/test_cmdqueue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,6 @@ TEST(
std::vector<ze_command_list_handle_t> cmdlist_compute_lows;

std::vector<void *> buffer_compute_lows;
uint32_t index = event_desc.index;
for (int i = 0; i < num_low_priority_compute_queues; i++) {
auto cmdqueue_compute_low = lzt::create_command_queue(
device, static_cast<ze_command_queue_flag_t>(0),
Expand All @@ -489,7 +488,7 @@ TEST(
auto buffer_compute_low = lzt::allocate_shared_memory(buff_size_low);
buffer_compute_lows.push_back(buffer_compute_low);

event_desc.index = index++;
event_desc.index = i + 1;
auto event_compute_low = lzt::create_event(ep_time, event_desc);
event_compute_lows.push_back(event_compute_low);
}
Expand Down

0 comments on commit 648bdda

Please sign in to comment.