Is there any "pragma unroll" to control the loops as CUDA does?
Can I use the mod op for this?
void myFunc ( const int n )
for ( i=0; i<n%16; ++i ) // %16 because "n" should never be greater than 16
You should not be facing any issue with this.
Retrieving data ...