3 ms·
> I don't like the analogy, as the single-threaded job could be enormous. Anything that isn't an embarrassingly parallel workload is a bad match for a GPU. Use
by jacquesm 6y ago
> I don't like the analogy, as the single-threaded job could be enormous.
Anything that isn't an embarrassingly parallel workload is a bad match for a GPU. Use tools appropriately.
- MaxBarraclough 6y agoThat's a necessary condition, but not a sufficient one, for GPU-friendliness. An embarrassingly parallel workload on 64 bit integers, without wavefront flow-control coherence, and with highly chaotic memory-access patterns, might not fare well on GPU.
- jacquesm 6y agoThis is what makes GPU programming hard. Finding ways to shoehorn a sizeable fraction of a problem into a pattern that matches GPU capabilities is quite a bit of work. Very small code improvements can have a huge effect on throughput, and very small mistakes can just as fast tank your performance. Great care is required and a lot of knowledge of how the data access patterns translate into hits on the memory. I actually like that kind of cycle squeezing, much more than I like web development or other 'high level' plumbing.
- rbanffy 6y ago> I actually like that kind of cycle squeezing, much more than I like web development or other 'high level' plumbing. Fun problems are always the rarest.