Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/feature/nameless-sh…
Browse files Browse the repository at this point in the history
…ared-shim' into feature/nameless-shared-shim
  • Loading branch information
davidbeckingsale committed Sep 6, 2024
2 parents ad5256c + e7c56da commit 818b511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cookbook/recipe_naming_shim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ int main(int, char**)
{
auto& rm = umpire::ResourceManager::getInstance();
auto traits{umpire::get_default_resource_traits("SHARED")};
traits.size = 1 * 1024 * 1024; // Maximum size of this Allocator
traits.size = 1 * 1024 * 1024; // Maximum size of this Allocator
traits.scope = umpire::MemoryResourceTraits::shared_scope::node; // default
auto node_allocator{rm.makeResource("SHARED::node_allocator", traits)};
auto shim{rm.makeAllocator<umpire::strategy::NamingShim>("shim", node_allocator)};
Expand Down

0 comments on commit 818b511

Please sign in to comment.