3 ms·
> Specifically, you need lightweight processes and no-shared-memory architecture. No you don't. I mean, that's one way to do it, but its not the only way and i
by seanmcdirmid 11y ago
> Specifically, you need lightweight processes and no-shared-memory architecture.
No you don't. I mean, that's one way to do it, but its not the only way and is often not an option if you want real performance. CUDA (a language specifically designed for SIMT parallelism) supports shared memory for good reasons; the threads are also not lightweight in that way (though they rely on memory and branch coherence).
- kayamon 11y agoIt can be argued that shared memory should be explicit-when-needed rather than everywhere-by-default though.
- seanmcdirmid 11y agoIt can also be argued the other way, of course. Do you like eating vegetables or ice cream? It's like garbage collection, some people love it because it frees them from worrying about allocating and freeing memory. Others hate it for the same reason.