You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using fortran interfaces, I am checking Cholesky factorization performance. one thing I noticed when debugging seg fault in test_libflame.x application. The pointer to int (4bytes) is type-casted to f77_int* (int64_t* - 8 bytes) in blis library - This eventually results in crash. For more details:
check the function bl1_sscal(int n, float* alpha, float* x, int incx ) in bl1_scal.c file. Here the blis interface will be called through F77_sscal( &n, alpha, x, &incx). This function in blis library defined as:
void sscal( f77_int* n, float* alpha, float* x, ff7_int* incx) in file bla_scal.c Here f77_int is defined as int64_t. As a result the value of n will be a wrong value. This will result in a crash at times.
Please note BLIS_BLAS2BLIS_INT_TYPE_SIZE = 64.
Am I right here ?
The text was updated successfully, but these errors were encountered:
I am using fortran interfaces, I am checking Cholesky factorization performance. one thing I noticed when debugging seg fault in test_libflame.x application. The pointer to int (4bytes) is type-casted to f77_int* (int64_t* - 8 bytes) in blis library - This eventually results in crash. For more details:
check the function bl1_sscal(int n, float* alpha, float* x, int incx ) in bl1_scal.c file. Here the blis interface will be called through F77_sscal( &n, alpha, x, &incx). This function in blis library defined as:
void sscal( f77_int* n, float* alpha, float* x, ff7_int* incx) in file bla_scal.c Here f77_int is defined as int64_t. As a result the value of n will be a wrong value. This will result in a crash at times.
Please note BLIS_BLAS2BLIS_INT_TYPE_SIZE = 64.
Am I right here ?
The text was updated successfully, but these errors were encountered: