官术网_书友最值得收藏!

Parallel Programming using CUDA C

In the last chapter, we saw how easy it is to install CUDA and write a program using it. Though the example was not impressive, it was shown to convince you that it is very easy to get started with CUDA. In this chapter, we will build upon this concept. It teaches you to write advance programs using CUDA for GPUs in detail. It starts with a variable addition program and then incrementally builds towards complex vector manipulation examples in CUDA C. It also covers how the kernel works and how to use device properties in CUDA programs. The chapter discusses how vectors are operated upon in CUDA programs and how CUDA can accelerate vector operations compared to CPU processing. It also discusses terminologies associated with CUDA programming.

The following topics will be covered in this chapter:

  • The concept of the kernel call
  • Creating kernel functions and passing parameters to it in CUDA
  • Configuring kernel parameters and memory allocation for CUDA programs
  • Thread execution in CUDA programs
  • Accessing GPU device properties from CUDA programs
  • Working with vectors in CUDA programs
  • Parallel communication patterns
主站蜘蛛池模板: 临澧县| 平武县| 唐山市| 剑阁县| 区。| 苏尼特左旗| 都江堰市| 岢岚县| 扎鲁特旗| 太白县| 道真| 黄骅市| 精河县| 贵州省| 沙坪坝区| 石泉县| 阳朔县| 全南县| 屏东县| 饶平县| 绥芬河市| 永年县| 会东县| 辽源市| 鞍山市| 包头市| 罗山县| 兴安盟| 西充县| 尚志市| 乐东| 海口市| 镇沅| 恩施市| 永吉县| 宜黄县| 昭通市| 阿城市| 石首市| 中卫市| 新平|