Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

About Loop Unrolling

Hi everyone, I am wondering if setting a unroll factor that is not multiple of loop count is OK in Altera OpenCL? For example:# pragma unroll 10 for( int i = 0; i < n; i++){ ... }...