I look an example in sdk Reduction:
size = 5<<20;
s>>=1
I look an example in sdk Reduction:
size = 5<<20;
s>>=1
So, what’s the question?
“>>'” and “<<” are shifts to the right and to the left respectively.
s>>=1 means s = s >> 1, i.e. s = s / 2
Aaaaa
size=5<<20= 5 * 2^20
right?
and one more:
if( tid % s ==0)