GPU高性能编程CUDA实战-代码

时间:2020-12-21 19:40:34

《GPU高性能编程CUDA实战》是一本非常好的CUDA入门书,其提供的代码对初学者也非常有用。
但是由于该代码编写时间较为久远,且openGL的更新换代,使其使用较为困难。
本人经过整理,将其中的展示部分用openCV代替,并修复了其中部分bug,并提供CMakeLists.txt简化代码编译,现放出代码链接:
https://github.com/Yannnnnnnnnnnn/cuda_by_example

cuda_by_example

The CMake version of cuda_by_example,the origin code comes from:https://developer.nvidia.com/cuda-example
GPU高性能编程CUDA实战-代码

CUDA by Example, written by two senior members of the CUDA software platform team, shows programmers how to employ this new technology. The authors introduce each area of CUDA development through working examples. After a concise introduction to the CUDA platform and architecture, as well as a quick-start guide to CUDA C, the book details the techniques and trade-offs associated with each key CUDA feature. You’ll discover when to use each CUDA C extension and how to write CUDA software that delivers truly outstanding performance.