Просмотр исходного кода

comment about filling the cl modes field

Samuel Thibault лет назад: 11
Родитель
Сommit
f9c0bcf0cd
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/util/starpu_task_insert_utils.c

+ 1 - 0
src/util/starpu_task_insert_utils.c

@@ -284,6 +284,7 @@ void _starpu_task_insert_create(void *arg_buffer, size_t arg_buffer_size, struct
 			{
 #ifdef STARPU_DEVEL
 #  warning shall we print a warning to the user
+/* Magma uses it to avoid having to set it in the codelet structure */
 #endif
 				STARPU_CODELET_SET_MODE(cl, mode, current_buffer);
 			}