ソースを参照

tests/main/multithreaded.c: add error message

Nathalie Furmento 11 年 前
コミット
daaa65f811
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      tests/main/multithreaded.c

+ 1 - 1
tests/main/multithreaded.c

@@ -61,7 +61,7 @@ void *thread_func(void *arg STARPU_ATTRIBUTE_UNUSED)
 		task->callback_arg = NULL;
 
 		ret = starpu_task_submit(task);
-		STARPU_ASSERT(!ret);
+		STARPU_ASSERT_MSG(!ret, "task submission failed with error code %d", ret);
 	}
 
 	ret = starpu_task_wait_for_all();