Skip to content

Commit d428532

Browse files
authored
Fix code highlighting on wave intrinsic blog post (#127)
* Fix code highlighting * Remove Apr 4 post from "featured" * Add wave intrinsics post to "featured"
1 parent 8b8f213 commit d428532

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_posts/2025-04-04-neural-gfx-in-an-afternoon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: "Neural Graphics in an Afternoon"
44
date: 2025-04-04 17:00:00
5-
categories: [ "blog", "featured" ]
5+
categories: [ "blog" ]
66
tags: [slang]
77
featured: true
88
author: "Shannon Woods, NVIDIA, Slang Working Group Chair"

_posts/2025-07-17-ng-wave-intrinsics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: "Neural Graphics: Speeding It Up with Wave Intrinsics"
44
date: 2025-07-17
5-
categories: [ "blog" ]
5+
categories: [ "blog", "featured" ]
66
tags: [slang]
77
author: "Shannon Woods, NVIDIA, Slang Working Group Chair"
88
image: /images/posts/wave-graphic.webp
@@ -19,7 +19,7 @@ As a quick refresher, these examples implement a 2D Gaussian splatting algorithm
1919

2020
The Python script (`main.py`) driving this process is nearly identical between the two examples, with one key difference: the `balloted-splatting` example uses SlangPy's ability to set a specific call group shape to explicitly match the wavefront size. For example, when kicking off the backward propagation of our loss calculation, we now call
2121

22-
```
22+
```python
2323
module.perPixelLoss.call_group_shape(Shape((WORKGROUP_X, WORKGROUP_Y))).bwds(per_pixel_loss, dispatch_ids, blobs, input_image)
2424
```
2525

@@ -46,7 +46,7 @@ The `balloted-splatting` example presents a more sophisticated and often more pe
4646

4747
You can see this in action in the new `cullAndApplyBlobs` function, which effectively replaces the `coarseRasterize`, `padBuffer`, `bitonicSort`, and `fineRasterize` sequence from the previous example.
4848

49-
```slang
49+
```hlsl
5050
/*
5151
* cullAndApplyBlobs finds blobs which intersect the current tile and evaluates them in a single pass using
5252
* wave intrinsics.

0 commit comments

Comments
 (0)