Top "Unroll" questions

Tell gcc to specifically unroll a loop

How can I tell GCC to unroll a particular loop? I have used the CUDA SDK where loops can be …

c gcc pragma unroll
Why does the performance of my #pragma-unrolled loop degrade if the trip count is not constant?

I have following code using loop unrolling: #pragma unroll for (int i=0;i<n;i++) { .... } here if n is …

loops cuda unroll
Unlist a data frame by rows, not columns

A relatively simple question, but the answer seems to have eluded me. Currently, I have a data frame which looks …

r vector dataframe unroll