Feature/issue94
- The API of Lapack_to_Tile/Tile_to_Lapack family function is modified to integrate the uplo parameter (This is done to enable the following points)
- A new option
mtxfmt
is introduced to change the allocation of the matrix.- 0: The matrices are allocated as a single big allocation
- 1: The matrices are allocated tile by tile (Only with StarPU)
- 2: The matrices are out-of-core (Only with StarPU)
- Fix issue #96 (closed) by adding an example at the end of the usage function
- Fix an issue with the descriptor copy functions that was using the incorrect get_blkldd/get_blkaddr functions.
Merge request reports
Activity
changed milestone to %Chameleon 1.1.0
added 4 commits
- b880bc8a - Add uplo to lapack_to_tile/tile_to_lapack interfaces
- bd2908f1 - Add an mtxfmt parameter to switch between the different allocation mode (Fix issue #94 (closed))
- 0109bc89 - Fix issue fix copy of descriptors
- 88def370 - Add an example at the end of usage (Fix issue #96 (closed))
Toggle commit listadded 6 commits
-
88def370...f7fee936 - 2 commits from branch
solverstack:master
- 9e0cee51 - Add uplo to lapack_to_tile/tile_to_lapack interfaces
- 700a5549 - Add an mtxfmt parameter to switch between the different allocation mode (Fix issue #94 (closed))
- f7500546 - Fix issue fix copy of descriptors
- 925f241f - Add an example at the end of usage (Fix issue #96 (closed))
Toggle commit list-
88def370...f7fee936 - 2 commits from branch
added 4 commits
- c6b9ffcb - Add uplo to lapack_to_tile/tile_to_lapack interfaces
- bd827470 - Add an mtxfmt parameter to switch between the different allocation mode (Fix issue #94 (closed))
- abbb472a - Fix issue fix copy of descriptors
- 5d094c80 - Add an example at the end of usage (Fix issue #96 (closed))
Toggle commit listadded 9 commits
-
5d094c80...65971522 - 5 commits from branch
solverstack:master
- 3b738357 - Add uplo to lapack_to_tile/tile_to_lapack interfaces
- 5ad7983a - Add an mtxfmt parameter to switch between the different allocation mode (Fix issue #94 (closed))
- dc7064ed - Fix issue fix copy of descriptors
- a7baee49 - Add an example at the end of usage (Fix issue #96 (closed))
Toggle commit list-
5d094c80...65971522 - 5 commits from branch
#define CHAMELEON_Lapack_to_Tile( Af77, LDA, A ) CHAMELEON_Lap2Desc( ChamUpperLower, Af77, LDA, A ) #define CHAMELEON_Tile_to_Lapack( A, Af77, LDA ) CHAMELEON_Desc2Lap( ChamUpperLower, A, Af77, LDA ) int CHAMELEON_Lap2Desc( cham_uplo_t uplo, void *Af77, int LDA, CHAM_desc_t *A ); int CHAMELEON_Desc2Lap( cham_uplo_t uplo, CHAM_desc_t *A, void *Af77, int LDA );
Here is a suggestion.
Edited by Mathieu FavergeNaming : add '_ext' or '_adv' or '_2' or '_new' to the existing name. Or change it completely, like
CHAMELEON_zArray_to_ChamDesc
. Regarding the fact of respecting the standard rules for versioning, it depends if you have users, and if you want to keep them ! As a user, I think it's better to respect it.Or the deprecated version:
int CHAMELEON_Lapack_to_Tile( void *Af77, int LDA, CHAM_desc_t *A ) __attribute__((deprecated)); int CHAMELEON_Tile_to_Lapack( CHAM_desc_t *A, void *Af77, int LDA ) __attribute__((deprecated)); int CHAMELEON_Lapack_to_Tile( void *Af77, int LDA, CHAM_desc_t *A ) { return CHAMELEON_Lap2Desc( ChamUpperLower, Af77, LDA, A ); } int CHAMELEON_Tile_to_Lapack( CHAM_desc_t *A, void *Af77, int LDA ) { return CHAMELEON_Desc2Lap( ChamUpperLower, A, Af77, LDA ); }
To be sure people switch to the new one. This solution may be better.
@gsylvand I agree with you, I prefer to change as less as possible the interface, and as I explained @fpruvost, that's why I was putting on hold the release because I knew some changes would happened. I didn't thought about this one :)
Edited by Mathieu Favergeadded 6 commits
-
a7baee49...305968ef - 2 commits from branch
solverstack:master
- 955620e9 - Make lapack_to_tile/tile_to_lapack interfaces deprecated and add...
- 41f4196d - Add an mtxfmt parameter to switch between the different allocation mode (Fix issue #94 (closed))
- 598b4cd8 - Fix issue fix copy of descriptors
- aca9e4cb - Add an example at the end of usage (Fix issue #96 (closed))
Toggle commit list-
a7baee49...305968ef - 2 commits from branch
added 4 commits
- 44ec1c4f - Make lapack_to_tile/tile_to_lapack interfaces deprecated and add...
- c6191d0f - Add an mtxfmt parameter to switch between the different allocation mode (Fix issue #94 (closed))
- b22d566f - Fix issue fix copy of descriptors
- 4fa31d7e - Add an example at the end of usage (Fix issue #96 (closed))
Toggle commit listadded 1 commit
- 5e1f4ffb - Add an example at the end of usage, and extend help for -o option (Fix issue #96 (closed))
mentioned in commit ad6c800f