Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is there a compiler that can compile CUDA kernels to an executable running on CPU? Even if it is not accelerated and just a simulation, (for example threads run sequentially until the next synchronize, etc.)
I don't think there is any. The best you can do is just copy the kernel and loop it for the block size you are running on CPU.
Required, but never shown