const int shared
)
{
- int colsA = shared;
- int rowsB = shared;
- int rowsR = rowsA;
- int colsR = colsB;
- int row = get_global_id(0);
- int col = get_global_id(1);
+ const int colsA = shared;
+ const int rowsB = shared;
+ const int rowsR = rowsA;
+ const int colsR = colsB;
+ const int row = get_global_id(0);
+ const int col = get_global_id(1);
float sum = 0;
for (int i = 0; i < colsR; i++)