6 ms·
GPUs are weird. HLSL and CUDA have C-like syntax, but underneath the syntax these things are very different from C. On GPU almost nothing has an address, ther
by Const-me 4y ago
GPUs are weird.
HLSL and CUDA have C-like syntax, but underneath the syntax these things are very different from C.
On GPU almost nothing has an address, there's no stack, no malloc/free, no files or printf, and every instruction runs on 32+ threads in lockstep.