We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b666f7b commit 75f90f9Copy full SHA for 75f90f9
sycl/test-e2e/lit.cfg.py
@@ -763,9 +763,8 @@ def open_check_file(file_name):
763
764
if be == "hip" and config.hip_platform == "AMD":
765
if not config.amd_arch:
766
- arch = ""
767
- for a in architecture_feature:
768
- arch = a
+ # Guaranteed to be a single element in the set
+ arch = [x for x in architecture_feature][0]
769
amd_arch_prefix = "arch-amd_gpu_"
770
if amd_arch_prefix not in arch or len(architecture_feature) != 1:
771
lit_config.error(
0 commit comments