2 ms·
Why CUDA is faster than OpenCL?
by baybal2 8y ago
Why CUDA is faster than OpenCL?
- roel_v 8y agoMore work put into implementation, better (more optimized) libraries, some additional functionality that lets you do things faster in some circumstances. Cuda doesn't have to care about anything but nvidia gpus, opencl needs to run on anything.
- shmerl 8y agoIt's not faster from what I've heard. It just has more libraries around it.
- sharpneli 8y agoIt used to be on par on nv hardware. Then nvidia just stopped improving their OpenCL backend. Otherwise assuming no fancy features are used they are identical in their programming model.
- TomVDB 8y agoAFAIK the part of identical programming models isn’t the case anymore since Volta, because Volta and Turing have now progression guarantees when you have intra-warp divergence due to the presence of unique program counters for each thread. Before that, intro-warp divergence combined with badly placed synchronization operations could result in hard hangs. I don't think this makes a different in terms of raw low level performance, but it might have an impact in terms of implementation algorithms that require synchronization?