Skip to content

Commit b5d9ad8

Browse files
committed
[intel] add 'add_stages_inspection_hook' after '905b3d1'
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent 725177d commit b5d9ad8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

third_party/intel/backend/compiler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,8 @@ def add_stages(self, stages, options, language):
445445
stages["ttgir"] = lambda src, metadata: self.gluon_to_ttgir(src, metadata, options)
446446
stages["llir"] = lambda src, metadata: self.make_llir(src, metadata, options)
447447
stages["spv"] = lambda src, metadata: self.make_spv(src, metadata, options, self.device_arch)
448+
if knobs.runtime.add_stages_inspection_hook is not None:
449+
knobs.runtime.add_stages_inspection_hook(self, stages, options, language, None)
448450

449451
@functools.lru_cache()
450452
def hash(self):

0 commit comments

Comments
 (0)