Skip to content

Commit

Permalink
Fun with signed integers in parsec matrix wrapper
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Schuchart <[email protected]>
  • Loading branch information
devreal committed Nov 27, 2023
1 parent 0b1325e commit 1f3619a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/potrf/pmw.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ class PaRSECMatrixWrapper {
parsec_data_get_copy(pm->super.super.data_of(&pm->super.super, row, col), 0)));
auto mb = (row < pm->super.mt - 1) ? pm->super.mb : pm->super.m - row * pm->super.mb;
auto nb = (col < pm->super.nt - 1) ? pm->super.nb : pm->super.n - col * pm->super.nb;
return MatrixTile<ValueT>{mb, nb, ptr, pm->super.mb};
std::size_t lda = pm->super.mb;
return MatrixTile<ValueT>{mb, nb, ptr, lda};
}

/** Number of tiled rows **/
Expand Down

0 comments on commit 1f3619a

Please sign in to comment.