Mentions légales du service

Skip to content
Snippets Groups Projects

Factorize a bit the descriptors functions

Merged Mathieu Faverge requested to merge faverge/chameleon:descriptors into master

Try to simplify the descriptors function by factorizing the code.

Now, at user level CHAMELEON_Desc_Create allocates the descriptor and initialize it. At chameleon library level, chameleon_desc_init does all the initialization, but no allocation of the descriptor. If mat is equal to:

  • CHAMELEON_MAT_ALLOC_GLOBAL (NULL), the matrix is allocated as before,
  • CHAMELEON_MAT_ALLOC_TILE, (-1) the matrix will be allocated by tile. Not supported yet, but will come with next PR
  • CHAMELEON_MAT_OOC (-2), the matrix is declared as out-of-core and may overpass the memory of the system.
Edited by Mathieu Faverge

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading