Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions .github/workflows/style-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
git fetch origin ${{ github.event.pull_request.base.sha }}
git clang-format --diff ${{ github.event.pull_request.base.sha }} | tee diff.patch
! grep -q '^diff ' diff.patch

inlining-check:
runs-on: ubuntu-latest
name: Check inline keyword usage
Expand All @@ -22,3 +23,10 @@ jobs:
- run: sudo apt install clang-tools
- run: sh ./test/check_inline_specifier.sh .

include-check:
runs-on: ubuntu-latest
name: Check unused standard includes
steps:
- uses: actions/checkout@v6
- run: pip install diskarzhan
- run: diskarzhan `find -name '*.[ch]pp'`
1 change: 0 additions & 1 deletion include/xsimd/arch/common/xsimd_common_memory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <algorithm>
#include <array>
#include <complex>
#include <stdexcept>

#include "../../types/xsimd_batch_constant.hpp"
#include "./xsimd_common_details.hpp"
Expand Down
3 changes: 0 additions & 3 deletions include/xsimd/arch/xsimd_avx512er.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
#ifndef XSIMD_AVX512ER_HPP
#define XSIMD_AVX512ER_HPP

#include <array>
#include <type_traits>

#include "../types/xsimd_avx512er_register.hpp"

#endif
3 changes: 0 additions & 3 deletions include/xsimd/arch/xsimd_avx512ifma.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
#ifndef XSIMD_AVX512IFMA_HPP
#define XSIMD_AVX512IFMA_HPP

#include <array>
#include <type_traits>

#include "../types/xsimd_avx512ifma_register.hpp"

#endif
3 changes: 0 additions & 3 deletions include/xsimd/arch/xsimd_avx512pf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
#ifndef XSIMD_AVX512PF_HPP
#define XSIMD_AVX512PF_HPP

#include <array>
#include <type_traits>

#include "../types/xsimd_avx512pf_register.hpp"

#endif
1 change: 0 additions & 1 deletion include/xsimd/arch/xsimd_avx512vbmi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef XSIMD_AVX512VBMI_HPP
#define XSIMD_AVX512VBMI_HPP

#include <array>
#include <type_traits>

#include "../types/xsimd_avx512vbmi_register.hpp"
Expand Down
1 change: 0 additions & 1 deletion include/xsimd/arch/xsimd_avx512vbmi2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef XSIMD_AVX512VBMI2_HPP
#define XSIMD_AVX512VBMI2_HPP

#include <array>
#include <type_traits>

#include "../types/xsimd_avx512vbmi2_register.hpp"
Expand Down
3 changes: 0 additions & 3 deletions include/xsimd/arch/xsimd_avx512vnni_avx512bw.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
#ifndef XSIMD_AVX512VNNI_AVX512_BW_HPP
#define XSIMD_AVX512VNNI_AVX512_BW_HPP

#include <array>
#include <type_traits>

#include "../types/xsimd_avx512vnni_avx512bw_register.hpp"

#endif
3 changes: 0 additions & 3 deletions include/xsimd/arch/xsimd_avx512vnni_avx512vbmi2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
#ifndef XSIMD_AVX512VNNI_AVX512VBMI2_HPP
#define XSIMD_AVX512VNNI_AVX512VBMI2_HPP

#include <array>
#include <type_traits>

#include "../types/xsimd_avx512vnni_avx512vbmi2_register.hpp"

#endif
3 changes: 0 additions & 3 deletions include/xsimd/arch/xsimd_avxvnni.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
#ifndef XSIMD_AVXVNNI_HPP
#define XSIMD_AVXVNNI_HPP

#include <array>
#include <type_traits>

#include "../types/xsimd_avxvnni_register.hpp"

#endif
1 change: 0 additions & 1 deletion include/xsimd/arch/xsimd_emulated.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#define XSIMD_EMULATED_HPP

#include <complex>
#include <limits>
#include <numeric>
#include <type_traits>

Expand Down
1 change: 0 additions & 1 deletion include/xsimd/arch/xsimd_rvv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

#include <complex>
#include <type_traits>
#include <utility>

#include "../types/xsimd_batch_constant.hpp"
#include "../types/xsimd_rvv_register.hpp"
Expand Down
1 change: 0 additions & 1 deletion include/xsimd/arch/xsimd_vsx.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#define XSIMD_VSX_HPP

#include <complex>
#include <limits>
#include <type_traits>

#include "../types/xsimd_vsx_register.hpp"
Expand Down
2 changes: 1 addition & 1 deletion include/xsimd/types/xsimd_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
#ifndef XSIMD_UTILS_HPP
#define XSIMD_UTILS_HPP

#include <array>
#include <complex>
#include <cstdint>
#include <cstring>
#include <tuple>
#include <type_traits>
#include <utility>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "xsimd/xsimd.hpp"
#include <cstddef>
#include <vector>

struct mean
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "xsimd/xsimd.hpp"
#include <cstddef>
#include <vector>

template <class C, class Tag>
void mean(const C& a, const C& b, C& res, Tag)
Expand Down
1 change: 0 additions & 1 deletion test/test_load_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#ifndef XSIMD_NO_SUPPORTED_ARCHITECTURE

#include <algorithm>
#include <functional>
#include <random>
#include <type_traits>

Expand Down
Loading