Publication Details
Fast Linear Algebra on GPU
GPU; parallel reduction; linear algebra; BLAS; OpenCL; CUDA
GPUs have been successfully used for acceleration of many mathematical functions and libraries. A common limitation of those libraries is the minimal size of primitives being handled, in order to achieve a significant speedup compared to their CPU versions. The minimal size requirement can prove prohibitive for many applications. It can be loosened by batching operations in order to have sufficient amount of data to perform the calculation maximally efficiently on the GPU. A fast OpenCL implementation of two basic vector functions - vector reduction and vector scaling - is described in this paper. Its performance is analyzed by running benchmarks on two of the most common GPUs in use - Tesla and Fermi GPUs from NVIDIA. Reported experimental results show that our implementation significantly outperforms the current state-of-the-art GPU-based basic linear algebra library CUBLAS.
@INPROCEEDINGS{FITPUB10039, author = "Luk\'{a}\v{s} Polok and Pavel Smr\v{z}", title = "Fast Linear Algebra on GPU", pages = 6, booktitle = "IEEE conference proceedings", year = 2012, location = "Liverpool, GB", publisher = "IEEE Computer Society", ISBN = "978-0-7695-4749-7", language = "english", url = "https://www.fit.vut.cz/research/publication/10039" }