![]() |
GPUart
1.01
Prototype of GPUart, an application-based limited preemptive GPU scheduler for embedded real-time systems
|
A library which defines some common macros, typedefs. More...
#include <stdio.h>#include <iostream>

Go to the source code of this file.
Macros | |
| #define | C_TRUE (1==1) |
| TRUE condition definition. More... | |
| #define | C_FALSE (1==0) |
| FALSE condition definition. More... | |
| #define | GPUART_SUCCESS (0x00) |
| Error code 0x00 -> Function returned successfully. More... | |
| #define | GPUART_NO_SUCCESS (0x01) |
| Error code 0x01 -> Function returned unsuccessfully. More... | |
| #define | GPUART_ERROR_NOT_READY (0x02) |
| Error code 0x02 -> Error: operation not ready. More... | |
| #define | GPUART_ERROR_NO_OPERTATION (0x03) |
| Error code 0x03 -> Error: function return without doing anything. More... | |
| #define | GPUART_ERROR_INVALID_ARGUMENT (0x04) |
| Error code 0x04 -> Error: an invalid function parameter has been used. More... | |
| #define | GPUART_ERROR_PESISTENT_KERNEL_IS_RUNNING (0x08) |
| Error code 0x03 -> Error: operation could not be executed, since the persistent GPU thread is already running. More... | |
| #define | GPUART_CHECK_RETURN(value) gpuartCheckReturn(__FILE__,__LINE__, #value, value) |
| Standard macro for error checking within GPUart. More... | |
Typedefs | |
| typedef signed int | sint32 |
| typedef unsigned int | uint32 |
| typedef signed char | sint8 |
| typedef unsigned char | uint8 |
| typedef signed short | sint16 |
| typedef unsigned short | uint16 |
| typedef signed long long | sint64 |
| typedef unsigned long long | uint64 |
| typedef float | float32 |
| typedef double | float64 |
| typedef signed int | GPUart_Retval |
| The standard return type of functions in GPUart, representing an error code. More... | |
Functions | |
| static void | gpuartCheckReturn (const char *file, unsigned line, const char *statement, sint32 err) |
| Standard function for error checking within GPUart. More... | |
A library which defines some common macros, typedefs.
Implements the service-orientated init-, call-, and query-interfaces, respectively for each kernel. Call a kernel's init-interface to initialize kernel related GPU data. Call a kernel's call-interface to enqueue a new kernel instance in the scheduler and update GPU data. Call a kernel's query-interface to query kernel completion and to get the output of the kernel. This layer is used to achieve higher portability by abstracting the systems's heterogeneity.
| #define C_FALSE (1==0) |
FALSE condition definition.
| #define C_TRUE (1==1) |
TRUE condition definition.
| #define GPUART_CHECK_RETURN | ( | value | ) | gpuartCheckReturn(__FILE__,__LINE__, #value, value) |
Standard macro for error checking within GPUart.
| #define GPUART_ERROR_INVALID_ARGUMENT (0x04) |
Error code 0x04 -> Error: an invalid function parameter has been used.
| #define GPUART_ERROR_NO_OPERTATION (0x03) |
Error code 0x03 -> Error: function return without doing anything.
| #define GPUART_ERROR_NOT_READY (0x02) |
Error code 0x02 -> Error: operation not ready.
| #define GPUART_ERROR_PESISTENT_KERNEL_IS_RUNNING (0x08) |
Error code 0x03 -> Error: operation could not be executed, since the persistent GPU thread is already running.
| #define GPUART_NO_SUCCESS (0x01) |
Error code 0x01 -> Function returned unsuccessfully.
| #define GPUART_SUCCESS (0x00) |
Error code 0x00 -> Function returned successfully.
| typedef float float32 |
| typedef double float64 |
The standard return type of functions in GPUart, representing an error code.
| typedef signed short sint16 |
| typedef signed int sint32 |
| typedef signed long long sint64 |
| typedef signed char sint8 |
| typedef unsigned short uint16 |
| typedef unsigned int uint32 |
| typedef unsigned long long uint64 |
| typedef unsigned char uint8 |
|
static |
Standard function for error checking within GPUart.
1.8.6