Add Out-of-Core option
Compare changes
Files
10- THIBAULT Samuel authored
Add MORSE_Desc_Create_OOC, which is like MORSE_Desc_Create, but does not actually allocate a matrix, thus letting the runtime allocate on-demand the tiles, possibly pushing them to the disk. Add a --ooc option to tests to enable this.
+ 326
− 94
@@ -38,49 +38,89 @@
@@ -99,9 +139,10 @@ MORSE_desc_t morse_desc_init_user(MORSE_enum dtyp, int mb, int nb, int bsiz,
@@ -130,12 +171,12 @@ MORSE_desc_t morse_desc_init_user(MORSE_enum dtyp, int mb, int nb, int bsiz,
@@ -150,9 +191,31 @@ MORSE_desc_t morse_desc_init_user(MORSE_enum dtyp, int mb, int nb, int bsiz,
@@ -237,7 +300,7 @@ int morse_desc_mat_alloc( MORSE_desc_t *desc )
@@ -255,12 +318,12 @@ int morse_desc_mat_alloc( MORSE_desc_t *desc )
@@ -270,11 +333,12 @@ int morse_desc_mat_free( MORSE_desc_t *desc )
@@ -331,59 +395,71 @@ int morse_desc_mat_free( MORSE_desc_t *desc )
@@ -410,7 +486,7 @@ int MORSE_Desc_Create(MORSE_desc_t **desc, void *mat, MORSE_enum dtyp, int mb, i
@@ -432,53 +508,205 @@ int MORSE_Desc_Create(MORSE_desc_t **desc, void *mat, MORSE_enum dtyp, int mb, i
@@ -516,7 +744,8 @@ int MORSE_Desc_Destroy(MORSE_desc_t **desc)
@@ -535,10 +764,11 @@ int MORSE_Desc_Destroy(MORSE_desc_t **desc)
@@ -558,10 +788,11 @@ int MORSE_Desc_Acquire (MORSE_desc_t *desc) {
@@ -580,17 +811,18 @@ int MORSE_Desc_Release (MORSE_desc_t *desc) {
@@ -607,6 +839,6 @@ int MORSE_Desc_Getoncpu(MORSE_desc_t *desc) {