浏览代码

Warn about using --enable-spinlock-check

Samuel Thibault 11 年之前
父节点
当前提交
01294dcc77
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/core/workers.c

+ 3 - 0
src/core/workers.c

@@ -884,6 +884,9 @@ int starpu_initialize(struct starpu_conf *user_conf, int *argc, char ***argv)
 	_STARPU_DISP("Warning: StarPU was configured with --enable-debug (-O0), and is thus not optimized\n");
 #endif
 #endif
+#ifdef STARPU_SPINLOCK_CHECK
+	_STARPU_DISP("Warning: StarPU was configured with --enable-spinlock-check, which slows down a bit\n");
+#endif
 #if 0
 #ifndef STARPU_NO_ASSERT
 	_STARPU_DISP("Warning: StarPU was configured without --enable-fast\n");