Elsevier

Procedia Computer Science

Volume 9, 2012, Pages 1857-1866
Procedia Computer Science

High-Level Manipulation of OpenCL-Based Subvectors and Submatrices

https://doi.org/10.1016/j.procs.2012.04.204Get rights and content
Under a Creative Commons license
open access

Abstract

High-level C++ proxies for the convenient manipulation of subvectors and submatrices on OpenCL-enabled devices are introduced. It is demonstrated that the programming convenience of standard host-based code can be retained using native C++ language features only, even if massively parallel computing architectures such as graphics processing units are employed. The required modifications of the underlying OpenCL kernels are discussed and a case study of an implementation of the QR-factorization is given. Benchmark results confirm that the convenience of purely CPU-based libraries can be preserved without sacrificing performance of OpenCL-enabled devices, particularly graphics processing units.

Keywords

C++
OpenCL
QR factorization
ViennaCL

Cited by (0)