PULSAR  2.0.0
Parallel Ultra-Light Systolic Array Runtime
 All Data Structures Files Functions Typedefs Enumerations Macros Groups
prt_config.h
Go to the documentation of this file.
1 
11 #ifndef PRT_CONFIG_H
12 #define PRT_CONFIG_H
13 
14 #include "prt.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
23 typedef enum prt_config_param_e {
24  PRT_VDP_SCHEDULING, // Set VDP scheduling mode.
25  PRT_SVG_TRACING // Turn SVG tracing on and off.
27 
31 typedef enum prt_config_value_e {
32  PRT_VDP_SCHEDULING_AGGRESSIVE, // Run each VDP as long as possible.
33  PRT_VDP_SCHEDULING_LAZY, // Fire each VDP once and move on.
34  PRT_SVG_TRACING_ON, // Produce an SVG trace file.
35  PRT_SVG_TRACING_OFF // Skip the SVG trace file.
37 
41 typedef struct prt_config_s {
42  int vdp_scheduling; // VDP scheduling mode.
43  int svg_tracing; // SVG tracing on/off.
44 } prt_config_t;
45 
47 void prt_config_delete(prt_config_t *config);
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* PRT_CONFIG_H */