소스 검색

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

Nathalie Furmento 14 년 전
부모
커밋
26cf8b8670
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);