Quellcode durchsuchen

mpi/matrix_mult: add task name

Philippe SWARTVAGHER vor 4 Jahren
Ursprung
Commit
013246f33a
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      mpi/examples/matrix_mult/mm.c

+ 2 - 1
mpi/examples/matrix_mult/mm.c

@@ -289,7 +289,8 @@ static struct starpu_codelet gemm_cl =
 {
 	.cpu_funcs = {cpu_mult}, /* cpu implementation(s) of the routine */
 	.nbuffers = 3, /* number of data handles referenced by this routine */
-	.modes = {STARPU_R, STARPU_R, STARPU_RW} /* access modes for each data handle */
+	.modes = {STARPU_R, STARPU_R, STARPU_RW}, /* access modes for each data handle */
+	.name = "gemm" /* to display task name in traces */
 };
 
 int main(int argc, char *argv[])