Browse Source

merge trunk@20971: examples/cpp/add_vectors_cpp11.cpp: fix code, STARPU_TEST_SKIPPED is not defined for examples

Nathalie Furmento 8 years ago
parent
commit
c4622f6763
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/cpp/add_vectors_cpp11.cpp

+ 2 - 2
examples/cpp/add_vectors_cpp11.cpp

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2009, 2010-2011, 2013-2015  Université de Bordeaux
- * Copyright (C) 2010, 2011, 2012, 2013, 2014, 2016  CNRS
+ * Copyright (C) 2010, 2011, 2012, 2013, 2014, 2016, 2017  CNRS
  * Copyright (C) 2012 INRIA
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -33,7 +33,7 @@
 #if !defined(STARPU_HAVE_CXX11) || defined(STARPU_USE_NUMA)
 int main(int argc, char **argv)
 {
-	return STARPU_TEST_SKIPPED;
+	return 77;
 }
 #else
 void cpu_kernel_add_vectors(void *buffers[], void *cl_arg)