summaryrefslogtreecommitdiff
path: root/BS/support/common.h
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-07-04 15:55:35 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-07-04 15:55:35 +0200
commit501522e8f2ce9c09ec81071e81da0e131be7153a (patch)
tree99bfef35e0d326b5409d5084250c7d9e30c7e495 /BS/support/common.h
parent207a5fcf7f2d482f117a3d4a54484daf1fae92e2 (diff)
BS: configurable input size
Diffstat (limited to 'BS/support/common.h')
-rwxr-xr-xBS/support/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/BS/support/common.h b/BS/support/common.h
index 413a6f8..dbd050c 100755
--- a/BS/support/common.h
+++ b/BS/support/common.h
@@ -10,6 +10,7 @@
#endif
// Transfer size between MRAM and WRAM
+// BL=10 does not work here.
#ifdef BL
#define BLOCK_SIZE_LOG2 BL
#define BLOCK_SIZE (1 << BLOCK_SIZE_LOG2)
@@ -22,7 +23,9 @@
#define DTYPE int64_t
// Vector size
+#ifndef INPUT_SIZE
#define INPUT_SIZE 2048576
+#endif
typedef struct {
uint64_t input_size;