跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 分布式、并行与集群计算

arXiv:1503.06532 (cs)
[提交于 2015年3月23日]

标题:The Feasibility of Using OpenCL Instead of OpenMP for Parallel CPU Programming

作者:Kamran Karimi
查看论文《The Feasibility of Using OpenCL Instead of OpenMP for Parallel CPU Programming》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:OpenCL, along with CUDA, is one of the main tools used to program GPGPUs. However, it allows running the same code on multi-core CPUs too, making it a rival for the long-established OpenMP. In this paper we compare OpenCL and OpenMP when developing and running compute-heavy code on a CPU. Both ease of programming and performance aspects are considered. Since, unlike a GPU, no memory copy operation is involved, our comparisons measure the code generation quality, as well as thread management efficiency of OpenCL and OpenMP. We evaluate the performance of these development tools under two conditions: a large number of short-running compute-heavy parallel code executions, when more thread management is performed, and a small number of long-running parallel code executions, when less thread management is required. The results show that OpenCL and OpenMP each win in one of the two conditions. We argue that while using OpenMP requires less setup, OpenCL can be a viable substitute for OpenMP from a performance point of view, especially when a high number of thread invocations is required. We also provide a number of potential pitfalls to watch for when moving from OpenMP to OpenCL.
评论: 8 pages, 4 figures, 2 tables
主题: 分布式、并行与集群计算 (cs.DC); 性能 (cs.PF)
引用方式: arXiv:1503.06532 [cs.DC]
  (或者 arXiv:1503.06532v1 [cs.DC] 对于此版本)
  https://doi.org/10.48550/arXiv.1503.06532

提交历史

来自:Kamran Karimi
[v1] 2015年3月23日 星期一 05:15:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DC
< 上一篇   |   下一篇 >
最新 | 近期 | 2015-03
切换浏览方式为:
cs
cs.PF

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站