소스 검색

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;