From 091e33112b260dadb0b305b464a60e64405f8a6b Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Thu, 4 Oct 2018 15:02:53 +0200
Subject: [PATCH] Add doc in org-mode file

---
 compute/map.c                  |  8 ++++----
 doc/orgmode/chapters/using.org | 12 +++++++-----
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/compute/map.c b/compute/map.c
index ac60d4b20..1a2d44bbf 100644
--- a/compute/map.c
+++ b/compute/map.c
@@ -116,15 +116,15 @@ int CHAMELEON_map_Tile_Async( cham_uplo_t           uplo,
 
     chamctxt = chameleon_context_self();
     if (chamctxt == NULL) {
-        chameleon_fatal_error("CHAMELEON_map_Tile", "CHAMELEON not initialized");
+        chameleon_fatal_error("CHAMELEON_map_Tile_Async", "CHAMELEON not initialized");
         return CHAMELEON_ERR_NOT_INITIALIZED;
     }
     if (sequence == NULL) {
-        chameleon_fatal_error("CHAMELEON_map_Tile", "NULL sequence");
+        chameleon_fatal_error("CHAMELEON_map_Tile_Async", "NULL sequence");
         return CHAMELEON_ERR_UNALLOCATED;
     }
     if (request == NULL) {
-        chameleon_fatal_error("CHAMELEON_map_Tile", "NULL request");
+        chameleon_fatal_error("CHAMELEON_map_Tile_Async", "NULL request");
         return CHAMELEON_ERR_UNALLOCATED;
     }
     /* Check sequence status */
@@ -137,7 +137,7 @@ int CHAMELEON_map_Tile_Async( cham_uplo_t           uplo,
 
     /* Check descriptors for correctness */
     if (chameleon_desc_check(A) != CHAMELEON_SUCCESS) {
-        chameleon_error("CHAMELEON_map_Tile", "invalid descriptor");
+        chameleon_error("CHAMELEON_map_Tile_Async", "invalid descriptor");
         return chameleon_request_fail(sequence, request, CHAMELEON_ERR_ILLEGAL_VALUE);
     }
 
diff --git a/doc/orgmode/chapters/using.org b/doc/orgmode/chapters/using.org
index 6ab2d7c49..a65fd0597 100644
--- a/doc/orgmode/chapters/using.org
+++ b/doc/orgmode/chapters/using.org
@@ -857,21 +857,23 @@
        * heevd: eigenvalues/eigenvectors computation with A Hermitian
      * *Extra routines*
        * *Norms*
-         * lange: computes norm of a matrix (Max, One, Inf, Frobenius)
+         * lange: compute norm of a matrix (Max, One, Inf, Frobenius)
          * lanhe: lange with A Hermitian
          * lansy: lange with A symmetric
          * lantr: lange with A triangular
        * *Random matrices generation*
-         * plghe: generates a random Hermitian matrix
-         * plgsy: generates a random symmetrix matrix
-         * plrnt: generates a random matrix
+         * plghe: generate a random Hermitian matrix
+         * plgsy: generate a random symmetrix matrix
+         * plrnt: generate a random matrix
        * *Others*
          * geadd: general matrix matrix addition
          * lacpy: copy matrix into another
-         * lascal: scales a matrix
+         * lascal: scale a matrix
          * laset: copy the triangular part of a matrix into another, set a
            value for the diagonal and off-diagonal part
          * tradd: trapezoidal matrices addition
+       * *Map functions*
+         * map: apply a user operator on each tile of the matrix
 
 **** Options routines
      Enable CHAMELEON feature.
-- 
GitLab