-
Notifications
You must be signed in to change notification settings - Fork 40
/
configure.h
33 lines (27 loc) · 870 Bytes
/
configure.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef CONFIGURE_H
#define CONFIGURE_H
/*Partitioning paramters*/
#define FUSED_LAYERS_MAX 16
#define PARTITIONS_W_MAX 6
#define PARTITIONS_H_MAX 6
#define PARTITIONS_MAX 36
#define THREAD_NUM 1
#define DATA_REUSE 1
/*Generate debugging information in log file*/
#define DEBUG_LOG 1
/*Debugging information for different components*/
#define DEBUG_INFERENCE 0
#define DEBUG_FTP 0
#define DEBUG_SERIALIZATION 0
#define DEBUG_DEEP_GATEWAY 0
#define DEBUG_DEEP_EDGE 0
/*Print timing and communication size information*/
#define DEBUG_TIMING 1
#define DEBUG_COMMU_SIZE 0
/*Configuration parameters for DistrIoT*/
#define GATEWAY_PUBLIC_ADDR "10.157.89.51"
#define GATEWAY_LOCAL_ADDR "192.168.4.1"
#define EDGE_ADDR_LIST {"192.168.4.9", "192.168.4.8", "192.168.4.4", "192.168.4.14", "192.168.4.15", "192.168.4.16"}
#define MAX_EDGE_NUM 6
#define FRAME_NUM 4
#endif