Skip to content

Commit

Permalink
clean up 09
Browse files Browse the repository at this point in the history
  • Loading branch information
artv3 committed Aug 12, 2024
1 parent 8b31289 commit 747b066
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Intro_Tutorial/lessons/09_raja_view/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
6 changes: 3 additions & 3 deletions Intro_Tutorial/lessons/09_raja_view/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ RAJA::View<double, RAJA::Layout<2, int>> 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
Expand Down

0 comments on commit 747b066

Please sign in to comment.