PandA-2024.02
typedefs.h
Go to the documentation of this file.
1 /*===============================================================*/
2 /* */
3 /* typedefs.h */
4 /* */
5 /* Constant definitions and typedefs for host. */
6 /* */
7 /*===============================================================*/
8 
9 #ifndef __TYPEDEFS_H__
10 #define __TYPEDEFS_H__
11 
12 // dataset information
13 #define NUM_TRAINING 18000
14 #define CLASS_SIZE 1800
15 #define NUM_TEST 2000
16 #define DIGIT_WIDTH 4
17 
18 // typedefs
19 typedef unsigned long long DigitType;
20 typedef unsigned char LabelType;
21 
22 #ifdef OCL
23  #include <string>
24  // target device
25  // change here to map to a different device
26  const std::string TARGET_DEVICE = "xilinx_aws-vu9p-f1-04261818_dynamic_5_0";
27 #endif
28 
29 #ifdef SDSOC
30  #include "ap_int.h"
31  // sdsoc wide vector type
32  typedef ap_uint<256> WholeDigitType;
33 #endif
34 
35 // parameters
36 #define K_CONST 3
37 #define PAR_FACTOR 40
38 
39 #endif
unsigned char LabelType
Definition: typedefs.h:20
unsigned long long DigitType
Definition: typedefs.h:19

Generated on Mon Feb 12 2024 13:02:50 for PandA-2024.02 by doxygen 1.8.13