Browse Source

examples/mult/xgemm.c: fix code format

Nathalie Furmento 4 years ago
parent
commit
db61d8294b
1 changed files with 10 additions and 5 deletions
  1. 10 5
      examples/mult/xgemm.c

+ 10 - 5
examples/mult/xgemm.c

@@ -330,11 +330,13 @@ static void parse_args(int argc, char **argv)
 			nslicesx = strtol(argv[++i], &argptr, 10);
 			nslicesy = nslicesx;
 			nslicesz = nslicesx;
-			if (nslicesx == 0) {
+			if (nslicesx == 0)
+			{
 				fprintf(stderr, "the number of blocks in X cannot be 0!\n");
 				exit(EXIT_FAILURE);
 			}
-			if (nslicesy == 0) {
+			if (nslicesy == 0)
+			{
 				fprintf(stderr, "the number of blocks in Y cannot be 0!\n");
 				exit(EXIT_FAILURE);
 			}
@@ -344,7 +346,8 @@ static void parse_args(int argc, char **argv)
 		{
 			char *argptr;
 			nslicesx = strtol(argv[++i], &argptr, 10);
-			if (nslicesx == 0) {
+			if (nslicesx == 0)
+			{
 				fprintf(stderr, "the number of blocks in X cannot be 0!\n");
 				exit(EXIT_FAILURE);
 			}
@@ -354,7 +357,8 @@ static void parse_args(int argc, char **argv)
 		{
 			char *argptr;
 			nslicesy = strtol(argv[++i], &argptr, 10);
-			if (nslicesy == 0) {
+			if (nslicesy == 0)
+			{
 				fprintf(stderr, "the number of blocks in Y cannot be 0!\n");
 				exit(EXIT_FAILURE);
 			}
@@ -364,7 +368,8 @@ static void parse_args(int argc, char **argv)
 		{
 			char *argptr;
 			nslicesz = strtol(argv[++i], &argptr, 10);
-			if (nslicesz == 0) {
+			if (nslicesz == 0)
+			{
 				fprintf(stderr, "the number of blocks in Z cannot be 0!\n");
 				exit(EXIT_FAILURE);
 			}