Skip to content

Commit 49b7e6a

Browse files
committed
format
1 parent a915cce commit 49b7e6a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

mlir/test/Examples/NVGPU/tools/nvdsl.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ def arrive(self, txcount: int = 0, predicate=None):
8484
self.mbar_group_op, txcount_op, self.id_op, predicate=predicate
8585
)
8686
else:
87-
nvgpu.mbarrier_arrive(self.mbar_group_op, self.id_op
88-
)
87+
nvgpu.mbarrier_arrive(self.mbar_group_op, self.id_op)
8988

9089
def try_wait(self, phase: bool = False, ticks: int = 10000000):
9190
ticks_op = const(ticks)
@@ -143,7 +142,9 @@ def create_descriptor(self, device_ptr):
143142
device_ptr,
144143
)
145144
self.tma_descriptor = nvgpu.TmaCreateDescriptorOp(
146-
tma_descriptor_ty, device_unranked_memref, list(map(const, self.tma_box_shape))
145+
tma_descriptor_ty,
146+
device_unranked_memref,
147+
list(map(const, self.tma_box_shape)),
147148
)
148149
return self.tma_descriptor.result
149150

0 commit comments

Comments
 (0)