Heterogeneous Programming Models
摘要
This chapter aims to familiarize readers with the definition of a programming model for heterogeneous hardware, while also diving into the architecture of existing programming models. OpenCL and CUDA are used as drivers to comprehend the fundamentals of the programming models, while also mentioning the similarities and differences that they present. Finally, examples are presented to showcase how OpenCL and CUDA can enable programmers to access heterogeneous hardware (e.g., a GPU) from a software application.