48 #ifndef GPUART_COMMON_H
49 #define GPUART_COMMON_H
72 #define C_FALSE (1==0)
130 #define GPUART_SUCCESS (0x00)
131 #define GPUART_NO_SUCCESS (0x01)
132 #define GPUART_ERROR_NOT_READY (0x02)
133 #define GPUART_ERROR_NO_OPERTATION (0x03)
134 #define GPUART_ERROR_INVALID_ARGUMENT (0x04)
135 #define GPUART_ERROR_PESISTENT_KERNEL_IS_RUNNING (0x08)
146 #define GPUART_CHECK_RETURN(value) gpuartCheckReturn(__FILE__,__LINE__, #value, value)
161 std::cerr <<
"GPUart RUNTIME ERROR! "<< statement <<
" returned " <<
"(" << err <<
") at " << file <<
":" << line << std::endl;
unsigned long long uint64
Definition: GPUart_Common.h:89
static void gpuartCheckReturn(const char *file, unsigned line, const char *statement, sint32 err)
Standard function for error checking within GPUart.
Definition: GPUart_Common.h:157
signed char sint8
Definition: GPUart_Common.h:82
unsigned int uint32
Definition: GPUart_Common.h:80
float float32
Definition: GPUart_Common.h:91
signed int sint32
Definition: GPUart_Common.h:79
signed long long sint64
Definition: GPUart_Common.h:88
signed short sint16
Definition: GPUart_Common.h:85
unsigned char uint8
Definition: GPUart_Common.h:83
double float64
Definition: GPUart_Common.h:92
unsigned short uint16
Definition: GPUart_Common.h:86
signed int GPUart_Retval
The standard return type of functions in GPUart, representing an error code.
Definition: GPUart_Common.h:99