浏览代码

examples/matvecmult/matvecmult.c: improve error message

Nathalie Furmento 14 年之前
父节点
当前提交
a24f07b404
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/matvecmult/matvecmult.c

+ 1 - 1
examples/matvecmult/matvecmult.c

@@ -175,7 +175,7 @@ int main(int argc, char **argv)
 
 
         int ret = starpu_task_submit(task);
         int ret = starpu_task_submit(task);
         if (STARPU_UNLIKELY(ret == -ENODEV)) {
         if (STARPU_UNLIKELY(ret == -ENODEV)) {
-                fprintf(stderr, "No worker may execute this task\n");
+                fprintf(stderr, "No worker may execute this task. This application requires an OpenCL worker.\n");
                 exit(0);
                 exit(0);
 	}
 	}