Skip to content

Commit 36ef864

Browse files
Removing unnecessary reference
1 parent fc40456 commit 36ef864

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

examples/cholesky/source/pthreads.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
#include <hwloc.h>
2020
#include <chrono>
2121
#include <pthread.h>
22+
#include <hicr/backends/pthreads/core.hpp>
2223
#include <hicr/backends/pthreads/communicationManager.hpp>
2324
#include <hicr/backends/pthreads/computeManager.hpp>
2425
#include <hicr/backends/boost/computeManager.hpp>
2526
#include <hicr/backends/hwloc/memoryManager.hpp>
2627
#include <hicr/backends/hwloc/topologyManager.hpp>
27-
#include <hicr/backends/pthreads/computeManager.hpp>
2828

2929
#include "cholesky.hpp"
3030

@@ -71,7 +71,10 @@ int main(int argc, char **argv)
7171
auto computeResources = (*t.getDevices().begin())->getComputeResourceList();
7272

7373
// Initializing communication manager to handle data motion
74-
HiCR::backend::pthreads::CommunicationManager communicationManager;
74+
HiCR::backend::pthreads::Core core(computeResources.size());
75+
76+
// Initializing communication manager to handle data motion
77+
HiCR::backend::pthreads::CommunicationManager communicationManager(core);
7578

7679
// Initializing Boost-based compute manager to instantiate suspendable coroutines
7780
HiCR::backend::boost::ComputeManager boostComputeManager;

extern/HiCR

0 commit comments

Comments
 (0)