File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
third_party/intel/backend Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff 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+
108109def 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
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments