提交 f5b24c1a authored 作者: Frederic Bastien's avatar Frederic Bastien

Make CLinker call prepare_node

上级 d84aeb51
...@@ -1582,6 +1582,9 @@ class CLinker(link.Linker): ...@@ -1582,6 +1582,9 @@ class CLinker(link.Linker):
# If we can't get a key, then forget the cache mechanism. # If we can't get a key, then forget the cache mechanism.
module = self.compile_cmodule() module = self.compile_cmodule()
else: else:
# Set compute_map as None as clinker do not support lazy evaluation
for node in self.node_order:
node.op.prepare_node(node, storage_map, None)
module = get_module_cache().module_from_key( module = get_module_cache().module_from_key(
key=key, lnk=self, keep_lock=keep_lock) key=key, lnk=self, keep_lock=keep_lock)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论