Skip to content

Commit

Permalink
Use pointers to pass in s32fc arguments
Browse files Browse the repository at this point in the history
This avoids undefined behaviour arising from incompatibility between
complex numbers in C and C++.

Signed-off-by: Clayton Smith <[email protected]>
  • Loading branch information
argilo committed Nov 9, 2023
1 parent 56a893c commit 9f5354e
Show file tree
Hide file tree
Showing 14 changed files with 1,772 additions and 1,220 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ jobs:
submodules: 'recursive'
- uses: uraimo/[email protected]
name: Build in non-x86 container
continue-on-error: ${{ contains(fromJson('["ppc64le", "s390x"]'), matrix.arch) }}
id: build
with:
arch: ${{ matrix.arch }}
Expand Down Expand Up @@ -153,7 +152,9 @@ jobs:
cmake -DCMAKE_CXX_FLAGS="-Werror" -DBUILD_EXECUTABLE=ON ..
echo "Build with $(nproc) thread(s)"
make -j$(nproc)
./cpu_features/list_cpu_features
if [ -f ./cpu_features/list_cpu_features ]; then
./cpu_features/list_cpu_features
fi
./apps/volk-config-info --alignment
./apps/volk-config-info --avail-machines
./apps/volk-config-info --all-machines
Expand Down
3 changes: 3 additions & 0 deletions docs/kernels.dox
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
\li \subpage volk_32f_cos_32f
\li \subpage volk_32fc_s32f_atan2_32f
\li \subpage volk_32fc_s32fc_multiply_32fc
\li \subpage volk_32fc_s32fc_multiply2_32fc
\li \subpage volk_32fc_s32fc_x2_rotator_32fc
\li \subpage volk_32fc_s32fc_x2_rotator2_32fc
\li \subpage volk_32fc_s32f_deinterleave_real_16i
\li \subpage volk_32fc_s32f_magnitude_16i
\li \subpage volk_32fc_s32f_power_32fc
Expand All @@ -63,6 +65,7 @@
\li \subpage volk_32fc_x2_multiply_32fc
\li \subpage volk_32fc_x2_multiply_conjugate_32fc
\li \subpage volk_32fc_x2_s32fc_multiply_conjugate_add_32fc
\li \subpage volk_32fc_x2_s32fc_multiply_conjugate_add2_32fc
\li \subpage volk_32fc_x2_s32f_square_dist_scalar_mult_32f
\li \subpage volk_32fc_x2_square_dist_32f
\li \subpage volk_32f_exp_32f
Expand Down
Loading

0 comments on commit 9f5354e

Please sign in to comment.