Skip to content

Commit

Permalink
[L0] Disabling Driver In Order Lists by default
Browse files Browse the repository at this point in the history
- Due to L0 Driver issues related to performance using driver in order
  lists, the feature is being disabled for the time being.
- Once issues with the L0 Drivers implementing this feature are
  resolved, then this feature will be re-enabled.

Signed-off-by: Neil R. Spruit <[email protected]>
  • Loading branch information
nrspruit committed Dec 4, 2024
1 parent 3fdf7e3 commit cd8b01c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/adapters/level_zero/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1518,10 +1518,10 @@ bool ur_device_handle_t_::useDriverInOrderLists() {

static const bool UseDriverInOrderLists = [&] {
const char *UrRet = std::getenv("UR_L0_USE_DRIVER_INORDER_LISTS");
bool CompatibleDriver = this->Platform->isDriverVersionNewerOrSimilar(
1, 3, L0_DRIVER_INORDER_MIN_VERSION);
// bool CompatibleDriver = this->Platform->isDriverVersionNewerOrSimilar(
// 1, 3, L0_DRIVER_INORDER_MIN_VERSION);
if (!UrRet)
return CompatibleDriver;
return false;
return std::atoi(UrRet) != 0;
}();

Expand Down

0 comments on commit cd8b01c

Please sign in to comment.