I have an array declared in my main function:
float A[n][n];
My goal is to pass it to a function with the restrict
keyword:
void func(int n, float restrict A[][n])
I tried the syntax above, but I am not getting the optimization in running time that I am expecting. I have also seen this syntax for 1d arrays:
void func(int n, float A[restrict])