Skip to content

Commit 0499edd

Browse files
authored
[CLN] Remove device_props from XPUBackend as unused (#5352)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent 8d6528f commit 0499edd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

third_party/intel/backend/compiler.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ def get_ops_per_channel(lhs_type, rhs_type):
8282

8383

8484
class XPUBackend(BaseBackend):
85-
device_props: dict = {}
8685
instrumentation = None
8786

8887
@staticmethod
@@ -121,13 +120,6 @@ def parse_target(self, tgt_prop) -> dict:
121120
dev_prop['has_subgroup_2d_block_io'] = tgt_prop.get('has_subgroup_2d_block_io', False)
122121
dev_prop['has_bfloat16_conversions'] = tgt_prop.get('has_bfloat16_conversions', True)
123122

124-
if not self.device_arch:
125-
return dev_prop
126-
127-
if self.device_arch in self.device_props:
128-
dev_prop.update(self.device_props[self.device_arch])
129-
return dev_prop
130-
131123
return dev_prop
132124

133125
def parse_options(self, opts) -> Any:

0 commit comments

Comments
 (0)