This commit is contained in:
Christopher Taylor 2017-05-29 02:51:19 -07:00
parent 94bf94771e
commit 412fef86c0
2 changed files with 3 additions and 3 deletions

View File

@ -964,7 +964,7 @@ void ReedSolomonEncode(
const unsigned range = width << 1;
#ifdef LEO_SCHEDULE_OPT
const unsigned stop = ((last_count + width - 1) >> shift) << shift;
const unsigned stop = ((last_count + range - 1) >> shift) << shift;
for (unsigned j = width; j < stop; j += range)
#else
for (unsigned j = width; j < m; j += range)

View File

@ -46,10 +46,10 @@ struct TestParameters
unsigned recovery_count = 100; // under 65536 - original_count
#else
unsigned original_count = 3; // under 65536
unsigned recovery_count = 2; // under 65536 - original_count
unsigned recovery_count = 3; // under 65536 - original_count
#endif
unsigned buffer_bytes = 64000; // multiple of 64 bytes
unsigned loss_count = 2; // some fraction of original_count
unsigned loss_count = 3; // some fraction of original_count
unsigned seed = 0;
bool multithreaded = true;
};