浏览代码

src/core/topology.c: clarify error message for hwloc_set_cpubind

Nathalie Furmento 13 年之前
父节点
当前提交
84163954ae
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/core/topology.c

+ 2 - 2
src/core/topology.c

@@ -672,8 +672,8 @@ _starpu_bind_thread_on_cpu (
 					 HWLOC_CPUBIND_THREAD);
 					 HWLOC_CPUBIND_THREAD);
 		if (ret)
 		if (ret)
 		{
 		{
-			perror("binding thread");
-			STARPU_ABORT();
+			perror("hwloc_set_cpubind");
+			STARPU_ABORT_MSG("If you are using NetBSD with a version of hwloc older than 1.7, please update");
 		}
 		}
 	}
 	}