Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can using kernel parameters cause bank conflicts? [closed]

The kernel parameters are stored in on-chip shared memory. Shared memory can have bank conflicts if threads try to access the same bank. So my question is: does that mean that using kernel parameters threads will cause bank conflicts?

like image 876
Netuimeni Avatar asked Oct 11 '12 12:10

Netuimeni


1 Answers

No, because accesses will always be uniform: All threads of the (on compute capability 1.x half-) warp will read the same parameter at the same time, which is broadcast to all threads in a single transmission.

For completeness, I'll mention that only compute capability 1.x devices store parameters in shared memory. Higher compute capability devices store them in constant memory, where the same uniformity reasoning applies.

like image 145
tera Avatar answered Oct 05 '22 03:10

tera