Commit 99d4df2c authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

update workspace size for gemdm

parent e8544739
...@@ -41,7 +41,8 @@ sequential_zhetrf( pastix_data_t *pastix_data, ...@@ -41,7 +41,8 @@ sequential_zhetrf( pastix_data_t *pastix_data,
MALLOC_INTERN( work1, pastix_imax(datacode->gemmmax, datacode->diagmax), MALLOC_INTERN( work1, pastix_imax(datacode->gemmmax, datacode->diagmax),
pastix_complex64_t ); pastix_complex64_t );
MALLOC_INTERN( work2, datacode->gemmmax, pastix_complex64_t ); MALLOC_INTERN( work2, pastix_imax(datacode->gemmmax, datacode->arftmax),
pastix_complex64_t );
cblk = datacode->cblktab; cblk = datacode->cblktab;
for (i=0; i<datacode->cblknbr; i++, cblk++){ for (i=0; i<datacode->cblknbr; i++, cblk++){
......
...@@ -41,7 +41,8 @@ sequential_zsytrf( pastix_data_t *pastix_data, ...@@ -41,7 +41,8 @@ sequential_zsytrf( pastix_data_t *pastix_data,
MALLOC_INTERN( work1, pastix_imax(datacode->gemmmax, datacode->diagmax), MALLOC_INTERN( work1, pastix_imax(datacode->gemmmax, datacode->diagmax),
pastix_complex64_t ); pastix_complex64_t );
MALLOC_INTERN( work2, datacode->gemmmax, pastix_complex64_t ); MALLOC_INTERN( work2, pastix_imax(datacode->gemmmax, datacode->arftmax),
pastix_complex64_t );
cblk = datacode->cblktab; cblk = datacode->cblktab;
for (i=0; i<datacode->cblknbr; i++, cblk++){ for (i=0; i<datacode->cblknbr; i++, cblk++){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment