summaryrefslogtreecommitdiff
path: root/MLP/support/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'MLP/support/common.h')
-rwxr-xr-xMLP/support/common.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/MLP/support/common.h b/MLP/support/common.h
index 53b2f1c..4b5031b 100755
--- a/MLP/support/common.h
+++ b/MLP/support/common.h
@@ -3,21 +3,21 @@
// Structures used by both the host and the dpu to communicate information
typedef struct {
- uint32_t n_size;
- uint32_t n_size_pad;
- uint32_t nr_rows;
- uint32_t max_rows;
+ uint32_t n_size;
+ uint32_t n_size_pad;
+ uint32_t nr_rows;
+ uint32_t max_rows;
} dpu_arguments_t;
// Specific information for each DPU
struct dpu_info_t {
- uint32_t rows_per_dpu;
- uint32_t rows_per_dpu_pad;
- uint32_t prev_rows_dpu;
+ uint32_t rows_per_dpu;
+ uint32_t rows_per_dpu_pad;
+ uint32_t prev_rows_dpu;
};
struct dpu_info_t *dpu_info;
-#define NUM_LAYERS 3
+#define NUM_LAYERS 3
#define max(x, y) (x > y ? x : y)
#define min(x, y) (x < y ? x : y)