浏览代码

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

Nathalie Furmento 12 年之前
父节点
当前提交
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;