Skip to content

Commit

Permalink
Merge branch 'ermig1979:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
samkenxstream authored Jul 20, 2023
2 parents eee0a98 + 0235068 commit 312b951
Show file tree
Hide file tree
Showing 104 changed files with 11,408 additions and 2,969 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: lscpu

- name: Configure CMake
run: cmake ./prj/cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DSIMD_TEST_FLAGS="-mavx2"
run: cmake ./prj/cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DSIMD_AVX512VNNI=ON -DSIMD_TEST_FLAGS="-march=native"

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --parallel$(nproc)
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
run: sudo apt-get -y install clang

- name: Configure CMake
run: cmake ./prj/cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DSIMD_TOOLCHAIN="clang" -DSIMD_TARGET=""
run: cmake ./prj/cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DSIMD_TOOLCHAIN="clang" -DSIMD_TARGET="" -DSIMD_TEST_FLAGS="-march=native"

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --parallel$(nproc)
Expand All @@ -122,7 +122,7 @@ jobs:
working-directory: ${{github.workspace}}/build
run: ./Test "-r=.." -m=a -tt=$(nproc) "-ot=log_${{matrix.build_type}}.txt" -ts=10

build_and_test_gcc_12:
build_and_test_gcc_13:
runs-on: ubuntu-latest

strategy:
Expand All @@ -136,10 +136,10 @@ jobs:
run: lscpu

- name: Install toolchain
run: sudo apt-get -y install g++-12
run: sudo apt-get -y install g++-13

- name: Configure CMake
run: cmake ./prj/cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DSIMD_TOOLCHAIN="g++-12" -DSIMD_TARGET="" -DSIMD_AVX512VNNI=ON
run: cmake ./prj/cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DSIMD_TOOLCHAIN="g++-13" -DSIMD_TARGET="" -DSIMD_AVX512VNNI=ON -DSIMD_AVX512BF16=ON -DSIMD_TEST_FLAGS="-march=native"

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --parallel$(nproc)
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
run: wmic cpu get /format:value

- name: Configure CMake
run: cmake ./prj/cmake -B build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DSIMD_TARGET="x86_64" -DSIMD_GET_VERSION=OFF
run: cmake ./prj/cmake -B build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DSIMD_TARGET="x86_64" -DSIMD_GET_VERSION=OFF -DSIMD_TEST_FLAGS="-march=native"

- name: Build
run: cmake --build build --config ${{matrix.build_type}} --parallel2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: nuget restore ./prj/vs2022 -Project2ProjectTimeOut 300

- name: Host properties
run: wmic cpu get /format:value
run: wmic cpu get Name,NumberOfCores,NumberOfLogicalProcessors /format:value

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
run: nuget restore ./prj/vs2019 -Project2ProjectTimeOut 300

- name: Host properties
run: wmic cpu get /format:value
run: wmic cpu get Name,NumberOfCores,NumberOfLogicalProcessors /format:value

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
Start-Process -Wait sdksetup.exe -ArgumentList "/q", "/norestart", "/features", "OptionId.WindowsDesktopSoftwareDevelopmentKit", "OptionId.NetFxSoftwareDevelopmentKit"
- name: Host properties
run: wmic cpu get /format:value
run: wmic cpu get Name,NumberOfCores,NumberOfLogicalProcessors /format:value

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
Start-Process -Wait sdksetup.exe -ArgumentList "/q", "/norestart", "/features", "OptionId.WindowsDesktopSoftwareDevelopmentKit", "OptionId.NetFxSoftwareDevelopmentKit"
- name: Host properties
run: wmic cpu get /format:value
run: wmic cpu get Name,NumberOfCores,NumberOfLogicalProcessors /format:value

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
Expand Down
65 changes: 64 additions & 1 deletion docs/2023.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,64 @@ <h1>Simd Library Release Notes (2023).</h1>
</center>

<hr/>
<h3 id="R127">July 5, 2023 (version X.X.127)</h3>
<h3 id="R128">August X, 2023 (version X.X.128)</h3>
<h4>Algorithms</h4>
<h5>New features</h5>
<ul>
<li>Support of SimdCpuInfoRam in function SimdCpuInfo.</li>
<li>Support of SimdCpuInfoRam in function Simd::PrintInfo.</li>
<li>Base implementation of function SimdCpuDesc.</li>
</ul>
<h5>Bug fixing</h5>
<ul>
<li>Error in AVX-512VNNI optimizations of class SynetMergedConvolution8iCdc.</li>
<li>Error in AVX-512VNNI optimizations of class SynetMergedConvolution8iCd.</li>
<li>Error in AVX-512VNNI optimizations of class SynetMergedConvolution8iDc.</li>
<li>Error (assert) in Base implementation of class ResizerNearest.</li>
</ul>

