@@ -275,7 +275,7 @@ static void initialize_system(float **A, unsigned dim, unsigned pinned)
ret = starpu_init(NULL);
if (ret == -ENODEV)
- return 77;
+ exit(77);
STARPU_CHECK_RETURN_VALUE(ret, "starpu_init");
starpu_helper_cublas_init();
@@ -259,6 +259,8 @@ int main(int argc, char **argv)
FPRINTF(stderr, "BLOCK SIZE = %d\n", size / nblocks);
+ if (ret == -ENODEV)
+ return 77;
/* Disable sequential consistency */
@@ -69,6 +69,8 @@ int main(int argc, char **argv)
};
/* Declare data to StarPU */