We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ocloc
PATH
1 parent fa341e9 commit 0e6d387Copy full SHA for 0e6d387
third_party/intel/backend/compiler.py
@@ -156,7 +156,7 @@ def parse_target(self, tgt_prop) -> dict:
156
dev_prop['has_bfloat16_conversions'] = tgt_prop.get('has_bfloat16_conversions', True)
157
158
device_arch = self.parse_device_arch(tgt_prop.get('architecture', 0))
159
- if device_arch:
+ if device_arch and shutil.which('ocloc'):
160
if device_arch in self.device_props:
161
dev_prop.update(self.device_props[device_arch])
162
return dev_prop
0 commit comments