File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 4545 case "build-only" :
4646 config .test_mode = "build-only"
4747 config .sycl_devices = []
48- arch_flag = ""
4948 case "full" :
5049 config .test_mode = "full"
5150 config .available_features .add ("run-mode" )
@@ -659,6 +658,7 @@ def open_check_file(file_name):
659658
660659# Version of the driver for a given device. Empty for non-Intel devices.
661660config .intel_driver_ver = {}
661+ arch_flag = ""
662662for sycl_device in config .sycl_devices :
663663 env = copy .copy (llvm_config .config .environment )
664664 env ["ONEAPI_DEVICE_SELECTOR" ] = sycl_device
@@ -798,9 +798,6 @@ def open_check_file(file_name):
798798 )
799799 elif be == "hip" and config .hip_platform == "NVIDIA" :
800800 config .available_features .add ("hip_nvidia" )
801- arch_flag = ""
802- else :
803- arch_flag = ""
804801
805802 config .sycl_dev_features [sycl_device ] = features .union (config .available_features )
806803 if is_intel_driver :
You can’t perform that action at this time.
0 commit comments