Skip to content

Commit

Permalink
[L0] Added queue abstract class
Browse files Browse the repository at this point in the history
Signed-off-by: Winston Zhang <winston.zhang@intel.com>
  • Loading branch information
winstonzhang-intel committed Oct 9, 2024
1 parent a06bcb7 commit f562d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/adapters/level_zero/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ void ur_context_handle_t_::addEventToContextCache(ur_event_handle_t Event) {

if (Event->CounterBasedEventsEnabled) {
bool UsingImmediateCommandlists =
!Event->UrQueue || Event->UrQueue->UsingImmCmdLists;
!Legacy(Event->UrQueue) || Legacy(Event->UrQueue)->UsingImmCmdLists;
auto Cache = getCounterBasedEventCache(Event->isProfilingEnabled(),
UsingImmediateCommandlists, Device);
Cache->emplace_back(Event);
Expand Down

0 comments on commit f562d81

Please sign in to comment.