Просмотр исходного кода

examples/basic_examples/hello_world.c: give a name to the codelet

Nathalie Furmento лет назад: 12
Родитель
Сommit
6a15c87804
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      examples/basic_examples/hello_world.c

+ 1 - 0
examples/basic_examples/hello_world.c

@@ -87,6 +87,7 @@ int main(int argc, char **argv)
 	/* the codelet does not manipulate any data that is managed
 	 * by our DSM */
 	cl.nbuffers = 0;
+	cl.name="hello";
 
 	/* the task uses codelet "cl" */
 	task->cl = &cl;