Back to PBT run
input.mlir
dataflow.graph private @sb_strand(
%start: none, %idx: index, %val: i32, %exp: i32, %des: i32,
%a: memref<16xi32>, %b: memref<16xi32>) -> ()
attributes {input_segments = array<i32: 4, 0, 2>,
result_segments = array<i32: 0, 0, 0>} {
%d0 = dataflow.fence %start {contract = #dataflow.fence_contract<ordering = seq_cst, sync_scope = <system>>, sb_index = 0 : i64}
%r1, %d1 = dataflow.atomic_rmw %a[%idx] %val %start {contract = #dataflow.rmw_contract<kind = add, access = <ordering = monotonic, sync_scope = <system>, source_alignment_bytes = 4>>, sb_index = 1 : i64} : memref<16xi32>
dataflow.graph.return %start : none
}