会议论文详细信息
International Conference on Computer Simulation in Physics and Beyond 2015 | |
Integrating GPGPU computations with CPU coroutines in C++ | |
物理学;计算机科学 | |
Lebedev, Pavel A.^1 | |
Subdepartment of Computer Security, National Research University Higher School of Economics, 34 Tallinskaya Ulitsa, Moscow, Russia^1 | |
关键词: Asynchronous computing; C++ codes; Corner case; Event Processing; GPGPU programming; Optimal performance; Performance costs; | |
Others : https://iopscience.iop.org/article/10.1088/1742-6596/681/1/012048/pdf DOI : 10.1088/1742-6596/681/1/012048 |
|
学科分类:计算机科学(综合) | |
来源: IOP | |
【 摘 要 】
We present results on integration of two major GPGPU APIs with reactor-based event processing model in C++ that utilizes coroutines. With current lack of universally usable GPGPU programming interface that gives optimal performance and debates about the style of implementing asynchronous computing in C++, we present a working implementation that allows a uniform and seamless approach to writing C++ code with continuations that allow processing on CPUs or CUDA/OpenCL accelerators. Performance results are provided that show, if corner cases are avoided, this approach has negligible performance cost on latency.
【 预 览 】
Files | Size | Format | View |
---|---|---|---|
Integrating GPGPU computations with CPU coroutines in C++ | 683KB | download |