Skip to content

Commit ea3326d

Browse files
author
SergioMartin86
committed
Removing dead code
1 parent f9634f8 commit ea3326d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

include/taskr/runtime.hpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -315,16 +315,6 @@ class Runtime
315315
size_t taskWorkerId = 0;
316316
for (size_t computeResourceId = _serviceWorkerCount; computeResourceId < _computeResources.size(); computeResourceId++)
317317
{
318-
// // Getting up-casted pointer for the processing unit
319-
// auto c = dynamic_pointer_cast<HiCR::backend::hwloc::ComputeResource>(_computeResources[computeResourceId]);
320-
321-
// // Checking whether the execution unit passed is compatible with this backend
322-
// if (c == nullptr) HICR_THROW_LOGIC("The passed compute resource is not supported by this processing unit type\n");
323-
324-
// // Getting the logical processor ID of the compute resource
325-
// auto pid = c->getProcessorId();
326-
// printf("activating PU with PID: %d\n", pid);
327-
328318
// Creating new task worker
329319
auto taskWorker =
330320
std::make_shared<taskr::Worker>(taskWorkerId, _taskComputeManager, _workerComputeManager, [this, taskWorkerId]() -> taskr::Task * { return taskWorkerLoop(taskWorkerId); });

0 commit comments

Comments
 (0)