diff --git a/Intro_Tutorial/lessons/08_raja_umpire_quick_pool/eight.cpp b/Intro_Tutorial/lessons/08_raja_umpire_quick_pool/08_raja_umpire_quick_pool.cpp similarity index 100% rename from Intro_Tutorial/lessons/08_raja_umpire_quick_pool/eight.cpp rename to Intro_Tutorial/lessons/08_raja_umpire_quick_pool/08_raja_umpire_quick_pool.cpp diff --git a/Intro_Tutorial/lessons/08_raja_umpire_quick_pool/CMakeLists.txt b/Intro_Tutorial/lessons/08_raja_umpire_quick_pool/CMakeLists.txt index fef5044..83a0ca2 100644 --- a/Intro_Tutorial/lessons/08_raja_umpire_quick_pool/CMakeLists.txt +++ b/Intro_Tutorial/lessons/08_raja_umpire_quick_pool/CMakeLists.txt @@ -1,6 +1,6 @@ if (ENABLE_CUDA) blt_add_executable( - NAME eight - SOURCES eight.cpp + NAME 08_raja_umpire_quick_pool + SOURCES 08_raja_umpire_quick_pool.cpp DEPENDS_ON RAJA umpire cuda) endif() diff --git a/Intro_Tutorial/lessons/08_raja_umpire_quick_pool/README.md b/Intro_Tutorial/lessons/08_raja_umpire_quick_pool/README.md index e0d45be..587bed7 100644 --- a/Intro_Tutorial/lessons/08_raja_umpire_quick_pool/README.md +++ b/Intro_Tutorial/lessons/08_raja_umpire_quick_pool/README.md @@ -21,13 +21,13 @@ To create a new memory pool allocator using the `QuickPool` strategy, we can use This newly created `pool` is an `umpire::Allocator` using the `QuickPool` strategy. As you can see above, we can use the `ResourceManager::makeAllocator` function to create the pool allocator. We just need to pass in: (1) the name we would like the pool to have, and (2) the allocator we previously created with the `ResourceManager` (see line 17 in the -file `eight.cpp`). Remember that you will also need to include the `umpire/strategy/QuickPool.hpp` header file. +file `08_raja_umpire_quick_pool.cpp`). Remember that you will also need to include the `umpire/strategy/QuickPool.hpp` header file. There are other arguments that could be passed to the pool constructor if needed. These additional option arguments are a bit advanced and are beyond the scope of this tutorial. However, you can visit the documentation page for more: https://umpire.readthedocs.io/en/develop/doxygen/html/index.html When you have created your QuickPool allocator, uncomment the COMPILE define on line 7; then compile and run the code: ``` -$ make eight -$ ./bin/eight +$ make 08_raja_umpire_quick_pool +$ ./bin/08_raja_umpire_quick_pool ``` diff --git a/Intro_Tutorial/lessons/08_raja_umpire_quick_pool/solution/eight_solution.cpp b/Intro_Tutorial/lessons/08_raja_umpire_quick_pool/solution/08_raja_umpire_quick_pool_solution.cpp similarity index 100% rename from Intro_Tutorial/lessons/08_raja_umpire_quick_pool/solution/eight_solution.cpp rename to Intro_Tutorial/lessons/08_raja_umpire_quick_pool/solution/08_raja_umpire_quick_pool_solution.cpp