Skip to content

Commit

Permalink
Revert "Code refactoring (nod-ai#1817)"
Browse files Browse the repository at this point in the history
This reverts commit c61b6f8.
  • Loading branch information
gpetters94 committed Sep 11, 2023
1 parent eebc27f commit 4ce0bba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion shark/iree_utils/vulkan_target_env_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ def get_version(triple):
@functools.cache
def get_extensions(triple):
def make_ext_list(ext_list):
return ", ".join(ext_list)
res = ""
for e in ext_list:
res += e + ", "
res = f"[{res[:-2]}]"
return res

arch, product, os = triple
if arch == "m1":
Expand Down

0 comments on commit 4ce0bba

Please sign in to comment.