diff options
Diffstat (limited to 'TRNS/support/common.h')
-rwxr-xr-x | TRNS/support/common.h | 12 |
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 |