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.)

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.