diff --git a/sycl/test-e2e/lit.cfg.py b/sycl/test-e2e/lit.cfg.py index 2ef9ac91ce299..c0e4e66da5d8c 100644 --- a/sycl/test-e2e/lit.cfg.py +++ b/sycl/test-e2e/lit.cfg.py @@ -45,7 +45,6 @@ case "build-only": config.test_mode = "build-only" config.sycl_devices = [] - arch_flag = "" case "full": config.test_mode = "full" config.available_features.add("run-mode") @@ -657,6 +656,8 @@ def open_check_file(file_name): # discovered already. config.sycl_dev_features = {} +# Architecture flag for compiling for AMD HIP devices. Empty otherwise. +arch_flag = "" # Version of the driver for a given device. Empty for non-Intel devices. config.intel_driver_ver = {} for sycl_device in config.sycl_devices: @@ -798,9 +799,6 @@ def open_check_file(file_name): ) elif be == "hip" and config.hip_platform == "NVIDIA": config.available_features.add("hip_nvidia") - arch_flag = "" - else: - arch_flag = "" config.sycl_dev_features[sycl_device] = features.union(config.available_features) if is_intel_driver: