Skip to content

Commit 774810a

Browse files
committed
Fix pre-commit
Signed-off-by: Ettore Tiotto <[email protected]>
1 parent d0fa7da commit 774810a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

python/triton/_internal_testing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ def is_xpu():
105105
target = get_current_target()
106106
return False if target is None else target.backend == "xpu"
107107

108+
108109
def is_xpu_arl_h():
109110
target = get_current_target()
110111
return target is not None and target.backend == 'xpu' and 'arl_h' in target.arch

third_party/intel/backend/driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ def update_device_arch(dev_property):
947947
dirname = os.path.dirname(os.path.realpath(__file__))
948948
parser = compile_module_from_src(src=Path(os.path.join(dirname, "arch_parser.c")).read_text(),
949949
name="arch_utils")
950-
arch_name = parser.parse_device_arch(dev_property["architecture"])
950+
arch = parser.parse_device_arch(dev_property["architecture"])
951951
dev_property["arch"] = arch
952952

953953
update_advanced_features(device, dev_property)

0 commit comments

Comments
 (0)