File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,12 @@ def get_vulkan_triple_flag(extra_args=[]):
48
48
elif all (x in vulkan_device for x in ("RTX" , "3090" )):
49
49
print (f"Found { vulkan_device } Device. Using ampere-rtx3090-linux" )
50
50
return "-iree-vulkan-target-triple=ampere-rtx3090-linux"
51
- elif any (x in vulkan_device for x in ("Radeon" , "RX 5" )):
51
+ elif all (x in vulkan_device for x in ("Radeon" , "RX 5" )):
52
52
print (
53
53
"Found AMD Radeon RX 5000 series device. Using rdna1-5700xt-linux"
54
54
)
55
55
return "-iree-vulkan-target-triple=rdna1-5700xt-linux"
56
- elif all (x in vulkan_device for x in ("Radeon" , "RX 6" )):
56
+ elif any (x in vulkan_device for x in ("Radeon" , "RX 6" )):
57
57
print (
58
58
"Found AMD Radeon RX 6000 series device. Using rdna2-unknown-linux"
59
59
)
You can’t perform that action at this time.
0 commit comments