Back to PBT run

input.mlir

dataflow.thread private @thread_0 domain(#dataflow.thread_domain<dense>)(%buf: memref<8xi32>, %arg0: index) ctrl (%thread_ctrl: none) iv (%coord_0: index) {
  %value = arith.constant 7 : i32
  scf.forall (%lane) in (8) {
    memref.store %value, %buf[%lane] : memref<8xi32>
  }
  dataflow.thread.yield
}
func.func @host_0() {
  %buf = memref.alloc() : memref<8xi32>
  %h0 = arith.constant 2 : index
  %g0 = arith.constant 4 : index
  %token = dataflow.thread.launch @thread_0(%buf, %h0) grid(%g0) : (memref<8xi32>, index) -> !dataflow.thread_token
  return
}