4 ms·
GPUs are data parallel machines. Cilk has support for both task and data parallelism. The task parallel constructs in Cilk wouldn't make much sense on GPUs.
by scott_s 15y ago
GPUs are data parallel machines. Cilk has support for both task and data parallelism. The task parallel constructs in Cilk wouldn't make much sense on GPUs.
- baltcode 15y agoSo data parallel constructs like parallel for loops can work with GPUs? I mean not just in theory but can the current implementations program GPUs?
- scott_s 15y agoCurrent implementations of Cilk, no, not as far as I know. There's also the fact that you need to transfer the data to the GPU. The transfer costs may kill any benefits from parallelism.