3 ms·
Are you kidding me? Exploiting the native warp-width is a 50-100% performance improvement when appropriate. Not querying the warp-width OTOH is amateur hour c
by varelse 11y ago
Are you kidding me? Exploiting the native warp-width is a 50-100% performance improvement when appropriate. Not querying the warp-width OTOH is amateur hour coding.
- DiabloD3 11y agoThe problem is a lot of CUDA and OpenCL programmers are not programmers at all, but are amateurs with STEM degrees. They think programming is easy because, surely, all you're doing is typing a few words into a text file, how hard could it be? I wish I was telling a joke, I've met a lot of "programmers" from academia that don't care if their code is horrible, or worse yet, returns a wrong answer during edge cases, they just want it to compile error free and produce results. This intersects with the popular HN opinion of "if you're going to publish a scientific paper, you must also publish the exact code that processed your results, too."
- varelse 11y agoIn my experience, the STEM people are eager to learn and I've mentored several. OTOH the people that get my goat are the data scientists who only know single-threaded python code and rely on hadoop for parallel execution who insist on trampling CUDA code with race conditions and tons of within-warp branching and then complain to me that GPUs are not as good as they were told.