Abstract
OpenCL is an open standard for parallel programming of heterogeneous compute devices, such as GPUs, CPUs, DSPs or FPGAs. However, the verbosity of its C host API can hinder application development. In this paper we present cf4ocl, a software library for rapid development of OpenCL programs in pure C. It aims to reduce the verbosity of the OpenCL API, offering straightforward memory management, integrated profiling of events (e.g., kernel execution and data transfers), simple but extensible device selection mechanism and user-friendly error management. We compare two versions of a conceptual application example, one based on cf4ocl, the other developed directly with the OpenCL host API. Results show that the former is simpler to implement and offers more features, at the cost of an effectively negligible computational overhead. Additionally, the tools provided with cf4ocl allowed for a quick analysis on how to optimize the application.
| Original language | English |
|---|---|
| Number of pages | 11 |
| Volume | 1609.01257 |
| Publication status | Published - 2016 |
Publication series
| Name | arXiv.org |
|---|---|
| Publisher | Cornell University |
Fingerprint
Dive into the research topics of 'Reflectivity calculated for a 3D silicon photonic band gap crystal with finite support'. Together they form a unique fingerprint.Research output
- 1 Article
-
Reflectivity calculated for a three-dimensional silicon photonic band gap crystal with finite support
Devashish, D., Hasan, S. B., van der Vegt, J. J. W. & Vos, W. L., 26 Apr 2017, In: Physical review B: Covering condensed matter and materials physics. 95, 15, 155141.Research output: Contribution to journal › Article › Academic › peer-review
Open AccessFile31 Link opens in a new tab Citations (Scopus)273 Downloads (Pure)
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver