Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fec FNT: enhancement by focusing on Buffers #282

Open
wants to merge 43 commits into
base: ft/Buffers_stores_data_and_meta
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
60c478e
Fix typo circleci test
lamphamsy May 17, 2019
563a909
Make RingModN working with new Buffers
lamphamsy Apr 25, 2019
0286667
Make Radix-2 FFT working with new Buffers
lamphamsy Apr 25, 2019
eccabf1
Make naive FFT working with new Buffers
lamphamsy Apr 25, 2019
0736e03
Update fft test
lamphamsy Apr 25, 2019
01b6a8e
Fec base: make fnt working with new Buffers
lamphamsy Apr 25, 2019
5337fcd
Fec context: working with new Buffers
lamphamsy Apr 25, 2019
dea9186
RsFnt: working with new Buffers
lamphamsy Apr 25, 2019
3ff8bbe
Fec utest: update & add test for vertical fec
lamphamsy Apr 25, 2019
7988805
EC driver: correct type for FNT
lamphamsy Apr 25, 2019
68a0bb9
RsFNT: support systematic horizontal codec
lamphamsy Apr 26, 2019
4378e46
FecBase: for supporting systematic horizontal RsFnt
lamphamsy Apr 26, 2019
1e1b5b8
FecBase: block vertical codec supports meta buffers
lamphamsy Apr 27, 2019
490b2ac
Property: fnt (de)serialize (get) stores both key and marker
lamphamsy Apr 27, 2019
666d629
Quadiron C test: a quick fix
lamphamsy Apr 27, 2019
e8fb886
RsNf4 works with updated in FecBase
lamphamsy Apr 29, 2019
6ebb21f
Fec utest: update Fnt and Nf4 tests
lamphamsy Apr 26, 2019
7bc320b
SIMD: move encode_post_process to simd_fnt
lamphamsy Apr 30, 2019
4425e01
[SIMD] simd_256
lamphamsy May 1, 2019
aaf1a48
[SIMD] simd_128
lamphamsy May 17, 2019
34e6033
[SIMD] simd_radix2_fft
lamphamsy May 1, 2019
0221e48
[SIMD] simd definitions
lamphamsy May 1, 2019
b694c8d
[SIMD] simd_fnt.h
lamphamsy May 15, 2019
498da85
[SIMD] simd_ring
lamphamsy May 16, 2019
a78cb04
[SIMD] simd_nf4.h
lamphamsy May 17, 2019
b5586f1
[SIMD test] add functional & perf tests for simd_fnt
lamphamsy May 15, 2019
e417ca0
Update fec_vectorisation
lamphamsy May 15, 2019
2661e0f
RingModN: works for SIMD. Note, not vectorize functions for fft_2
lamphamsy May 16, 2019
cbaa52b
[enhance] gf_ring.cpp
lamphamsy May 16, 2019
1f146d2
[fix][Buffers.h] missing & to avoid copying object
lamphamsy May 23, 2019
a64d492
[fix][vec_cast.h] missing & to avoid copying object
lamphamsy May 23, 2019
f403672
[Fixme] Fft2n works only for meta Buffers
lamphamsy May 17, 2019
9fecf1b
FFT utest: fix for meta, not worked yet for non-meta
lamphamsy May 15, 2019
aea9763
[Fixme][FecTest] FecNf4 works only for type != short & int
lamphamsy May 17, 2019
6462dfd
[fix][Buffers test] missing & to avoid copying object
lamphamsy May 23, 2019
2ddad30
[fix][Fec test] missing & to avoid copying object
lamphamsy May 23, 2019
d8b5f9f
[fix][Fec base] missing & to avoid copying object
lamphamsy May 23, 2019
dafe668
Benchmark script test: FecFnt supports only T = 2*w
lamphamsy May 17, 2019
9f7034a
Commented long codelength in ec_driver's test
lamphamsy May 27, 2019
c070e13
[Perf test] add fft test
lamphamsy Jun 11, 2019
da40f7e
[SIMD][FNT] add vec_buffers header
lamphamsy Jun 11, 2019
d0a931a
[SIMD][TEST] remove perf code
lamphamsy Jun 11, 2019
cc7caa3
[PERF][Test] fnt perf
lamphamsy Jun 11, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
CXX=/usr/bin/clang++-6.0 cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Debug -DUSE_SIMD=SSE .. &&
make
- run:
name: Compile with Clang 6 (Debug mode/SSE)
name: Compile with Clang 6 (Debug mode/AVX)
command: >
rm -rf build && mkdir build && cd build &&
CXX=/usr/bin/clang++-6.0 cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Debug -DUSE_SIMD=AVX .. &&
Expand Down
32 changes: 15 additions & 17 deletions scripts/benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,24 +44,22 @@ fi

chunk_size=51200
# for rs-fnt with different packet sizes
word_size=2
for word_size in 1 2; do
for type_size in 2 4; do
max_len=$((256**word_size))
if ((type_size>word_size)); then
for ec_type in rs-fnt rs-fnt-sys; do
for k in 16 64; do
for n in 32 256 1024; do
if ((n<max_len)) && ((n>k)); then
m=$((n-k))
for pkt_size in 512; do
${bin} -e ${ec_type} -w ${word_size} -t ${type_size} -k ${k} -m ${m} -c ${chunk_size} -s ${sce_type} -g ${threads_nb} -f ${show_type} -p ${pkt_size} -n ${samples_nb}
show_type=0
done
fi
type_size=$((word_size*2))
max_len=$((256**word_size))
if ((type_size>word_size)); then
for ec_type in rs-fnt rs-fnt-sys; do
for k in 16 64; do
for n in 32 256 1024; do
if ((n<max_len)) && ((n>k)); then
m=$((n-k))
for pkt_size in 512; do
${bin} -e ${ec_type} -w ${word_size} -t ${type_size} -k ${k} -m ${m} -c ${chunk_size} -s ${sce_type} -g ${threads_nb} -f ${show_type} -p ${pkt_size} -n ${samples_nb}
show_type=0
done
done
fi
done
fi
done
done
done
fi
done
2 changes: 1 addition & 1 deletion scripts/test_ec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ do
fec_type=$(echo $i|cut -d_ -f1)
word_size=$(echo $i|cut -d_ -f2)

do_test enconly ${fec_type} ${word_size} 50 50 "" ""
# do_test enconly ${fec_type} ${word_size} 50 50 "" ""
do_test all ${fec_type} ${word_size} 3 3 "" ""
do_test all ${fec_type} ${word_size} 3 3 "0 1" "0"
do_test all ${fec_type} ${word_size} 3 5 "0 1" "0"
Expand Down
Loading