Computer Science – Performance
Scientific paper
2010-05-14
Computer Science
Performance
12 pages, 6 Tables, 5 Figures
Scientific paper
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.
Dickson Neil G.
Hamze Firas
Karimi Kamran
No associations
LandOfFree
A Performance Comparison of CUDA and OpenCL does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.
If you have personal experience with A Performance Comparison of CUDA and OpenCL, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and A Performance Comparison of CUDA and OpenCL will most certainly appreciate the feedback.
Profile ID: LFWR-SCP-O-520271