I have different blocks of 34 threads each (0…33).
I need to find a formula so that in each of these blocks, the first 33 kernels (0…32) will point to the correspondent
bases[x]
With x from 0 to 32, while the last one, 33, to 66.
I have different blocks of 34 threads each (0…33).
I need to find a formula so that in each of these blocks, the first 33 kernels (0…32) will point to the correspondent
bases[x]
With x from 0 to 32, while the last one, 33, to 66.
BlockSize = 34;
BaseIndex = BlockIndex * (BlockSize-1);