GPUart  1.01
Prototype of GPUart, an application-based limited preemptive GPU scheduler for embedded real-time systems
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
GPUart.cpp File Reference

Manages the status and context of GPUart. More...

#include "../GPUart_Impl/GPUart_Impl.h"
#include "../GPUart_Abstraction/GPUart_Abstraction.h"
#include "../GPUart_Scheduler/GPUart_Scheduler.h"
Include dependency graph for GPUart.cpp:

Functions

void GPUart_init (void)
 Initialize all layers of GPUart. More...
 
void GPUart_start (void)
 Enable kernel execution on the GPU. More...
 
void GPUart_stop (void)
 Disable kernel execution on the GPU. More...
 
void GPUart_destroy (void)
 Destroy all GPUart related context. More...
 
void GPUart_schedule (void)
 Trigger the scheduler of GPUart to process the scheduling decision. More...
 

Detailed Description

Manages the status and context of GPUart.

The inferface to init, start, stop, and destroy GPUart. Provides also the interface to trigger scheduler of GPUart (The prototype of GPUart schedules by polling).

Author
Christoph Hartmann
Date
Created on: 11 May 2017

Function Documentation

void GPUart_destroy ( void  )

Destroy all GPUart related context.

This function calls the destroy-functions of the Implementation, Scheduling, and Abstraction layers to destroy GPUart related context. Call this function after GPUart_stop().

Parameters
void
Returns
void

Here is the call graph for this function:

Here is the caller graph for this function:

void GPUart_init ( void  )

Initialize all layers of GPUart.

This function calls the init-functions of the Implementation, Scheduling, and Abstraction layers to initialize GPUart related context. Call this function before GPUart_start().

Parameters
void
Returns
void

Here is the call graph for this function:

Here is the caller graph for this function:

void GPUart_schedule ( void  )

Trigger the scheduler of GPUart to process the scheduling decision.

Trigger the scheduler of GPUart to process the scheduling decision (The prototype of GPUart schedules by polling).

Parameters
void
Returns
void

Here is the call graph for this function:

Here is the caller graph for this function:

void GPUart_start ( void  )

Enable kernel execution on the GPU.

This function calls the Implementation layer to launch the persistent GPU thread, which is used to reduce kernel launch latencies. Call this function after GPUart_init().

Parameters
void
Returns
void

Here is the call graph for this function:

Here is the caller graph for this function:

void GPUart_stop ( void  )

Disable kernel execution on the GPU.

This function calls the Implementation layer to terminate the persistent GPU thread. Call this function before GPUart_destroy().

Parameters
void
Returns
void

Here is the call graph for this function:

Here is the caller graph for this function: