ソースを参照

Avoid nowhere in NUMA case, the test is bogus there

Samuel Thibault 8 年 前
コミット
55a33a1255
共有1 個のファイルを変更した8 個の追加0 個の削除を含む
  1. 8 0
      tests/datawizard/nowhere.c

+ 8 - 0
tests/datawizard/nowhere.c

@@ -25,6 +25,13 @@
  * Try the NOWHERE flag
  */
 
+#ifdef STARPU_USE_NUMA
+int main(int argc, char **argv)
+{
+	/* FIXME: assumes only one RAM node */
+	return STARPU_TEST_SKIPPED;
+}
+#else
 static int x, y;
 
 static void prod(void *descr[], void *_args STARPU_ATTRIBUTE_UNUSED)
@@ -131,3 +138,4 @@ enodev:
 	starpu_shutdown();
 	return STARPU_TEST_SKIPPED;
 }
+#endif