Skip to content

Commit

Permalink
[L0] Enable Counter Based Events by default for immediate command lists
Browse files Browse the repository at this point in the history
- Remove the PVC limitation for enabling counter based events.

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
  • Loading branch information
nrspruit committed Jul 25, 2024
1 parent 3d8fe8d commit 3d7c787
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/adapters/level_zero/queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1180,9 +1180,7 @@ ur_queue_handle_legacy_t_::ur_queue_handle_legacy_t_(
static const bool useDriverCounterBasedEvents = [Device] {
const char *UrRet = std::getenv("UR_L0_USE_DRIVER_COUNTER_BASED_EVENTS");
if (!UrRet) {
if (Device->isPVC())
return true;
return false;
return true;
}
return std::atoi(UrRet) != 0;
}();
Expand Down

0 comments on commit 3d7c787

Please sign in to comment.