summaryrefslogtreecommitdiff
path: root/MLP/support/common.h
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2025-01-16 08:24:34 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2025-01-16 08:24:34 +0100
commit0bebc23cf55adfc6a25c0d5f4fa9061ce093e0d7 (patch)
tree8d5850f69aa7dccf1827204d1febfc1464d595ea /MLP/support/common.h
parent935c98b276021d6e2811f4176b09d4e98c22fc98 (diff)
MLP: dos2unix; indent -linux
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)