Make erasure matrix type not optional choose automatically

Remove option of providing Technique and handling errors based on that
choose a matrix type automatically based on number of data blocks.

INTEL recommends on using cauchy for consistent invertible matrices,
while vandermonde is faster we should default to cauchy for large
data blocks.
This commit is contained in:
Harshavardhana
2015-10-05 22:33:39 -07:00
parent cf0e1a156b
commit d5ce2f6944
13 changed files with 67 additions and 175 deletions

View File

@@ -19,7 +19,7 @@
#include <stdint.h>
int32_t minio_init_encoder (int technique, int k, int m,
int32_t minio_init_encoder (int k, int m,
unsigned char **encode_matrix,
unsigned char **encode_tbls);