소스 검색

examples/basic_examples/vector_scal_cpu.c: get the comment right. task->buffers being deprecated, mention instead task->handles

Nathalie Furmento 13 년 전
부모
커밋
102cfdda1d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      examples/basic_examples/vector_scal_cpu.c

+ 2 - 2
examples/basic_examples/vector_scal_cpu.c

@@ -30,8 +30,8 @@ void scal_cpu_func(void *buffers[], void *cl_arg)
 	float *factor = (float *) cl_arg;
 
 	/*
-	 * The "buffers" array matches the task->buffers array: for instance
-	 * task->buffers[0].handle is a handle that corresponds to a data with
+	 * The "buffers" array matches the task->handles array: for instance
+	 * task->handles[0] is a handle that corresponds to a data with
 	 * vector "interface", so that the first entry of the array in the
 	 * codelet  is a pointer to a structure describing such a vector (ie.
 	 * struct starpu_vector_interface *). Here, we therefore manipulate