pith. sign in

arxiv: 1005.2581 · v3 · pith:J5DBGHMHnew · submitted 2010-05-14 · 💻 cs.PF · cs.DC· physics.comp-ph

A Performance Comparison of CUDA and OpenCL

classification 💻 cs.PF cs.DCphysics.comp-ph
keywords openclcudakernelperformancetimesapplicationcomparedifferent
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. A Unified Optimization Approach for CNN Model Inference on Integrated GPUs

    cs.DC 2019-07 unverdicted novelty 6.0

    A unified IR plus ML-based scheduling for CNN inference on multi-vendor integrated GPUs matches or exceeds vendor libraries (up to 1.62x) on image models while supporting more models.