Click here to Skip to main content
15,886,873 members
Articles / High Performance Computing / Vectorization

Simulating CUDA/OpenCL on CPU, with Auto-vectorization and Speedup against Serial Scalar Code

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
25 Apr 2022GPL335 min read 11.4K   14  
A small tool for writing various algorithms as if they were CUDA/OpenCL kernels
Sometimes, a user does not have drivers for OpenCL, sometimes there is no Nvidia GPU in system. A simple tool called VectorizedKernel works very similar to kernels of OpenCL/CUDA in terms of usage and lets an algorithm written in scalar-like pattern to gain parallel-like performance.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Turkey Turkey
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions