Peano
Loading...
Searching...
No Matches
ProcessSetOfReadyTasks.h
Go to the documentation of this file.
1// This file is part of the Peano project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5
6#include "tarch/logging/Log.h"
11
12
13namespace tarch {
14 namespace multicore {
15 namespace taskfusion {
16 class LogReadyTask;
17 class ProcessSetOfReadyTasks;
18 struct FusableTasksQueue;
19 }
20 }
21}
22
23
89 private:
91 const int _taskNumber;
92
94
96
97
98 static const std::string ProcessFusedTasksStatisticsIdentifier;
99
134 void processFusedTask(Task* myTask, const std::vector<tarch::multicore::Task*>& tasksOfSameType, int device);
135
137 public:
139
158 TaskNumber taskNumber,
159 FusableTasksQueue& taskQueue
160 );
161
208 virtual void run() override;
209
211};
212
Log Device.
Definition Log.h:517
Rank-global enumerator for tasks.
Abstract super class for a job.
Definition Task.h:21
Represents a queue of fusable tasks.
void processFusedTask(Task *myTask, const std::vector< tarch::multicore::Task * > &tasksOfSameType, int device)
Process a fused task.
ProcessSetOfReadyTasks(TaskNumber taskNumber, FusableTasksQueue &taskQueue)
Construct process ready task.
virtual void run() override
Run the task.
static tarch::multicore::TaskEnumerator _enumerator
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
Definition accelerator.h:19