summaryrefslogtreecommitdiff
path: root/TRNS/support/common.h
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-05-09 15:18:55 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2025-05-09 15:18:55 +0200
commitf6111f658443c1beffb9714dff3cca8ea3116255 (patch)
tree69a01bd81af40d540113bab1e79b58016c02d0ce /TRNS/support/common.h
parent55928ee11b560d4c90ad7362d65794a83e11f659 (diff)
TRNS: Add tracing and timing aspects for dfatool behaviour models
Diffstat (limited to 'TRNS/support/common.h')
-rwxr-xr-xTRNS/support/common.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/TRNS/support/common.h b/TRNS/support/common.h
index 2ba56c5..6a94c62 100755
--- a/TRNS/support/common.h
+++ b/TRNS/support/common.h
@@ -14,16 +14,18 @@
// Data type
#define T int64_t
+enum kernels {
+ kernel1 = 0,
+ kernel2 = 1,
+ nr_kernels = 2,
+};
+
// Structures used by both the host and the dpu to communicate information
typedef struct {
uint32_t m;
uint32_t n;
uint32_t M_;
- enum kernels {
- kernel1 = 0,
- kernel2 = 1,
- nr_kernels = 2,
- } kernel;
+ enum kernels kernel;
} dpu_arguments_t;
#ifndef ENERGY