Procházet zdrojové kódy

mpi/matrix_mult: add task name

Philippe SWARTVAGHER před 4 roky
rodič
revize
013246f33a
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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[])