Refs #130 Prevent reading ipiv array beyond the bound in ?laswp. Use laswp instead of laswp_oncopy in getrf.
This commit is contained in:
@@ -118,7 +118,7 @@ static void inner_basic_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG *ra
|
||||
min_jj = js + min_j - jjs;
|
||||
if (min_jj > GEMM_UNROLL_N) min_jj = GEMM_UNROLL_N;
|
||||
|
||||
if (GEMM_UNROLL_N <= 8) {
|
||||
if (0 && GEMM_UNROLL_N <= 8) {
|
||||
|
||||
LASWP_NCOPY(min_jj, off + 1, off + k,
|
||||
c + (- off + jjs * lda) * COMPSIZE, lda,
|
||||
@@ -245,7 +245,8 @@ static int inner_advanced_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG *
|
||||
min_jj = MIN(n_to, xxx + div_n) - jjs;
|
||||
if (min_jj > GEMM_UNROLL_N) min_jj = GEMM_UNROLL_N;
|
||||
|
||||
if (GEMM_UNROLL_N <= 8) {
|
||||
if (0 && GEMM_UNROLL_N <= 8) {
|
||||
printf("helllo\n");
|
||||
|
||||
LASWP_NCOPY(min_jj, off + 1, off + k,
|
||||
b + (- off + jjs * lda) * COMPSIZE, lda,
|
||||
|
||||
Reference in New Issue
Block a user