diff options
author | Kota Tsuyuzaki <tsuyuzaki.kota@lab.ntt.co.jp> | 2016-11-03 04:54:19 -0700 |
---|---|---|
committer | Kota Tsuyuzaki <tsuyuzaki.kota@lab.ntt.co.jp> | 2016-12-06 17:08:55 -0800 |
commit | 8d067ab2f631b147745e5eb3cf85056042c1439e (patch) | |
tree | bd2aaa2b70ab17418f9e62eab525aae6425369af /src/Makefile.am | |
parent | 0a2c06b8b446cbe4fda89c18c20b069728c70323 (diff) | |
download | liberasurecode-8d067ab2f631b147745e5eb3cf85056042c1439e.tar.gz |
ISA-L Cauchy support
This is for supporting ISA-L cauchy based matrix. The difference
from isa_l_rs_vand is only the matrix to use the encode/decode calculation.
As a known issue, isa_l_rs_vand backend has constraint for the
combinations of the available fragment to be able to decode/reconstuct.
(See related change in detail)
To avoid the constraint, this patch adds another isa-l backend to use
cauchy matrix and keep the backward compatibility, this is in
another isa_l_rs_cauchy namespace.
For implementation consieration, the code is almost same except the matrix
generation fucntion so that this patch makes isa_l_common.c file for
gathering common fucntions like init/encode/decode/reconstruct. And then the
common init funciton takes an extra args "gen_matrix_func_name" for entry
point to load the fucntion by dlsym from isa-l .so file.
Co-Authored-By: Clay Gerrard <clay.gerrard@gmail.com>
Related-Change: Icee788a0931fe692fe0de31fabc4ba450e338a87
Change-Id: I6eb150d9d0c3febf233570fa7729f9f72df2e9be
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 2566f74..eb2f89f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,6 +6,7 @@ INCLUDES = \ -I$(top_srcdir)/include/erasurecode \ -I$(top_srcdir)/include/xor_codes \ -I$(top_srcdir)/include/rs_vand \ + -I$(top_srcdir)/include/isa_l \ -I$(top_srcdir)/include/shss # liberasurecode params @@ -20,7 +21,9 @@ liberasurecode_la_SOURCES = \ backends/xor/flat_xor_hd.c \ backends/jerasure/jerasure_rs_vand.c \ backends/jerasure/jerasure_rs_cauchy.c \ + backends/isa-l/isa_l_common.c \ backends/isa-l/isa_l_rs_vand.c \ + backends/isa-l/isa_l_rs_cauchy.c \ backends/rs_vand/liberasurecode_rs_vand.c \ builtin/rs_vand/rs_galois.c \ backends/shss/shss.c |