mirror of
https://github.com/ROCm/ROCm.git
synced 2026-02-21 03:00:39 -05:00
remove unnecessary arch names (#388)
This commit is contained in:
4
python/triton/third_party/hip/hip_backend.py
vendored
4
python/triton/third_party/hip/hip_backend.py
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user