Hacker News new | ask | show | jobs
by frozenport 3068 days ago
CUDA is C++, and benefits greatly from templates as they let you optimize work per thread. Many years ago I tried to add GPU support to a C code and was surprised to learn the flag that did C compilation didn't work!