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

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
主站蜘蛛池模板: 固安县| 博罗县| 阳曲县| 乐清市| 珲春市| 巴马| 余庆县| 尉氏县| 三门峡市| 绩溪县| 淳化县| 利川市| 土默特右旗| 伊川县| 阳原县| 哈密市| 松滋市| 莫力| 济阳县| 天祝| 凉山| 濮阳县| 日土县| 仪征市| 义马市| 清水县| 黎城县| 泰和县| 沁阳市| 肃南| 正宁县| 台中市| 柳林县| 徐汇区| 龙门县| 上栗县| 井陉县| 凤凰县| 平舆县| 大余县| 云和县|