Skip to content

Commit

Permalink
Add comment on workaround for zeCommandListAppendMetricQueryEnd
Browse files Browse the repository at this point in the history
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
  • Loading branch information
nrspruit committed Aug 22, 2024
1 parent e6eec45 commit e76e74b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/templates/ldrddi.cpp.mako
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ namespace loader
}
}
%endif
## Workaround due to incorrect defintion of phWaitEvents in the ze headers which missed the range values.
## To be removed once the headers have been updated in a new spec release.
%if re.match(r"\w+CommandListAppendMetricQueryEnd$", th.make_func_name(n, tags, obj)):
// convert loader handles to driver handles
auto phWaitEventsLocal = new ze_event_handle_t [numWaitEvents];
Expand Down

0 comments on commit e76e74b

Please sign in to comment.