From 747b06629bf271c987a3412f6e002ae3008e74c8 Mon Sep 17 00:00:00 2001 From: Arturo Vargas Date: Mon, 12 Aug 2024 13:43:32 -0700 Subject: [PATCH] clean up 09 --- .../lessons/09_raja_view/{nine.cpp => 09_raja_view.cpp} | 0 Intro_Tutorial/lessons/09_raja_view/CMakeLists.txt | 4 ++-- Intro_Tutorial/lessons/09_raja_view/README.md | 6 +++--- .../solution/{nine_solution.cpp => 09_raja_view.cpp} | 0 4 files changed, 5 insertions(+), 5 deletions(-) rename Intro_Tutorial/lessons/09_raja_view/{nine.cpp => 09_raja_view.cpp} (100%) rename Intro_Tutorial/lessons/09_raja_view/solution/{nine_solution.cpp => 09_raja_view.cpp} (100%) diff --git a/Intro_Tutorial/lessons/09_raja_view/nine.cpp b/Intro_Tutorial/lessons/09_raja_view/09_raja_view.cpp similarity index 100% rename from Intro_Tutorial/lessons/09_raja_view/nine.cpp rename to Intro_Tutorial/lessons/09_raja_view/09_raja_view.cpp diff --git a/Intro_Tutorial/lessons/09_raja_view/CMakeLists.txt b/Intro_Tutorial/lessons/09_raja_view/CMakeLists.txt index 7d924d2..734f5dd 100644 --- a/Intro_Tutorial/lessons/09_raja_view/CMakeLists.txt +++ b/Intro_Tutorial/lessons/09_raja_view/CMakeLists.txt @@ -1,4 +1,4 @@ blt_add_executable( - NAME nine - SOURCES nine.cpp + NAME 09_raja_view + SOURCES 09_raja_view.cpp DEPENDS_ON cuda RAJA umpire) diff --git a/Intro_Tutorial/lessons/09_raja_view/README.md b/Intro_Tutorial/lessons/09_raja_view/README.md index 790256e..00a49f5 100644 --- a/Intro_Tutorial/lessons/09_raja_view/README.md +++ b/Intro_Tutorial/lessons/09_raja_view/README.md @@ -33,15 +33,15 @@ RAJA::View> view(data, N, N); where `data` is a `double*`, and `N` is the size of each dimension. The size of `data` should be at least `N*N`. -In the file `nine.cpp`, there is a `TODO` comment where you should create three +In the file `09_raja_view.cpp`, there is a `TODO` comment where you should create three views, A, B, and C. You will notice that we are doing the same dot product calculation, but this time for matrices. Thus, we are now doing a matrix multiplication. When you are ready, uncomment the COMPILE define on line 7; then you can compile and run the code: ``` -$ make nine -$ ./bin/nine +$ make 09_raja_view +$ ./bin/09_raja_view ``` For more information on Views and Layouts, see the RAJA diff --git a/Intro_Tutorial/lessons/09_raja_view/solution/nine_solution.cpp b/Intro_Tutorial/lessons/09_raja_view/solution/09_raja_view.cpp similarity index 100% rename from Intro_Tutorial/lessons/09_raja_view/solution/nine_solution.cpp rename to Intro_Tutorial/lessons/09_raja_view/solution/09_raja_view.cpp