按年被提到
20102015 · 1 次2026
编程语言与编译器›编译器与运行时优化·arXiv:1005.2581 · cs.PF

A Performance Comparison of CUDA and OpenCL

Kamran Karimi, Neil G. Dickson, Firas Hamze · 2010
开始阅读 ↗PDFalphaXiv 讨论
被提及 · 2 人首次 2015-08-13 · 最近 2016-04-05
2不同的人
2活跃月份
2讨论串
170被引(OpenAlex)
arXiv 摘要(候选层不写导读)

CUDA and OpenCL are two different frameworks for GPU programming. OpenCL is an open standard that can be used to program CPUs, GPUs, and other devices from different vendors, while CUDA is specific to NVIDIA GPUs. Although OpenCL promises a portable language for GPU programming, its generality may entail a performance penalty. In this paper, we use complex, near-identical kernels from a Quantum Monte Carlo application to compare the performance of CUDA and OpenCL. We show that when using NVIDIA compiler tools, converting a CUDA kernel to an OpenCL kernel involves minimal modifications. Making such a kernel compile with ATI's build tools involves more modifications. Our performance tests measure and compare data transfer times to and from the GPU, kernel execution times, and end-to-end application execution times for both CUDA and OpenCL.

候选层:至少 2 个不同的人、在 2 个不同月份提到过,还没到主书架的 3 人 3 个月。没有做立场标注,所以只写“被提及”。

HN 书评

推荐在前,同类按时间 · 每篇最多保留 20 条,统计用全部提及
评论agibsonccc · 2015-08

“Need to run empirical benchmarks. CUDA is usually faster. I'd like to run my own benchmarks with nd4j though. We have our own benchmark setup that works for every backend. It allows us to do some interesting things. Cuda itself is usually faster with data transfer latency though[1]. Looking forward to running these ourselves after our opencl support kick…”

Deep Learning Courses原评论 ↗
评论Robadob · 2016-04

“I haven't seen any recent benchmarks, but ones from 2011 all seemed to show CUDA and OpenCL on open footing in terms of performance when optimised properly.[1][2] CUDA simply had better library support, and a more well defined and uniform architecture to target. Whereas OpenCL is likely to require more programming to fill in the gaps for library support, …”

The Nvidia DGX-1 Deep Learning Supercomputer in a Box原评论 ↗