Get the latest tech news

GPU profiling for WebGPU workloads on Windows with Chrome


Fast Forward If you’ve read the article already and/or want to jump straight to profiling, go to the TL;DR section. Context WebGPU is not a native graphics API, as in no hardware vendor provides specific drivers for their GPUs targeting this API. Instead, WebGPU runtimes like web browsers must implement backends for WebGPU using modern native APIs such as DirectX12, Vulkan or Metal. Those APIs are widely used, in particular for video games, and hardware vendors have developed great profiling tools for them.

All you need to do is download a DLL I wrote and put it in the correct location to get both AMD’s Radeon GPU Profiler and Nvidia’s Nsight to work! When the Radeon Developer Panel is open, connected and has the Profiling feature selected, any DirectX12, Vulkan, OpenCL or HIP application that you launch from now on will be automatically detected and attached to. So open Nsight, click the connect button in the top left corner and select GPU Trace Profiler from the Activity tab.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Windows

Windows

Photo of Chrome

Chrome

Photo of GPU

GPU

Related news:

News photo

How to add vertical tabs to Chrome browser (there's a free extension for that)

News photo

Show HN: Faktor – The missing 2FA code autocomplete for Chrome

News photo

Surface Pro 11 and Laptop 7 review: An Apple Silicon moment for Windows