From cfc009a2961c5558e2b6759bd774dd10ee54b42f Mon Sep 17 00:00:00 2001 From: Shannon Woods <158105547+swoods-nv@users.noreply.github.com> Date: Fri, 18 Jul 2025 11:31:29 -0400 Subject: [PATCH 1/3] Fix code highlighting --- _posts/2025-07-17-ng-wave-intrinsics.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/2025-07-17-ng-wave-intrinsics.md b/_posts/2025-07-17-ng-wave-intrinsics.md index 6dd58ec..6851c55 100644 --- a/_posts/2025-07-17-ng-wave-intrinsics.md +++ b/_posts/2025-07-17-ng-wave-intrinsics.md @@ -19,7 +19,7 @@ As a quick refresher, these examples implement a 2D Gaussian splatting algorithm 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 -``` +```python module.perPixelLoss.call_group_shape(Shape((WORKGROUP_X, WORKGROUP_Y))).bwds(per_pixel_loss, dispatch_ids, blobs, input_image) ``` @@ -46,7 +46,7 @@ The `balloted-splatting` example presents a more sophisticated and often more pe 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. -```slang +```hlsl /* * cullAndApplyBlobs finds blobs which intersect the current tile and evaluates them in a single pass using * wave intrinsics. From cd91a3913ade677572a7112cfc2ee31c2413f4b8 Mon Sep 17 00:00:00 2001 From: Shannon Woods <158105547+swoods-nv@users.noreply.github.com> Date: Fri, 18 Jul 2025 13:52:53 -0400 Subject: [PATCH 2/3] Remove Apr 4 post from "featured" --- _posts/2025-04-04-neural-gfx-in-an-afternoon.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2025-04-04-neural-gfx-in-an-afternoon.md b/_posts/2025-04-04-neural-gfx-in-an-afternoon.md index 1cdad5d..7b48524 100644 --- a/_posts/2025-04-04-neural-gfx-in-an-afternoon.md +++ b/_posts/2025-04-04-neural-gfx-in-an-afternoon.md @@ -2,7 +2,7 @@ layout: post title: "Neural Graphics in an Afternoon" date: 2025-04-04 17:00:00 -categories: [ "blog", "featured" ] +categories: [ "blog" ] tags: [slang] featured: true author: "Shannon Woods, NVIDIA, Slang Working Group Chair" From 647beb392db64b85215edc0cda51b7c83c8a0f25 Mon Sep 17 00:00:00 2001 From: Shannon Woods <158105547+swoods-nv@users.noreply.github.com> Date: Fri, 18 Jul 2025 13:53:21 -0400 Subject: [PATCH 3/3] Add wave intrinsics post to "featured" --- _posts/2025-07-17-ng-wave-intrinsics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2025-07-17-ng-wave-intrinsics.md b/_posts/2025-07-17-ng-wave-intrinsics.md index 6851c55..fa1d033 100644 --- a/_posts/2025-07-17-ng-wave-intrinsics.md +++ b/_posts/2025-07-17-ng-wave-intrinsics.md @@ -2,7 +2,7 @@ layout: post title: "Neural Graphics: Speeding It Up with Wave Intrinsics" date: 2025-07-17 -categories: [ "blog" ] +categories: [ "blog", "featured" ] tags: [slang] author: "Shannon Woods, NVIDIA, Slang Working Group Chair" image: /images/posts/wave-graphic.webp