From 8e71c657efe8c10648849a7dc31c1689bbc7882d Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 16 Jan 2025 08:15:29 +0100 Subject: COUNT: indent -linux --- COUNT/support/common.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'COUNT/support/common.h') diff --git a/COUNT/support/common.h b/COUNT/support/common.h index 72270b0..afd5b2d 100755 --- a/COUNT/support/common.h +++ b/COUNT/support/common.h @@ -3,15 +3,15 @@ // Structures used by both the host and the dpu to communicate information typedef struct { - uint32_t size; + uint32_t size; enum kernels { - kernel1 = 0, - nr_kernels = 1, + kernel1 = 0, + nr_kernels = 1, } kernel; } dpu_arguments_t; typedef struct { - uint32_t t_count; + uint32_t t_count; } dpu_results_t; // Transfer size between MRAM and WRAM @@ -26,11 +26,12 @@ typedef struct { // Data type #define T uint64_t -#define REGS (BLOCK_SIZE >> 3) // 64 bits +#define REGS (BLOCK_SIZE >> 3) // 64 bits // Sample predicate -bool pred(const T x){ - return (x % 2) == 0; +bool pred(const T x) +{ + return (x % 2) == 0; } #ifndef ENERGY -- cgit v1.2.3