What is the role of double buffer in pre-fix sum using CUDA

后端 未结 0 544
遥遥无期
遥遥无期 2021-01-06 07:03

This is the naive pre-fix sum implementation

__global__ void scan(float *g_odata, float *g_idata, int n)
    {
    extern __shared__ float temp[]; // allocate         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题