Samuel Thibault 14 vuotta sitten
vanhempi
commit
2a11d43847
3 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 1 1
      examples/matvecmult/matvecmult.c
  2. 1 0
      src/core/errorcheck.h
  3. 1 0
      src/core/sched_policy.h

+ 1 - 1
examples/matvecmult/matvecmult.c

@@ -139,7 +139,7 @@ int main(int argc, char **argv)
 	if (STARPU_UNLIKELY(ret == -ENODEV)) {
                 FPRINTF(stderr, "This application requires an OpenCL worker.\n");
 		starpu_shutdown();
-		exit(0);
+		return 77;
 	}
 
         mem_size_matrix = width * height * sizeof(float);

+ 1 - 0
src/core/errorcheck.h

@@ -2,6 +2,7 @@
  *
  * Copyright (C) 2009, 2010  Université de Bordeaux 1
  * Copyright (C) 2010  Centre National de la Recherche Scientifique
+ * Copyright (C) 2011  INRIA
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by

+ 1 - 0
src/core/sched_policy.h

@@ -1,6 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2010  Université de Bordeaux 1
+ * Copyright (C) 2011  INRIA
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by