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

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
主站蜘蛛池模板: 阳城县| 旅游| 湘潭县| 德惠市| 秦安县| 肥西县| 子长县| 洛浦县| 永仁县| 万年县| 乌审旗| 甘泉县| 寻乌县| 通州区| 临夏市| 济南市| 喀喇| 革吉县| 闽侯县| 民勤县| 山阴县| 淮安市| 富裕县| 鞍山市| 永川市| 罗定市| 高台县| 尖扎县| 哈尔滨市| 剑川县| 开远市| 邹平县| 湖口县| 娱乐| 射洪县| 南丰县| 寻甸| 台前县| 本溪| 桃江县| 大冶市|