Browse Source

examples/matvecmult/matvecmult.c: mark test as skipped when no opencl worker is available

Nathalie Furmento 13 years ago
parent
commit
26cf8b8670
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/matvecmult/matvecmult.c

+ 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);