<h4>Test framework</h4>
<h5>Improving</h5>
<ul>
<li>WIN32 performance report.</li>
</ul>

<h4>Infrastructure</h4>
<h5>New features</h5>
<ul>
<li>Github actions script for CMake (build and test for GCC-13 (instead of GCC-12), Linux).</li>
</ul>

<h4>Documentation</h4>
<h5>Bug fixing</h5>
<ul>
<li>Wrong description of function SimdDescrIntInit.</li>
</ul>

<hr/>
<h3 id="R127">July 4, 2023 (version 5.3.127)</h3>
<h4>Algorithms</h4>
<h5>New features</h5>
<ul>
<li>Base implementation, SSE4.1, AVX2, AVX-512BW optimizations of function DescrIntEncode16f.</li>
<li>Base implementation, SSE4.1, AVX2, AVX-512BW optimizations of function DescrIntDecode16f.</li>
<li>Support of 4-bit and 5-bit depth in Base implementation, SSE4.1, AVX2, AVX-512BW optimizations of function DescrIntEncode32f.</li>
<li>Support of 4-bit and 5-bit depth in Base implementation, SSE4.1, AVX2, AVX-512BW optimizations of function DescrIntEncode16f.</li>
<li>Support of 4-bit and 5-bit depth in Base implementation, SSE4.1, AVX2, AVX-512BW optimizations of function DescrIntDecode32f.</li>
<li>Support of 4-bit and 5-bit depth in Base implementation, SSE4.1, AVX2, AVX-512BW optimizations of function DescrIntDecode16f.</li>
<li>Support of 4-bit and 5-bit depth in Base implementation, SSE4.1, AVX2, AVX-512BW optimizations of function DescrIntCosineDistance.</li>
<li>Support of 4-bit and 5-bit depth in Base implementation, SSE4.1, AVX2, AVX-512BW, AVX-512VNNI optimizations of function DescrIntCosineDistancesMxNp.</li>
<li>Support of 4-bit and 5-bit depth in Base implementation, SSE4.1, AVX2, AVX-512BW, AVX-512VNNI optimizations of function DescrIntCosineDistancesMxNa.</li>
<li>Base implementation, SSE4.1, AVX2, AVX-512BW optimizations of function SynetNormalizeLayerForwardV3.</li>
</ul>
<h5>Improving</h5>
<ul>
<li>SSE4.1, AVX2, AVX-512BW optimizations of function DescrIntCosineDistancesMxNp for 4, 5, 6, 7-bits depth.</li>
<li>SSE4.1, AVX2, AVX-512BW optimizations of function DescrIntCosineDistancesMxNa for 4, 5, 6, 7-bits depth.</li>
</ul>
<h5>Bug fixing</h5>
<ul>
<li>Compiler error in file SimdYuvToBgr.h.</li>
</ul>
<h5>Renaming</h5>
<ul>
Expand All @@ -51,6 +103,17 @@ <h5>New features</h5>
<ul>
<li>Tests for verifying functionality of function DescrIntEncode16f.</li>
<li>Tests for verifying functionality of function DescrIntDecode16f.</li>
<li>Tests for verifying functionality of function SynetNormalizeLayerForwardV3</li>
</ul>
<h5>Improving</h5>
<ul>
<li>WIN32 exception handling.</li>
</ul>

<h4>Infrastructure</h4>
<h5>Improving</h5>
<ul>
<li>Host Properties step in Github actions script for MSBuild.</li>
</ul>

<a href="#HOME">Home</a>
Expand Down
3 changes: 3 additions & 0 deletions docs/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ <h1>Simd Library Download.</h1>
<h3>2023</h3>
<table width=1012 border="1" style='border-collapse:collapse'>
<tr align="center" style="background-color:#e0e0e0; font-weight:bold"> <td>Release Notes</td> <td>Download Link</td> <td>Size</td> </tr>
<tr> <td align="center"> <a href="2023.html#R127">July 4, 2023</a> </td>
<td align="center"> <a href="https://github.com/ermig1979/Simd/archive/refs/tags/v5.3.127.zip">Simd-5.3.127.zip</a> </td>
<td align="center">5.9 MB</td> </tr>
<tr> <td align="center"> <a href="2023.html#R126">June 5, 2023</a> </td>
<td align="center"> <a href="https://github.com/ermig1979/Simd/archive/refs/tags/v5.3.126.zip">Simd-5.3.126.zip</a> </td>
<td align="center">5.9 MB</td> </tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/help/class_simd_1_1_font.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 27 additions & 1 deletion docs/help/group__c__types.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions docs/help/group__descrint.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 312b951

Please sign in to comment.