|
|
|
|
|
by 6keZbCECT2uB
1099 days ago
|
|
It is a pretty different way of programming, and that's part of what makes it so fun. Within constraints, you get a really interactive way to design algorithms which are much more parallel than what is feasible to write for a CPU. Debugging is so much better these days with some support for debuggers and printf (at least on CUDA). Maybe the same facilities aren't available for WebGPU? Conditions and loops are largely fine as long as you avoid warp divergence and such. |
|