diff --git a/compute/ztrmm.c b/compute/ztrmm.c
index 87b19b1ae033d0ba3530d7a079466ef410dbf146..f9dd90ec548211f2b5cd87f076789756f55028d5 100644
--- a/compute/ztrmm.c
+++ b/compute/ztrmm.c
@@ -57,7 +57,8 @@
  *          The order of the matrix A. N >= 0.
  *
  * @param[in] NRHS
- *          The number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0.
+ *          The number of right hand sides, i.e., the number of columns of the matrix B if side = ChamLeft or
+ *          the number of rows of the matrix B if side = ChamRight. NRHS >= 0.
  *
  * @param[in] alpha
  *          alpha specifies the scalar alpha.
@@ -75,7 +76,8 @@
  *
  * @param[in,out] B
  *          On entry, the N-by-NRHS right hand side matrix B.
- *          On exit, if return value = 0, the N-by-NRHS solution matrix X.
+ *          On exit, if return value = 0, the N-by-NRHS solution matrix X if side = ChamLeft
+ *          or the NRHS-by-N matrix X if side = ChamRight.
  *
  * @param[in] LDB
  *          The leading dimension of the array B. LDB >= max(1,N).
diff --git a/compute/ztrsm.c b/compute/ztrsm.c
index 32fa777f8b6ea8ef2d0a8afbd8a78aa0df6a556b..a0989cef662d2f2e7f0ea86fc4e5aac2a13bccb4 100644
--- a/compute/ztrsm.c
+++ b/compute/ztrsm.c
@@ -58,7 +58,8 @@
  *          The order of the matrix A. N >= 0.
  *
  * @param[in] NRHS
- *          The number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0.
+ *          The number of right hand sides, i.e., the number of columns of the matrix B if side = ChamLeft or
+ *          the number of rows of the matrix B if side = ChamRight. NRHS >= 0.
  *
  * @param[in] alpha
  *          alpha specifies the scalar alpha.
@@ -76,7 +77,8 @@
  *
  * @param[in,out] B
  *          On entry, the N-by-NRHS right hand side matrix B.
- *          On exit, if return value = 0, the N-by-NRHS solution matrix X.
+ *          On exit, if return value = 0, the N-by-NRHS solution matrix X if side = ChamLeft
+ *          or the NRHS-by-N matrix X if side = ChamRight.
  *
  * @param[in] LDB
  *          The leading dimension of the array B. LDB >= max(1,N).