summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-07-25 14:55:44 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-07-25 14:55:44 +0200
commit89391d184bfe304b5415b8f7ef64a94a491cc79d (patch)
treee430e8db317ec6276a91a3fb1970e47aef4e712c /src
parent7b7efb98cd5ffe40e91d9aeddd41c9c7973e717a (diff)
downloaddabmod-89391d184bfe304b5415b8f7ef64a94a491cc79d.tar.gz
dabmod-89391d184bfe304b5415b8f7ef64a94a491cc79d.tar.bz2
dabmod-89391d184bfe304b5415b8f7ef64a94a491cc79d.zip
Improve Block Partitioner error message
Diffstat (limited to 'src')
-rw-r--r--src/BlockPartitioner.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/BlockPartitioner.cpp b/src/BlockPartitioner.cpp
index 15fa934..6d216c1 100644
--- a/src/BlockPartitioner.cpp
+++ b/src/BlockPartitioner.cpp
@@ -102,12 +102,15 @@ int BlockPartitioner::process(std::vector<Buffer*> dataIn, Buffer* dataOut)
#endif
if (dataIn[0]->getLength() != d_ficSize) {
+ fprintf(stderr, "FIC is length %zu, should be %zu\n",
+ dataIn[0]->getLength(), d_ficSize);
+
throw std::runtime_error(
- "BlockPartitioner::process input size not valid!");
+ "BlockPartitioner::process input 0 size not valid!");
}
if (dataIn[1]->getLength() != d_cifSize) {
throw std::runtime_error(
- "BlockPartitioner::process input size not valid!");
+ "BlockPartitioner::process input 1 size not valid!");
}
// Synchronize CIF phase