interplane.Get Omega
Read in your language

aien-train

AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished.

Brought by drakestapleton

branch main Branches Tags History

aien-train / streams / own-fp4 / asm / sp_nvf4.sass

282 lines · 12906 bytes Raw Blame History
1 .target sm_121a
2
3 .elftype @"ET_EXEC"
4
5
6//--------------------- .debug_frame --------------------------
7 .section .debug_frame,"",@progbits
8.debug_frame:
9 /*0000*/ .byte 0xff, 0xff, 0xff, 0xff, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff
10 /*0010*/ .byte 0xff, 0xff, 0xff, 0xff, 0x03, 0x00, 0x04, 0x7c, 0xff, 0xff, 0xff, 0xff, 0x0f, 0x0c, 0x81, 0x80
11 /*0020*/ .byte 0x80, 0x28, 0x00, 0x08, 0xff, 0x81, 0x80, 0x28, 0x08, 0x81, 0x80, 0x80, 0x28, 0x00, 0x00, 0x00
12 /*0030*/ .byte 0xff, 0xff, 0xff, 0xff, 0x2c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
13 /*0040*/ .byte 0x00, 0x00, 0x00, 0x00
14 /*0044*/ .dword k
15 /*004c*/ .byte 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x38, 0x00, 0x00, 0x00, 0x04, 0x04, 0x00
16 /*005c*/ .byte 0x00, 0x00, 0x0c, 0x81, 0x80, 0x80, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
17
18
19//--------------------- .note.nv.tkinfo --------------------------
20 .section .note.nv.tkinfo,"",@"SHT_NOTE"
21 .sectionflags @"SHF_NOTE_NV_TKINFO"
22 .tkinfo
23 /*0018*/ .word 0x00000002
24 /*0030*/ .string ""
25 /*0030*/ .string "ptxas"
26 /*0030*/ .string "Cuda compilation tools, release 13.0, V13.0.88"
27 /*0030*/ .string "Build cuda_13.0.r13.0/compiler.36424714_0"
28 /*0030*/ .string "-arch sm_121a "
29
30
31
32//--------------------- .note.nv.cuinfo --------------------------
33 .section .note.nv.cuinfo,"",@"SHT_NOTE"
34 .sectionflags @"SHF_NOTE_NV_CUINFO"
35 /*0018*/ .short 0x0002
36 /*001a*/ .short 0x0079
37 /*001c*/ .short 0x0082
38 .zero 2
39
40
41//--------------------- .nv.info --------------------------
42 .section .nv.info,"",@"SHT_CUDA_INFO"
43 .align 4
44
45
46 //----- nvinfo : EIATTR_REGCOUNT
47 .align 4
48 /*0000*/ .byte 0x04, 0x2f
49 /*0002*/ .short (.L_1 - .L_0)
50 .align 4
51.L_0:
52 /*0004*/ .word index@(k)
53 /*0008*/ .word 0x00000016
54
55
56 //----- nvinfo : EIATTR_FRAME_SIZE
57 .align 4
58.L_1:
59 /*000c*/ .byte 0x04, 0x11
60 /*000e*/ .short (.L_3 - .L_2)
61 .align 4
62.L_2:
63 /*0010*/ .word index@(k)
64 /*0014*/ .word 0x00000000
65
66
67 //----- nvinfo : EIATTR_MIN_STACK_SIZE
68 .align 4
69.L_3:
70 /*0018*/ .byte 0x04, 0x12
71 /*001a*/ .short (.L_5 - .L_4)
72 .align 4
73.L_4:
74 /*001c*/ .word index@(k)
75 /*0020*/ .word 0x00000000
76.L_5:
77
78
79//--------------------- .nv.compat --------------------------
80 .section .nv.compat,"",@"SHT_CUDA_COMPAT_INFO"
81 .align 4
82 /*0000*/ .byte 0x02, 0x09, 0x01, 0x00, 0x02, 0x02, 0x03, 0x00, 0x02, 0x05, 0x05, 0x00, 0x03, 0x07, 0x01, 0x01
83 /*0010*/ .byte 0x02, 0x03, 0x00, 0x00, 0x02, 0x06, 0x01, 0x00, 0x04, 0x0b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00
84 /*0020*/ .byte 0x00, 0x00, 0x00, 0x00
85
86
87//--------------------- .nv.info.k --------------------------
88 .section .nv.info.k,"",@"SHT_CUDA_INFO"
89 .sectionflags @""
90 .align 4
91
92
93 //----- nvinfo : EIATTR_CUDA_API_VERSION
94 .align 4
95 /*0000*/ .byte 0x04, 0x37
96 /*0002*/ .short (.L_7 - .L_6)
97.L_6:
98 /*0004*/ .word 0x00000082
99
100
101 //----- nvinfo : EIATTR_KPARAM_INFO
102 .align 4
103.L_7:
104 /*0008*/ .byte 0x04, 0x17
105 /*000a*/ .short (.L_9 - .L_8)
106.L_8:
107 /*000c*/ .word 0x00000000
108 /*0010*/ .short 0x0000
109 /*0012*/ .short 0x0000
110 /*0014*/ .byte 0x00, 0xf0, 0x21, 0x00
111
112
113 //----- nvinfo : EIATTR_SPARSE_MMA_MASK
114 .align 4
115.L_9:
116 /*0018*/ .byte 0x03, 0x50
117 /*001a*/ .short 0x0080
118
119
120 //----- nvinfo : EIATTR_MAXREG_COUNT
121 .align 4
122 /*001c*/ .byte 0x03, 0x1b
123 /*001e*/ .short 0x00ff
124
125
126 //----- nvinfo : EIATTR_MERCURY_ISA_VERSION
127 .align 4
128 /*0020*/ .byte 0x03, 0x5f
129 /*0022*/ .short 0x0101
130
131
132 //----- nvinfo : EIATTR_VRC_CTA_INIT_COUNT
133 .align 4
134 /*0024*/ .byte 0x02, 0x4a
135 .zero 1
136 .zero 1
137
138
139 //----- nvinfo : EIATTR_EXIT_INSTR_OFFSETS
140 .align 4
141 /*0028*/ .byte 0x04, 0x1c
142 /*002a*/ .short (.L_11 - .L_10)
143
144
145 // ....[0]....
146.L_10:
147 /*002c*/ .word 0x000000e0
148
149
150 //----- nvinfo : EIATTR_CBANK_PARAM_SIZE
151 .align 4
152.L_11:
153 /*0030*/ .byte 0x03, 0x19
154 /*0032*/ .short 0x0008
155
156
157 //----- nvinfo : EIATTR_PARAM_CBANK
158 .align 4
159 /*0034*/ .byte 0x04, 0x0a
160 /*0036*/ .short (.L_13 - .L_12)
161 .align 4
162.L_12:
163 /*0038*/ .word index@(.nv.constant0.k)
164 /*003c*/ .short 0x0380
165 /*003e*/ .short 0x0008
166
167
168 //----- nvinfo : EIATTR_SW_WAR
169 .align 4
170.L_13:
171 /*0040*/ .byte 0x04, 0x36
172 /*0042*/ .short (.L_15 - .L_14)
173.L_14:
174 /*0044*/ .word 0x00000000
175.L_15:
176
177
178//--------------------- .nv.callgraph --------------------------
179 .section .nv.callgraph,"",@"SHT_CUDA_CALLGRAPH"
180 .align 4
181 .sectionentsize 8
182 .align 4
183 /*0000*/ .word 0x00000000
184 .align 4
185 /*0004*/ .word 0xffffffff
186 .align 4
187 /*0008*/ .word 0x00000000
188 .align 4
189 /*000c*/ .word 0xfffffffe
190 .align 4
191 /*0010*/ .word 0x00000000
192 .align 4
193 /*0014*/ .word 0xfffffffd
194 .align 4
195 /*0018*/ .word 0x00000000
196 .align 4
197 /*001c*/ .word 0xfffffffc
198
199
200//--------------------- .text.k --------------------------
201 .section .text.k,"ax",@progbits
202 .align 128
203 .global k
204 .type k,@function
205 .size k,(.L_x_1 - k)
206 .other k,@"STO_CUDA_ENTRY STV_DEFAULT"
207k:
208.text.k:
209 /*0000*/ LDC R1, c[0x0][0x37c] ; /* 0x0000df00ff017b82 */
210 /* 0x000fe20000000800 */
211 /*0010*/ LDCU.64 UR4, c[0x0][0x358] ; /* 0x00006b00ff0477ac */
212 /* 0x000e2e0008000a00 */
213 /*0020*/ LDC.64 R2, c[0x0][0x380] ; /* 0x0000e000ff027b82 */
214 /* 0x000e240000000a00 */
215 /*0030*/ LDG.E.64 R16, desc[UR4][R2.64+0x30] ; /* 0x0000300402107981 */
216 /* 0x001ea8000c1e1b00 */
217 /*0040*/ LDG.E.64 R8, desc[UR4][R2.64+0x10] ; /* 0x0000100402087981 */
218 /* 0x000ee8000c1e1b00 */
219 /*0050*/ LDG.E.128 R4, desc[UR4][R2.64] ; /* 0x0000000402047981 */
220 /* 0x000f28000c1e1d00 */
221 /*0060*/ LDG.E.128 R12, desc[UR4][R2.64+0x20] ; /* 0x00002004020c7981 */
222 /* 0x000f22000c1e1d00 */
223 /*0070*/ MOV R18, R16.reuse ; /* 0x0000001000127202 */
224 /* 0x084fe20000000f00 */
225 /*0080*/ MOV R19, R16 ; /* 0x0000001000137202 */
226 /* 0x000fe20000000f00 */
227 /*0090*/ MOV R10, R8 ; /* 0x00000008000a7202 */
228 /* 0x008fe20000000f00 */
229 /*00a0*/ MOV R11, R9 ; /* 0x00000009000b7202 */
230 /* 0x000fce0000000f00 */
231 /*00b0*/ OMMA.SF.SP.168128.F32.E2M1.E2M1.UE4M3.4X R4, R4, R8, R12, R18, R17, URZ, 0x0 ; /* 0x711012080404747f */
232 /* 0x010fde0000053e0c */
233 /*00c0*/ NOP ; /* 0x0000000000007918 */
234 /* 0x000fda0000000000 */
235 /*00d0*/ STG.E.128 desc[UR4][R2.64], R4 ; /* 0x0000000402007986 */
236 /* 0x000fe2000c101d04 */
237 /*00e0*/ EXIT ; /* 0x000000000000794d */
238 /* 0x000fea0003800000 */
239.L_x_0:
240 /*00f0*/ BRA `(.L_x_0); /* 0xfffffffc00fc7947 */
241 /* 0x000fc0000383ffff */
242 /*0100*/ NOP; /* 0x0000000000007918 */
243 /* 0x000fc00000000000 */
244 /*0110*/ NOP; /* 0x0000000000007918 */
245 /* 0x000fc00000000000 */
246 /*0120*/ NOP; /* 0x0000000000007918 */
247 /* 0x000fc00000000000 */
248 /*0130*/ NOP; /* 0x0000000000007918 */
249 /* 0x000fc00000000000 */
250 /*0140*/ NOP; /* 0x0000000000007918 */
251 /* 0x000fc00000000000 */
252 /*0150*/ NOP; /* 0x0000000000007918 */
253 /* 0x000fc00000000000 */
254 /*0160*/ NOP; /* 0x0000000000007918 */
255 /* 0x000fc00000000000 */
256 /*0170*/ NOP; /* 0x0000000000007918 */
257 /* 0x000fc00000000000 */
258.L_x_1:
259
260
261//--------------------- .nv.shared.reserved.0 --------------------------
262 .section .nv.shared.reserved.0,"aw",@nobits
263 .weak __nv_reservedSMEM_offset_0_alias
264 .size __nv_reservedSMEM_offset_0_alias, 0, 64
265 .other __nv_reservedSMEM_offset_0_alias,@"STO_CUDA_RESERVED_SHARED STV_DEFAULT"
266__nv_reservedSMEM_offset_0_alias:
267 .zero 0
268 .zero 64
269
270
271//--------------------- .nv.constant0.k --------------------------
272 .section .nv.constant0.k,"a",@progbits
273 .sectionflags @""
274 .align 4
275.nv.constant0.k:
276 .zero 904
277
278
279//--------------------- SYMBOLS --------------------------
280
281 .type .nv.reservedSmem.offset0,@object
282 .size .nv.reservedSmem.offset0,0x4