Each thread loads and sums multiple elements into shared memory. Tree-based reduction in shared memory. Brent's theorem says each thread should sum.
確定! 回上一頁