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 6cced75
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/tools/build_examples.sh
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ SKIP=(
51
51
"examples/09-heterogeneous/hip/app|same, for the HIP payloads"
52
52
"examples/09-heterogeneous/sycl/app|needs the dpcpp payload (over a gigabyte) and a device its runtime accepts"
53
53
"examples/09-heterogeneous/vulkan/app|built AND RUN by the next step of this job, on the lavapipe payload, which needs no GPU"
54
+
"examples/10-graphics/offscreen|built AND RUN by its own step of this job, on the same lavapipe payload. It renders a real graphics pipeline offscreen and asserts the pixels, which is why it runs there rather than here"
54
55
"examples/09-heterogeneous/cann/app|its device leg needs the Ascend DRIVER, which a runner does not have: the kernel compiles and the object links, and then `libascend_hal.so` is missing -- and only that one, since 2026.9.6.6 models DT_RPATH inheritance. Correct on a machine with no NPU. Its CPU leg does build, and is not built here only because it would make this job resolve a fifth rule package for one example. Covered by the measurements in its README"
Copy file name to clipboardExpand all lines: docs/01-examples.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ examples.
38
38
| 09d |[`…/hip`](../examples/09-heterogeneous/hip/)| The same computation in HIP, reaching an NVIDIA device |`mcpp.rules.hip`, HIP as a header layer over the CUDA runtime, a two-chunk `accel`|
39
39
| 09e |[`…/multi-backend`](../examples/09-heterogeneous/multi-backend/)| Several backends in ONE artifact, chosen at run time — the library shape, not the program shape |`accel` as a set, `cfg(accelerator = "none")` and its negation, a dispatch chain, a module seam over a C island boundary |
40
40
| 09f |[`…/cann`](../examples/09-heterogeneous/cann/)| An Ascend C kernel behind the same seam. **Does not build yet** — its README names the two missing pieces | the `.asc` device extension, `op_kernel`/`op_host` as an island CANN already has, `accelerator = "none"` for the fallback |
41
+
| 10 |[`examples/10-graphics`](../examples/10-graphics/)| Graphics rather than compute: a rendering pipeline whose result is pixels |`mcpp.rules.spirv` for the vertex and fragment stages, offscreen rendering as the assertable form |
42
+
| 10a |[`…/offscreen`](../examples/10-graphics/offscreen/)| A triangle rasterised by Vulkan into a buffer, and the same triangle by a software rasteriser behind the same seam | two shader stages from one glob, a render pass with no window or swapchain, a pixel as the criterion |
0 commit comments