Skip to content

Commit f52d0c5

Browse files
use darker to format python code.
1 parent 891c30d commit f52d0c5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,10 @@ def create_descriptor(self, device_ptr):
145145
)
146146
box_static_dim = [MLIR_DYNAMIC] * len(self.tma_box_shape)
147147
self.tma_descriptor = nvgpu.TmaCreateDescriptorOp(
148-
tma_descriptor_ty, device_unranked_memref, map(const, self.tma_box_shape), box_static_dim
148+
tma_descriptor_ty,
149+
device_unranked_memref,
150+
map(const, self.tma_box_shape),
151+
box_static_dim,
149152
)
150153
return self.tma_descriptor.result
151154

mlir/test/Integration/GPU/CUDA/sm90/python/tools/matmulBuilder.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ def tma_descriptor_op(self, device_ptr):
6666
)
6767
box_static_dim = [MLIR_DYNAMIC] * len(self.tma_box_shape)
6868
tma_descriptor_op = nvgpu.TmaCreateDescriptorOp(
69-
tma_descriptor_ty, device_unranked_memref, map(c, self.tma_box_shape), box_static_dim
69+
tma_descriptor_ty,
70+
device_unranked_memref,
71+
map(c, self.tma_box_shape),
72+
box_static_dim,
7073
)
7174
return tma_descriptor_op.result
7275

0 commit comments

Comments
 (0)