You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fccbb2d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: clean/dx12/build_dx12.py
+22-10Lines changed: 22 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,10 @@
13
13
the tag. co is the file name of the HIP code object whose build of the kernel this port reproduces ("swin.co",
14
14
"post_w64__orig.co"): the device runs the port only while the runtime has exactly that code object loaded (untagged, or
15
15
under the name's tag), so a different build variant of the same kernel name keeps running on HIP. co=- marks a
16
-
D3D12-only kernel with no HIP counterpart (the device self-test's kernels): it always runs on D3D12. args lists the HIP kernel's arguments in order: p = pointer (a uint byte offset into the arena; 0 = null),
16
+
D3D12-only kernel with no HIP counterpart (the device self-test's kernels): it always runs on D3D12. One name may have
17
+
ports of several builds of its HIP kernel (for example w64/post_tf_f32_p12_diet_vsit of post_w64__orig.co and of
18
+
post_w64.co): one manifest entry per (name, co), and the device runs the one whose code object is loaded. Every port but
19
+
the first of a name sets file=<stem> (its DXIL is <stem>.dxil; default <tag>__<kernel>). args lists the HIP kernel's arguments in order: p = pointer (a uint byte offset into the arena; 0 = null),
17
20
u = any 32-bit scalar, b<N> = a struct of N bytes passed by value (N / 4 uint constants).
18
21
19
22
Arithmetic mode ("exact", README.md): DXC compiles with IEEE strictness (-Gis: no fast-math flags, so no contraction, no
0 commit comments