check transfer  0.1
Check data transfer for SDAccell OpenCL application
utypes.h
Go to the documentation of this file.
1 /***************************************************
2 *
3 * UTYPES.H - define usefull types.
4 *
5 * (C) Instrumental Systems Corp. Ekkore, Dec. 1997-2001
6 *
7 ****************************************************/
8 
9 
10 #ifndef _UTYPES_H_
11 #define _UTYPES_H_
12 
13 
14 
15 
16 typedef cl_uchar UINT08;
17 typedef cl_char SINT08;
18 typedef cl_ushort UINT16;
19 typedef cl_short SINT16;
20 typedef cl_uint UINT32;
21 typedef cl_int SINT32;
22 
23 typedef cl_uchar U08, *PU08;
24 typedef cl_char S08, *PS08;
25 typedef cl_ushort U16, *PU16;
26 typedef cl_short S16, *PS16;
27 typedef cl_uint U32, *PU32;
28 typedef cl_int S32, *PS32;
29 typedef cl_ulong U64, *PU64;
30 typedef cl_long S64, *PS64;
31 
32 typedef float REAL32, *PREAL32;
33 typedef double REAL64, *PREAL64;
34 
35 //typedef enum{ FALSE=0, TRUE=1} BOOL;
36 typedef unsigned char UCHAR;
37 typedef unsigned short USHORT;
38 typedef unsigned long ULONG;
39 typedef unsigned long HANDLE;
40 
41 
42 typedef char BRDCHAR;
43 #define _BRDC(x) x
44 #define BRDC_strlen strlen
45 #define BRDC_strcpy strcpy
46 #define BRDC_strncpy strncpy
47 #define BRDC_strcmp strcmp
48 #define BRDC_stricmp _stricmp
49 #define BRDC_strnicmp _strnicmp
50 #define BRDC_strcat strcat
51 #define BRDC_strchr strchr
52 #define BRDC_strstr strstr
53 #define BRDC_strtol strtol
54 #define BRDC_strtod strtod
55 #define BRDC_atol atol
56 #define BRDC_atoi atoi
57 #define BRDC_atoi64 _atoi64
58 #define BRDC_atof atof
59 #define BRDC_printf printf
60 #define BRDC_sprintf sprintf
61 #define BRDC_vsprintf vsprintf
62 #define BRDC_sscanf sscanf
63 #define BRDC_fopen fopen
64 #define BRDC_sopen sopen
65 #define BRDC_fgets fgets
66 #define BRDC_getenv getenv
67 #define BRDC_main main
68 
69 
70 
71 
72 #endif /* _UTYPES_H_ */
73 
74 /*
75 * End of File
76 */
77 
78 
79 
cl_long S64
Definition: utypes.h:30
float * PREAL32
Definition: utypes.h:32
double REAL64
Definition: utypes.h:33
unsigned long ULONG
Definition: utypes.h:38
cl_short * PS16
Definition: utypes.h:26
cl_uint U32
Definition: utypes.h:27
cl_uchar U08
Definition: utypes.h:23
cl_short SINT16
Definition: utypes.h:19
cl_long * PS64
Definition: utypes.h:30
float REAL32
Definition: utypes.h:32
cl_uint * PU32
Definition: utypes.h:27
unsigned long HANDLE
Definition: utypes.h:39
cl_uchar UINT08
Definition: utypes.h:16
cl_char S08
Definition: utypes.h:24
cl_uint UINT32
Definition: utypes.h:20
unsigned short USHORT
Definition: utypes.h:37
cl_int SINT32
Definition: utypes.h:21
cl_int * PS32
Definition: utypes.h:28
double * PREAL64
Definition: utypes.h:33
cl_char * PS08
Definition: utypes.h:24
unsigned char UCHAR
Definition: utypes.h:36
cl_ulong * PU64
Definition: utypes.h:29
cl_short S16
Definition: utypes.h:26
cl_ushort * PU16
Definition: utypes.h:25
cl_int S32
Definition: utypes.h:28
cl_ulong U64
Definition: utypes.h:29
cl_ushort U16
Definition: utypes.h:25
char BRDCHAR
Definition: utypes.h:42
cl_uchar * PU08
Definition: utypes.h:23
cl_char SINT08
Definition: utypes.h:17
cl_ushort UINT16
Definition: utypes.h:18