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.
1 parent d51df8d commit 7835c90Copy full SHA for 7835c90
tests/aot/args_test.py
@@ -77,6 +77,22 @@ def compute(a, b):
77
module_str,
78
)
79
80
+ @unittest.expectedFailure
81
+ def testProcToJitScalarArgs(self):
82
+ """Expected to fail, missing jittable support for IrValueScalar."""
83
+
84
+ class BasicModule(CompiledModule):
85
+ def foobar(self, a=AbstractI32, b=AbstractI32):
86
+ return self.compute(a, b)
87
88
+ @jittable
89
+ def compute(a, b):
90
+ return a + b
91
92
+ inst = BasicModule(context=Context())
93
+ module_str = str(CompiledModule.get_mlir_module(inst))
94
+ print(module_str)
95
96
97
if __name__ == "__main__":
98
logging.basicConfig(level=logging.DEBUG)
0 commit comments