Skip to content

Commit d9ad3c1

Browse files
committed
[intel] fix windows build after '70e69cb'
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent 3f9701b commit d9ad3c1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

third_party/nvidia/lib/TritonNVIDIAGPUToLLVM/TensorMemoryToLLVM.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,20 @@ struct TMemCopyAtom {
5555
// .shape = { .128x256b, .128x128b, .64x128b, .32x128b }
5656
// .multicast = { .warpx2::02_13 , .warpx2::01_23, .warpx4}
5757
// .shape = .4x256b NYI
58-
constexpr TMemCopyAtom TMemCopyAtomNone128{
59-
.nRow = 128, .bCol = 128, .multicast = 0};
58+
constexpr TMemCopyAtom TMemCopyAtomNone128{128 /*nRow*/, 128 /*bCol*/,
59+
0 /*multicast*/};
6060

61-
constexpr TMemCopyAtom TMemCopyAtomNone256{
62-
.nRow = 128, .bCol = 256, .multicast = 0};
61+
constexpr TMemCopyAtom TMemCopyAtomNone256{128 /*nRow*/, 256 /*bCol*/,
62+
0 /*multicast*/};
6363

64-
constexpr TMemCopyAtom TMemCopyAtomWarp02_13{
65-
.nRow = 64, .bCol = 128, .multicast = 1};
64+
constexpr TMemCopyAtom TMemCopyAtomWarp02_13{64 /*nRow*/, 128 /*bCol*/,
65+
1 /*multicast*/};
6666

67-
constexpr TMemCopyAtom TMemCopyAtomWarp01_23{
68-
.nRow = 64, .bCol = 128, .multicast = 2};
67+
constexpr TMemCopyAtom TMemCopyAtomWarp01_23{64 /*nRow*/, 128 /*bCol*/,
68+
2 /*multicast*/};
6969

70-
constexpr TMemCopyAtom TMemCopyAtomWarp4{
71-
.nRow = 32, .bCol = 128, .multicast = 3};
70+
constexpr TMemCopyAtom TMemCopyAtomWarp4{32 /*nRow*/, 128 /*bCol*/,
71+
3 /*multicast*/};
7272

7373
TMemCopyAtom getTMemCopyAtom(const LinearLayout &cvt, int bitwidth) {
7474
auto *ctx = cvt.getInDimNames().begin()->getContext();

0 commit comments

Comments
 (0)