From cb02a0b346b4688aa18dece850a8cd3f552bee81 Mon Sep 17 00:00:00 2001 From: Shucai Xiao Date: Fri, 3 Nov 2023 12:04:02 -0500 Subject: [PATCH] remove unnecessary arch names (#388) --- python/triton/third_party/hip/hip_backend.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/python/triton/third_party/hip/hip_backend.py b/python/triton/third_party/hip/hip_backend.py index f5308e857..00d547e10 100644 --- a/python/triton/third_party/hip/hip_backend.py +++ b/python/triton/third_party/hip/hip_backend.py @@ -289,10 +289,6 @@ def get_amdgpu_arch_fulldetails(): arch_name = arch_name_features[0] arch_features = "" - if (len(arch_name_features) == 3): - arch_features = "+" + re.search('\\w+', arch_name_features[1]).group(0) + ","\ - "-" + re.search('\\w+', arch_name_features[2]).group(0) - # overwrite if provided by user gfx_arch = os.environ.get('MI_GPU_ARCH', arch_name) if gfx_arch is None: