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
Enumerations
GPUart_Config.h File Reference

Configuration of IDs for constant memory data, global memory data and kernels. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  device_constant_memory_id_e { E_CM_TOTAL_NR_OF_CONST_MEM_VARIABLES }
 Defines the IDs for all constant memory data elements. More...
 
enum  device_global_memory_id_e {
  E_GM_ID_SOB1_MATRIX_IN, E_GM_ID_SOB1_MATRIX_OUT, E_GM_ID_SOB2_MATRIX_IN, E_GM_ID_SOB2_MATRIX_OUT,
  E_GM_ID_MM_MATRIX_A, E_GM_ID_MM_MATRIX_B, E_GM_ID_MM_MATRIX_C, E_GM_TOTAL_NR_OF_GLOB_MEM_VARIABLES
}
 Defines the IDs for all global memory data elements. More...
 
enum  kernel_task_id_e { E_KTID_SOBEL1, E_KTID_SOBEL2, E_KTID_MM, E_KTID_NUMBER_OF_KERNEL_TASKS }
 Defines the IDs for GPGPU kernels. More...
 

Detailed Description

Configuration of IDs for constant memory data, global memory data and kernels.

The IDs for GPU related data and kernels are configured in this file. The layers of GPUart communicate by using this IDs in order to hide any implementation details.

Author
Christoph Hartmann
Date
Created on: 3 Apr 2017

Enumeration Type Documentation

Defines the IDs for all constant memory data elements.

An unique ID must be set for each constant memory element, which must be accessed by any host-sided application. E_CM_TOTAL_NR_OF_CONST_MEM_VARIABLES represents the total number of constant memory entities, accessible via the Abstraction layer (GPUart_Service_IF.h).

Enumerator
E_CM_TOTAL_NR_OF_CONST_MEM_VARIABLES 

Total number of constant memory elements

Defines the IDs for all global memory data elements.

An unique ID must be set for each global memory element, which must be accessed by any host-sided application. E_GM_TOTAL_NR_OF_GLOB_MEM_VARIABLES represents the total number of global memory entities, accessible via the Abstraction layer.

Enumerator
E_GM_ID_SOB1_MATRIX_IN 

Global Memory ID: Sobel1 input matrix

E_GM_ID_SOB1_MATRIX_OUT 

Global Memory ID: Sobel1 output matrix

E_GM_ID_SOB2_MATRIX_IN 

Global Memory ID: Sobel2 input matrix

E_GM_ID_SOB2_MATRIX_OUT 

Global Memory ID: Sobel2 output matrix

E_GM_ID_MM_MATRIX_A 

Global Memory ID: MatrMul input matrix A

E_GM_ID_MM_MATRIX_B 

Global Memory ID: MatrMul input matrix B

E_GM_ID_MM_MATRIX_C 

Global Memory ID: MatrMul output matrix C

E_GM_TOTAL_NR_OF_GLOB_MEM_VARIABLES 

Total number of global memory elements

Defines the IDs for GPGPU kernels.

An unique ID must be set for each kernel. E_KTID_NUMBER_OF_KERNEL_TASKS represents the total number of kernels.

Enumerator
E_KTID_SOBEL1 

Kernel ID: Sobel1

E_KTID_SOBEL2 

Kernel ID: Sobel2

E_KTID_MM 

Kernel ID: MatrMul

E_KTID_NUMBER_OF_KERNEL_TASKS 

Total number of GPGPU kernels