Skip to content

Commit

Permalink
figuring out how to run test and starting docs for that
Browse files Browse the repository at this point in the history
  • Loading branch information
kab163 committed Oct 25, 2024
1 parent 5bf5bc1 commit 02b39d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/unit/resource/shared_memory_resource_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,19 @@
#include "umpire/resource/HostSharedMemoryResource.hpp"
#include "umpire/util/MemoryResourceTraits.hpp"

////////////////////////////////////////////////////////
// How to run this test:
//
///////////////////////////////////////////////////////

namespace {
struct SharedMemoryState {
std::size_t largest_allocation_size;
std::size_t initial_size;
std::size_t num_allocations;
std::size_t allocation_sizes[1];
};

const std::string shmem_state_name{"SharedMemoryState"};
SharedMemoryState* shmem_state{nullptr};

Expand Down

0 comments on commit 02b39d7

Please sign in to comment.