Skip to content

Commit 83e36da

Browse files
committed
export TiramisuServer from tiramisu modeule
1 parent c9a0e9a commit 83e36da

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tiralib/tiramisu/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from .tiramisu_iterator_node import IteratorIdentifier, IteratorNode
88
from .tiramisu_program import TiramisuProgram
99
from .tiramisu_tree import TiramisuTree
10+
from .function_server import FunctionServer
1011

1112
__all__ = [
1213
"CompilingService",
@@ -16,4 +17,5 @@
1617
"IteratorNode",
1718
"tiramisu_actions",
1819
"IteratorIdentifier",
20+
"FunctionServer",
1921
]

tiralib/tiramisu/tiramisu_program.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def init_server(
170170
load_isl_ast=False,
171171
load_tree=False,
172172
reuse_server=False,
173-
):
173+
) -> "TiramisuProgram":
174174
# Initiate an instante of the TiramisuProgram class
175175
tiramisu_prog = cls()
176176
tiramisu_prog.cpp_code = cpp_code

0 commit comments

Comments
 (0)