|
@@ -20,6 +20,10 @@ class ModelverseKernel(object):
|
|
|
|
|
|
# `self.jit` handles most JIT-related functionality.
|
|
|
self.jit = jit.ModelverseJit()
|
|
|
+ if self.allow_compiled:
|
|
|
+ self.jit.compiled_function_lookup = lambda func_name: \
|
|
|
+ getattr(compiled_functions, func_name, None)
|
|
|
+
|
|
|
# To disable the JIT, uncomment the line below:
|
|
|
# self.jit.set_jit_enabled(False)
|
|
|
self.debug_info = "(no debug information found)"
|