-
在7_GPU_and_Specialized_Hardware发现同一时刻, 不同线程在向shared memory的同一个索引位置写值,请问这里不会出现竞争问题吗? Window Sum Example:
|
Beta Was this translation helpful? Give feedback.
Answered by
Hzfengsy
Aug 8, 2022
Replies: 1 comment
-
会出现重复计算问题,但是由于不同线程的结果一致所以是安全的。这也是为什么我们需要cooperative fetch的原因 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hbsun2113
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
会出现重复计算问题,但是由于不同线程的结果一致所以是安全的。这也是为什么我们需要cooperative fetch的原因