File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -333,6 +333,8 @@ def get_extra_env(sycl_devices):
333333 dev_features = test .config .sycl_dev_features [full_dev_name ]
334334 if "level_zero_v2_adapter" in dev_features :
335335 expanded += " env UR_LOADER_USE_LEVEL_ZERO_V2=1"
336+ else :
337+ expanded += " env UR_LOADER_USE_LEVEL_ZERO_V2=0"
336338
337339 expanded += " ONEAPI_DEVICE_SELECTOR={} {}" .format (
338340 parsed_dev_name , test .config .run_launcher
Original file line number Diff line number Diff line change @@ -962,6 +962,8 @@ def get_sycl_ls_verbose(sycl_device, env):
962962
963963 if "v2" in full_name :
964964 env ["UR_LOADER_ENABLE_LEVEL_ZERO_V2" ] = "1"
965+ else :
966+ env ["UR_LOADER_ENABLE_LEVEL_ZERO_V2" ] = "0"
965967
966968 env ["ONEAPI_DEVICE_SELECTOR" ] = sycl_device
967969 if sycl_device .startswith ("cuda:" ):
You can’t perform that action at this time.
0 commit comments