看到一个关于scan的例子 是关于Naive inclusive scan的,具体说明是
//Naive inclusive scan:O(N * log2(N)) operations
//Allocate 2 * 'size' local memory, initializethe first half
//with 'size' zeros avoiding if(pos >=offset) condition evaluation
//and saving instructions
翻译过来也没太弄明白含义,求教给位版主和大虾们
|