PFACC: An OpenACC-like programming model for irregular nested parallelism

檔案

本條目沒有附加檔案。

至出版者網站查看(DOI) ›

日期

1970-01-01

類型

期刊名稱

SOFTWARE-PRACTICE & EXPERIENCE

ISSN

0038-0644

語言

英文

摘要

OpenACC is a directive-based programming model which allows programmers to write graphic processing unit (GPU) programs by simply annotating parallel loops. However, OpenACC has poor support for irregular nested parallel loops, which are natural choices to express nested parallelism. We propose PFACC, a programming model similar to OpenACC. PFACC directives can be used to annotate parallel loops and to guide data movement between different levels of memory hierarchy. Parallel loops can be arbitrarily nested or be placed inside functions that would be (possibly recursively) called in other parallel loops. The PFACC translator translates C programs with PFACC directives into CUDA programs by inserting runtime iteration-sharing and memory allocation routines. The PFACC runtime iteration-sharing routine is a two-level mechanism. Thread blocks dynamically organize loop iterations intobatchesand execute the batches in a depth-first order. Different thread blocks share iterations among one another with an iteration-stealing mechanism. PFACC generates CUDA programs with reasonable memory usage because of the depth-first execution order. The two-level iteration-sharing mechanism is implemented purely in software and fits well with the CUDA thread hierarchy. Experiments show that PFACC outperforms CUDA dynamic parallelism in terms of performance and code size on most benchmarks.

所屬典藏

期刊論文
顯示完整詮釋資料 統計資料

引用此條目

Huang, M. H., & Yang, W. (1970). PFACC: An OpenACC-like programming model for irregular nested parallelism. SOFTWARE-PRACTICE & EXPERIENCE, 0. https://doi.org/10.1002/spe.2868

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://ir.lib.nycu.edu.tw/handle/11536/154851