2 ms·
> I'm still noodling on what that ideal program could be, outside of the obvious graphics processing. Well machine learning does its computations on GPUs much
by gumballindie 3y ago
> I'm still noodling on what that ideal program could be, outside of the obvious graphics processing.
Well machine learning does its computations on GPUs much like shaders. It's basically the same thing with a different function in the kernel:
https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html https://docs.nvidia.com/cuda/cuda-c-programming-guide/index....
"CUDA C++ extends C++ by allowing the programmer to define C++ functions, called kernels, that, when called, are executed N times in parallel by N different CUDA threads, as opposed to only once like regular C++ functions."