diff --git a/README.md b/README.md index 2b56df7..dab6535 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ make **Note**: By default we are building for `x86_64,` Turing family GPU `sm_75` - First [Setup GNAT for CUDA](#setup-gnat-for-cuda). Then: ``` -cd examples/0_Simple/vectorAdd +cd examples/0_Introduction/vectorAdd make ``` @@ -110,7 +110,7 @@ CUDA_HOST=aarch64-linux - Build example program. On **host**: ``` source ./env.sh -cd examples/0_Simple/vectorAdd +cd examples/0_Introduction/vectorAdd make ``` @@ -123,4 +123,4 @@ scp main alice@192.168.x.y:~ ``` ssh alice@192.168.x.y:~ ./main -``` \ No newline at end of file +``` diff --git a/doc/installation.rst b/doc/installation.rst index ced9497..a0256db 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -61,7 +61,7 @@ To check if everything is correctly installed, you can try an example: .. code-block:: shell - cd cuda/examples/0_Simple/vectorAdd + cd cuda/examples/0_Introduction/vectorAdd make ./main diff --git a/examples/0_Simple/simpleStreams/Makefile b/examples/0_Introduction/simpleStreams/Makefile similarity index 100% rename from examples/0_Simple/simpleStreams/Makefile rename to examples/0_Introduction/simpleStreams/Makefile diff --git a/examples/0_Simple/simpleStreams/device.gpr b/examples/0_Introduction/simpleStreams/device.gpr similarity index 100% rename from examples/0_Simple/simpleStreams/device.gpr rename to examples/0_Introduction/simpleStreams/device.gpr diff --git a/examples/0_Simple/simpleStreams/host.gpr b/examples/0_Introduction/simpleStreams/host.gpr similarity index 100% rename from examples/0_Simple/simpleStreams/host.gpr rename to examples/0_Introduction/simpleStreams/host.gpr diff --git a/examples/0_Simple/simpleStreams/src/common/kernels.adb b/examples/0_Introduction/simpleStreams/src/common/kernels.adb similarity index 100% rename from examples/0_Simple/simpleStreams/src/common/kernels.adb rename to examples/0_Introduction/simpleStreams/src/common/kernels.adb diff --git a/examples/0_Simple/simpleStreams/src/common/kernels.ads b/examples/0_Introduction/simpleStreams/src/common/kernels.ads similarity index 100% rename from examples/0_Simple/simpleStreams/src/common/kernels.ads rename to examples/0_Introduction/simpleStreams/src/common/kernels.ads diff --git a/examples/0_Simple/simpleStreams/src/common/support.ads b/examples/0_Introduction/simpleStreams/src/common/support.ads similarity index 100% rename from examples/0_Simple/simpleStreams/src/common/support.ads rename to examples/0_Introduction/simpleStreams/src/common/support.ads diff --git a/examples/0_Simple/simpleStreams/src/host/main.adb b/examples/0_Introduction/simpleStreams/src/host/main.adb similarity index 100% rename from examples/0_Simple/simpleStreams/src/host/main.adb rename to examples/0_Introduction/simpleStreams/src/host/main.adb diff --git a/examples/0_Simple/vectorAdd/Makefile b/examples/0_Introduction/vectorAdd/Makefile similarity index 100% rename from examples/0_Simple/vectorAdd/Makefile rename to examples/0_Introduction/vectorAdd/Makefile diff --git a/examples/0_Simple/vectorAdd/device.gpr b/examples/0_Introduction/vectorAdd/device.gpr similarity index 100% rename from examples/0_Simple/vectorAdd/device.gpr rename to examples/0_Introduction/vectorAdd/device.gpr diff --git a/examples/0_Simple/vectorAdd/host.gpr b/examples/0_Introduction/vectorAdd/host.gpr similarity index 100% rename from examples/0_Simple/vectorAdd/host.gpr rename to examples/0_Introduction/vectorAdd/host.gpr diff --git a/examples/0_Simple/vectorAdd/src/common/kernel.adb b/examples/0_Introduction/vectorAdd/src/common/kernel.adb similarity index 100% rename from examples/0_Simple/vectorAdd/src/common/kernel.adb rename to examples/0_Introduction/vectorAdd/src/common/kernel.adb diff --git a/examples/0_Simple/vectorAdd/src/common/kernel.ads b/examples/0_Introduction/vectorAdd/src/common/kernel.ads similarity index 100% rename from examples/0_Simple/vectorAdd/src/common/kernel.ads rename to examples/0_Introduction/vectorAdd/src/common/kernel.ads diff --git a/examples/0_Simple/vectorAdd/src/host/main.adb b/examples/0_Introduction/vectorAdd/src/host/main.adb similarity index 100% rename from examples/0_Simple/vectorAdd/src/host/main.adb rename to examples/0_Introduction/vectorAdd/src/host/main.adb diff --git a/testsuite/tests/examples/vectorAdd/test.yaml b/testsuite/tests/examples/vectorAdd/test.yaml index 927f1f4..38d915d 100644 --- a/testsuite/tests/examples/vectorAdd/test.yaml +++ b/testsuite/tests/examples/vectorAdd/test.yaml @@ -1,2 +1,2 @@ driver: examples -input_directory: "0_Simple/vectorAdd" +input_directory: "0_Introduction/vectorAdd"