November 2015
Intermediate to advanced
206 pages
6h 14m
English
W.-H. Chung*; Y.-H. Lyu†; I-J. Sung‡; Y.-W. Lee§; W.-M. W. Hwu¶ * MulticoreWare Inc., Douliou, Yunlin County, Taiwan, ROC† MulticoreWare Inc., New Taipei, Taiwan, ROC‡ MulticoreWare Inc., Champaign, IL, USA§ National Chiao-Tung University, Hsinchu, Taiwan, ROC¶ University of Illinois at Urbana-Champaign, Urbana, IL, USA
In order to help programs exploit the power of systems compatible with the HSA, compilers and runtimes of high-level programming languages or domain-specific languages should target HSA for portable code generation and runtime management. In this chapter, we use C++ AMP, a parallel programming extension to C++, to show how efficient HSAIL code can be generated from a higher-level programming ...