I try to unroll a double loop using metaprograming and I have the following problem:
error: excessive recursion at instantiation of function "meta<sx, sy>::loop [with sx=-9, sy=-2]
I can’t find any option like -ftemplate-depth-* in cuda manual. Is there any way to do this ?
PS:
I try #pragma unroll but it doesn’t want to unroll my loops :s