Explorar el Código

src/util/starpu_insert_task_utils.c: todo reminder

Nathalie Furmento hace 13 años
padre
commit
aa6900ce49
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/util/starpu_insert_task_utils.c

+ 3 - 0
src/util/starpu_insert_task_utils.c

@@ -187,6 +187,9 @@ int _starpu_insert_task_create_and_submit(char *arg_buffer, struct starpu_codele
 			if (cl->modes[current_buffer])
 				STARPU_ASSERT(cl->modes[current_buffer] == mode);
 			else
+#ifdef STARPU_DEVEL
+#  warning shall we print a warning to the user
+#endif
 				cl->modes[current_buffer] = mode;
 
 			current_buffer++;