diff options
author | Josh Blum | 2013-06-06 13:30:06 -0700 |
---|---|---|
committer | Josh Blum | 2013-06-06 13:47:38 -0700 |
commit | 11777b58e9c89a9496bf0f11db16fd9b085afc36 (patch) | |
tree | 0e3119e312876c8ede51c1a84e500c647c59e7e2 /include/gras/top_block.hpp | |
parent | b7c8f27d47ca78d2b07e7a4cb53d1c8df6eb32d6 (diff) | |
download | sandhi-11777b58e9c89a9496bf0f11db16fd9b085afc36.tar.gz sandhi-11777b58e9c89a9496bf0f11db16fd9b085afc36.tar.bz2 sandhi-11777b58e9c89a9496bf0f11db16fd9b085afc36.zip |
gras: moved config structs into own header
Diffstat (limited to 'include/gras/top_block.hpp')
-rw-r--r-- | include/gras/top_block.hpp | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/include/gras/top_block.hpp b/include/gras/top_block.hpp index 17f1e30..415c03e 100644 --- a/include/gras/top_block.hpp +++ b/include/gras/top_block.hpp @@ -3,33 +3,12 @@ #ifndef INCLUDED_GRAS_TOP_BLOCK_HPP #define INCLUDED_GRAS_TOP_BLOCK_HPP +#include <gras/block_config.hpp> #include <gras/hier_block.hpp> namespace gras { -struct GRAS_API GlobalBlockConfig -{ - GlobalBlockConfig(void); - - /*! - * Constrain the maximum number of items that - * work can be called with for all output ports. - * - * Default = 0 aka disabled. - */ - size_t maximum_output_items; - - /*! - * Set the global memory node affinity. - * Blocks that have not been explicitly set, - * will take on this new buffer_affinity. - * - * Default = -1 aka no affinity. - */ - long buffer_affinity; -}; - struct GRAS_API TopBlock : HierBlock { TopBlock(void); |