Peano
Loading...
Searching...
No Matches
LogReadyTask.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"
10
11
12namespace tarch {
13 namespace multicore {
14 namespace taskfusion {
15 class LogReadyTask;
16 class ProcessReadyTask;
17 }
18 }
19}
20
21
30 private:
32 const int _taskNumber;
34
35 static const std::string SubmitFusedTasksStatisticsIdentifier;
36
38 public:
47 LogReadyTask( Task* task, int taskNumber, ReadyFusableTasks* taskQueue );
48
59 virtual void run() override;
60
69 static void insertReadyTask( Task* task, int taskNumber, ReadyFusableTasks* taskQueue );
70};
Log Device.
Definition Log.h:516
Abstract super class for a job.
Definition Task.h:21
Task plugging into state transition once task becomes ready.
static const std::string SubmitFusedTasksStatisticsIdentifier
virtual void run() override
Run task.
LogReadyTask(Task *task, int taskNumber, ReadyFusableTasks *taskQueue)
Construct log read task.
static void insertReadyTask(Task *task, int taskNumber, ReadyFusableTasks *taskQueue)
Insert a new ready task into the local queues.
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
Definition accelerator.h:19
Task queue of tasks which we hold back.
Definition taskfusion.h:71