浏览代码

Add debugging information when failing to read perfmodel file

Samuel Thibault 5 年之前
父节点
当前提交
b67a907b7f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/perfmodel/perfmodel_history.c

+ 1 - 1
src/core/perfmodel/perfmodel_history.c

@@ -1390,7 +1390,7 @@ void _starpu_load_history_based_model(struct starpu_perfmodel *model, unsigned s
 			}
 			else
 			{
-				_STARPU_DEBUG("Performance model file %s does not exist or is not readable\n", path);
+				_STARPU_DEBUG("Performance model file %s does not exist or is not readable: %s\n", path, strerror(errno));
 			}
 		}