We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b18aaee commit d534922Copy full SHA for d534922
unified-runtime/source/adapters/level_zero/v2/command_list_manager.cpp
@@ -162,7 +162,7 @@ wait_list_view ur_command_list_manager::getWaitListView(
162
ur_event_handle_t additionalWaitEvent) {
163
164
uint32_t totalNumWaitEvents =
165
- numWaitEvents + additionalWaitEvent != nullptr ? 1 : 0;
+ numWaitEvents + (additionalWaitEvent != nullptr ? 1 : 0);
166
waitList.resize(totalNumWaitEvents);
167
for (uint32_t i = 0; i < numWaitEvents; i++) {
168
waitList[i] = phWaitEvents[i]->getZeEvent();
0 commit comments