图形硬件与GPU体系结构201004修改3说课讲解.pptVIP

  • 2
  • 0
  • 约6.42千字
  • 约 70页
  • 2020-08-07 发布于天津
  • 举报

图形硬件与GPU体系结构201004修改3说课讲解.ppt

传统流计算处理器 不同应用在各个存储器层次上的带宽需求: CUDA流计算模型 CUDA的存储器架构与传统的流处理器存储架构的区别? 在PTX上面的体现? Shared Memory // Loop over all the sub-matrices of A and B // required to compute the block sub-matrix for (int a = aBegin, b = bBegin; a = aEnd; a += aStep, b += bStep) { // Declaration of the shared memory array As used to // store the sub-matrix of A __shared__ float As[BLOCK_SIZE][BLOCK_SIZE]; // Declaration of the shared memory array Bs used to // store the sub-matrix of B __shared__ float Bs[BLOCK_SIZE][BLOCK_SIZE]; /

文档评论(0)

1亿VIP精品文档

相关文档