3 ms·
Nice, nice article. One thing I don't agree with: micro-optimizations have their field of existence. In GPU programming (CUDA C on nVidia devices, not to mentio
by biagiop1986 14y ago
Nice, nice article. One thing I don't agree with: micro-optimizations have their field of existence. In GPU programming (CUDA C on nVidia devices, not to mention OpenCL) they're pretty much important! Compilers are so dumb that you get different performance when addressing shared memory with an unsigned long or an unsigned int... I hope this will stop very soon, by the way! :-)
- kristopolous 14y agoIndeed! In the introduction I talked about how there was that one-percenter of programmers who know-better-than-the-rest and can majestically out-smart the compiler every time. I assume that those people know what they are doing and don't need to read this! This was for the rest of us.