←back to thread

309 points lights0123 | 2 comments | | HN request time: 0.611s | source

CUDA is NVIDIA's language for GPU programming, allowing you to mix write CPU and GPU code in C++ in one file. By chaining a few projects that compile CUDA to OpenCL, then Vulkan, then WebGPU, you can experiment with this GPGPU language on any hardware.
1. mlepath ◴[] No.42631044[source]
This is really awesome. Tested it on both Nvidia and Mac GPUs.

Interested to know how debugging in a real application would work since WASM is pretty hard to debug and GPU code is pretty hard to debug. I assume WASM GPU is ... very difficult to debug.

replies(1): >>42632539 #
2. saagarjha ◴[] No.42632539[source]
You can download the intermediate files fwiw