Displaying 2 results from an estimated 2 matches for "a_row".
Did you mean:
n_row
2016 Aug 03
3
Extracting the names of the variables that creates loop-carried dependencies
Hi,
I would like to know if it is possible to extract the source level names
of variables that create loop-carried dependencies.
For example, for the following code:
for (int i = 0; i < A_ROW; i++)
{
for (int j = 1; j < B_COL; j++)
{
a_matrix[i][j] = a_matrix[i][j - 1];
}
}
I get the following AST:
#pragma omp parallel for
for (int c0 = 0; c0 <= 31; c0 += 1)
#pragma minimal dependence distance: 1...
2016 Aug 05
0
Extracting the names of the variables that creates loop-carried dependencies
...gt;
> 2016-08-05 14:25 GMT+02:00 Michael Kruse <llvmdev at meinersbur.de>:
>> Hi Miguel,
>>
>> Polly's DependenceInfo will give you the required information. For
>> your example the result is
>>
>> RAW dependences:
>> [A_ROW, B_COL] -> { Stmt_for_body4[i0, i1] ->
>> Stmt_for_body4[i0, 1 + i1] : 0 <= i0 < A_ROW and 0 <= i1 <= -3 + B_COL
>> }
>> WAR dependences:
>> [A_ROW, B_COL] -> { }
>> WAW dependences:
>> [A_...