Tutorials or books on kernel programming for OpenCL? [closed]

ⅰ亾dé卋堺 提交于 2019-12-10 19:28:59

问题


The question is specific enough I suppose. Just to make it clear:

  • I am not looking for a reference, but a tutorial.
  • I am interested specifically in the kernel programming aspect.

回答1:


There aren't that many books out there so you can't be very picky. There are two that are more like guides and less like a reference:

  • OpenCL in Action
  • Heterogeneous Computing with OpenCL

They both cover more than just kernel programming, like the basics of parallel computing and how graphic cards work, etc. but they do contain lots of example OpenCL kernel code.




回答2:


I'd throw in OpenCl Programming Guide. Approximately one-third of the book is a compilation of nine end-to-end OpenCL 1.1 case studies of various complexity, each including fine grain details like kernel listings.

Although some people have pointed at multiple shortcomings of this text, I personally see a value in going thru some case studies in the book for grasping of this awesome technology.



来源:https://stackoverflow.com/questions/9550486/tutorials-or-books-on-kernel-programming-for-opencl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!