High-Level Manipulation of OpenCL-Based Subvectors and Submatrices
Institute for Analysis and Scientific Computing, TU Wien
Procedia Computer Science, Volume 9, Pages 1857-1866, 2012
@article{rupp2012high,
title={High-Level Manipulation of OpenCL-Based Subvectors and Submatrices},
author={Rupp, K.},
journal={Procedia Computer Science},
volume={9},
pages={1857–1866},
year={2012},
publisher={Elsevier}
}
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.
August 1, 2012 by hgpu