Browse Source

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

Nathalie Furmento 12 years ago
parent
commit
6a15c87804
1 changed files with 1 additions and 0 deletions
  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;