Back to PBT run
output.generic.mlir
"builtin.module"() ({
"dataflow.thread"() <{domain = #dataflow.thread_domain<dense>, function_type = (memref<8xi32>) -> (), sym_name = "thread_0", sym_visibility = "private"}> ({
^bb0(%arg4: memref<8xi32>, %arg5: none):
%8 = "arith.constant"() <{value = 7 : i32}> : () -> i32
"dataflow.thread.yield"() : () -> ()
}) : () -> ()
"func.func"() <{function_type = () -> (), sym_name = "host_0"}> ({
%6 = "memref.alloc"() <{operandSegmentSizes = array<i32: 0, 0>}> : () -> memref<8xi32>
%7 = "dataflow.thread.launch"(%6) <{callee = @thread_0, operandSegmentSizes = array<i32: 1, 0, 0>}> : (memref<8xi32>) -> !dataflow.thread_token
"func.return"() : () -> ()
}) : () -> ()
"dataflow.thread"() <{domain = #dataflow.thread_domain<dense>, function_type = (memref<8xi32>) -> (), sym_name = "thread_1", sym_visibility = "private"}> ({
^bb0(%arg2: memref<8xi32>, %arg3: none):
%5 = "arith.constant"() <{value = 7 : i32}> : () -> i32
"dataflow.thread.yield"(%arg3) : (none) -> ()
}) : () -> ()
"func.func"() <{function_type = () -> (), sym_name = "host_1"}> ({
%3 = "memref.alloc"() <{operandSegmentSizes = array<i32: 0, 0>}> : () -> memref<8xi32>
%4 = "dataflow.thread.launch"(%3) <{callee = @thread_1, operandSegmentSizes = array<i32: 1, 0, 0>}> : (memref<8xi32>) -> !dataflow.thread_token
"func.return"() : () -> ()
}) : () -> ()
"dataflow.thread"() <{domain = #dataflow.thread_domain<dense>, function_type = (memref<8xi32>) -> (), sym_name = "thread_2", sym_visibility = "private"}> ({
^bb0(%arg0: memref<8xi32>, %arg1: none):
%2 = "arith.constant"() <{value = 7 : i32}> : () -> i32
"dataflow.thread.yield"() : () -> ()
}) : () -> ()
"func.func"() <{function_type = () -> (), sym_name = "host_2"}> ({
%0 = "memref.alloc"() <{operandSegmentSizes = array<i32: 0, 0>}> : () -> memref<8xi32>
%1 = "dataflow.thread.launch"(%0) <{callee = @thread_2, operandSegmentSizes = array<i32: 1, 0, 0>}> : (memref<8xi32>) -> !dataflow.thread_token
"func.return"() : () -> ()
}) : () -> ()
}) : () -> ()