Skip to content

Commit 173ffdf

Browse files
committed
removing changes made for testing
1 parent e2bc548 commit 173ffdf

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

examples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ list(APPEND umpire_examples resource_aware_pool_example)
9292
blt_add_executable(
9393
NAME allocator
9494
SOURCES allocator.cxx
95-
DEPENDS_ON ${example_depends} blt::hip)
95+
DEPENDS_ON ${example_depends})
9696
list(APPEND umpire_examples allocator)
9797

9898
blt_add_executable(

examples/allocator.cxx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,21 @@
55
// SPDX-License-Identifier: (MIT)
66
//////////////////////////////////////////////////////////////////////////////
77
#include "umpire/ResourceManager.hpp"
8-
#include "umpire/strategy/QuickPool.hpp"
98
#include "umpire/Allocator.hpp"
109

1110
#include <iostream>
1211

1312
int main() {
1413
auto& rm = umpire::ResourceManager::getInstance();
1514
umpire::Allocator alloc = rm.getAllocator("HOST");
16-
umpire::Allocator alloc2 = rm.makeAllocator<umpire::strategy::QuickPool>("pool", rm.getAllocator("DEVICE"));
17-
umpire::Allocator alloc3 = rm.getAllocator("BANANAS");
1815

1916
std::cout << "Got allocator: " << alloc.getName() << std::endl;
2017

2118
std::cout << "Available allocators: ";
2219
for (auto s : rm.getAllocatorNames()){
2320
std::cout << s << " ";
2421
}
25-
std::cout << "TEST: " << alloc3.getName() << std::endl;
2622
std::cout << std::endl;
2723

2824
return 0;
2925
}
30-

0 commit comments

Comments
 (0)