Browse Source

Adds missing string.h include

Garrett Wright 4 years ago
parent
commit
bf0d24e561

+ 1 - 0
hpc/openacc/English/C/source_code/lab1/laplace2d.c

@@ -27,6 +27,7 @@
 
 #include <math.h>
 #include <stdlib.h>
+#include <string.h>
 
 #define OFFSET(x, y, m) (((x)*(m)) + (y))
 

+ 1 - 0
hpc/openacc/English/C/source_code/lab1/solutions/laplace2d.kernels.c

@@ -27,6 +27,7 @@
 
 #include <math.h>
 #include <stdlib.h>
+#include <string.h>
 
 #define OFFSET(x, y, m) (((x)*(m)) + (y))
 

+ 1 - 0
hpc/openacc/English/C/source_code/lab1/solutions/laplace2d.parallel.c

@@ -27,6 +27,7 @@
 
 #include <math.h>
 #include <stdlib.h>
+#include <string.h>
 
 #define OFFSET(x, y, m) (((x)*(m)) + (y))
 

+ 1 - 0
hpc/openacc/English/C/source_code/lab2/laplace2d.c

@@ -27,6 +27,7 @@
 
 #include <math.h>
 #include <stdlib.h>
+#include <string.h>
 
 #define OFFSET(x, y, m) (((x)*(m)) + (y))
 

+ 1 - 0
hpc/openacc/English/C/source_code/lab2/solutions/laplace2d.c

@@ -27,6 +27,7 @@
 
 #include <math.h>
 #include <stdlib.h>
+#include <string.h>
 
 #define OFFSET(x, y, m) (((x)*(m)) + (y))
 

+ 1 - 0
hpc/openacc/English/C/source_code/lab3/laplace2d.c

@@ -27,6 +27,7 @@
 
 #include <math.h>
 #include <stdlib.h>
+#include <string.h>
 
 #define OFFSET(x, y, m) (((x)*(m)) + (y))
 

+ 1 - 0
hpc/openacc/English/C/source_code/lab3/solutions/collapse/laplace2d.c

@@ -27,6 +27,7 @@
 
 #include <math.h>
 #include <stdlib.h>
+#include <string.h>
 
 #define OFFSET(x, y, m) (((x)*(m)) + (y))
 

+ 1 - 0
hpc/openacc/English/C/source_code/lab3/solutions/tile/laplace2d.c

@@ -27,6 +27,7 @@
 
 #include <math.h>
 #include <stdlib.h>
+#include <string.h>
 
 #define OFFSET(x, y, m) (((x)*(m)) + (y))