File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
third_party/intel/backend Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ def get_ops_per_channel(lhs_type, rhs_type):
8282
8383
8484class 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 :
You can’t perform that action at this time.
0 commit comments