Skip to content

Commit

Permalink
[metal] Fix Nonetype due to un-materialized runtime (#2389)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachel Gu authored Jun 1, 2021
1 parent 9fdd2f5 commit 47316dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/taichi/aot/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class Module:
def __init__(self, arch):
self._arch = arch
self._kernels = []
impl.get_runtime().materialize()
self._aot_builder = impl.get_runtime().prog.make_aot_module_builder(
arch)

Expand Down

0 comments on commit 47316dc

Please sign in to comment.