|
@@ -156,7 +156,7 @@ int main(int argc, char **argv)
|
|
|
|
|
|
\verbatim
|
|
|
$ make hello_world
|
|
|
-cc $(pkg-config --cflags starpu-1.2) $(pkg-config --libs starpu-1.2) hello_world.c -o hello_world
|
|
|
+cc $(pkg-config --cflags starpu-1.2) hello_world.c -o hello_world $(pkg-config --libs starpu-1.2)
|
|
|
$ ./hello_world
|
|
|
Hello world
|
|
|
\endverbatim
|
|
@@ -234,7 +234,7 @@ int main(int argc, char **argv)
|
|
|
|
|
|
\verbatim
|
|
|
$ make hello_world
|
|
|
-cc $(pkg-config --cflags starpu-1.2) $(pkg-config --libs starpu-1.2) hello_world.c -o hello_world
|
|
|
+cc $(pkg-config --cflags starpu-1.2) hello_world.c -o hello_world $(pkg-config --libs starpu-1.2)
|
|
|
$ ./hello_world
|
|
|
Hello world (params = {1, 2.000000} )
|
|
|
\endverbatim
|
|
@@ -285,7 +285,7 @@ int main(int argc, char **argv)
|
|
|
|
|
|
\verbatim
|
|
|
$ make hello_world
|
|
|
-cc $(pkg-config --cflags starpu-1.2) $(pkg-config --libs starpu-1.2) hello_world.c -o hello_world
|
|
|
+cc $(pkg-config --cflags starpu-1.2) hello_world.c -o hello_world $(pkg-config --libs starpu-1.2)
|
|
|
$ ./hello_world
|
|
|
Hello world
|
|
|
Callback function (arg 42)
|
|
@@ -606,7 +606,7 @@ pointer.
|
|
|
|
|
|
\verbatim
|
|
|
$ make vector_scal
|
|
|
-cc $(pkg-config --cflags starpu-1.2) $(pkg-config --libs starpu-1.2) vector_scal.c -o vector_scal
|
|
|
+cc $(pkg-config --cflags starpu-1.2) vector_scal.c -o vector_scal $(pkg-config --libs starpu-1.2)
|
|
|
$ ./vector_scal
|
|
|
0.000000 3.000000 6.000000 9.000000 12.000000
|
|
|
\endverbatim
|