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

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
主站蜘蛛池模板: 东至县| 涟水县| 新竹市| 会理县| 南涧| 阿勒泰市| 遵义市| 吴川市| 沭阳县| 怀远县| 吉木乃县| 中超| 剑川县| 咸宁市| 营口市| 峡江县| 抚松县| 卓尼县| 三明市| 宁南县| 宁强县| 木兰县| 旬阳县| 临清市| 正安县| 库车县| 五寨县| 淮滨县| 大兴区| 金湖县| 恩施市| 新蔡县| 兰考县| 丹棱县| 陇川县| 盐边县| 昆明市| 巴楚县| 霍州市| 凉山| 陇南市|