ParallelME Runtime Environment
Classes | Public Member Functions | List of all members
SchedulerPAMS Class Reference

#include <SchedulerPAMS.hpp>

Inheritance diagram for SchedulerPAMS:
Scheduler

Public Member Functions

void push (std::unique_ptr< Task > task)
 
std::unique_ptr< Taskpop (Device &device)
 
bool hasWork ()
 
- Public Member Functions inherited from Scheduler
 Scheduler (const Scheduler &)=delete
 
Scheduleroperator= (const Scheduler &)=delete
 

Detailed Description

An implementation of the Performance Aware Multi-queue Scheduling strategy for the ParallelME Runtime.

Member Function Documentation

bool SchedulerPAMS::hasWork ( )
virtual

If the scheduler still has work to do. This function is thread-safe.

Implements Scheduler.

std::unique_ptr<Task> SchedulerPAMS::pop ( Device device)
virtual

Pops a task from the scheduler. This function is thread-safe.

Implements Scheduler.

void SchedulerPAMS::push ( std::unique_ptr< Task task)
virtual

Pushes a task into the scheduler. This function is thread-safe.

Implements Scheduler.


The documentation for this class was generated from the following file: