Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
fa3b28a
Support for >64 CPU systems
yok7 Jul 13, 2025
6654b8f
Support for >64 CPU systems
yok7 Jul 13, 2025
601c8c2
Support for >64 CPU systems in NCNN.Fix CMakeLists error.
yok7 Jul 15, 2025
f7937bd
Fix uint64_t compilation errors and implement >64 CPU support
yok7 Jul 16, 2025
d2ccaf9
apply code-format changes
yok7 Jul 16, 2025
5c01e05
Add missing <utility> header for std::pair usage
yok7 Jul 17, 2025
81f1aa9
Fix NCNN_SIMPLESTL compatibility and improve bit shift safety
yok7 Jul 17, 2025
6a6dc19
apply code-format changes
yok7 Jul 17, 2025
2f523ea
Fix Windows ARM compatibility for popcount64 function
yok7 Jul 17, 2025
6f9b674
Fix compilation and test issues
yok7 Jul 17, 2025
bcac382
Merge branch 'feature/support-64plus-cpu' of https://github.com/yok7/…
yok7 Jul 17, 2025
5588f3b
Fix aarch64-native simplestl-simplemath compilation
yok7 Jul 17, 2025
3d563cd
Fix popcount64 linking issue and improve compatibility
yok7 Jul 23, 2025
c475868
Support for >64 CPU systems
yok7 Jul 13, 2025
f83865a
Support for >64 CPU systems
yok7 Jul 13, 2025
b493070
Support for >64 CPU systems in NCNN.Fix CMakeLists error.
yok7 Jul 15, 2025
e38e779
Fix uint64_t compilation errors and implement >64 CPU support
yok7 Jul 16, 2025
b18ec23
apply code-format changes
yok7 Jul 16, 2025
5859584
Add missing <utility> header for std::pair usage
yok7 Jul 17, 2025
252f306
Fix NCNN_SIMPLESTL compatibility and improve bit shift safety
yok7 Jul 17, 2025
cc76653
apply code-format changes
yok7 Jul 17, 2025
6105437
Fix Windows ARM compatibility for popcount64 function
yok7 Jul 17, 2025
b6779e8
Fix compilation and test issues
yok7 Jul 17, 2025
a356f6e
Fix aarch64-native simplestl-simplemath compilation
yok7 Jul 17, 2025
1b3bb3f
Fix popcount64 linking issue and improve compatibility
yok7 Jul 23, 2025
991fca8
Merge branch 'feature/support-64plus-cpu' of https://github.com/yok7/…
yok7 Jul 24, 2025
cfb4221
Add GitHub Actions CI for >64 CPU support testing
yok7 Jul 24, 2025
aa587fd
Add CPU support test workflow for >64 CPU validation
yok7 Jul 24, 2025
d93ecb2
Merge branch 'master' into feature/support-64plus-cpu
nihui Sep 10, 2025
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
53 changes: 53 additions & 0 deletions .github/workflows/cpu-support-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: CPU Support Test

on:
push:
branches: [ feature/support-64plus-cpu ]
pull_request:
branches: [ master ]

jobs:
windows-test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup MSVC
uses: microsoft/setup-msbuild@v2
- name: Build NCNN
run: |
mkdir build
cd build
cmake -G "Visual Studio 17 2022" -A x64 -DNCNN_BUILD_TESTS=ON ..
cmake --build . --config Release --parallel 4
- name: Test CPU functionality
run: |
cd build
if (Test-Path "tests/Release/test_cpu.exe") {
echo "βœ“ test_cpu.exe compiled successfully"
.\tests\Release\test_cpu.exe
}
- name: Test popcount64 linking
run: |
cd build
ctest -C Release --output-on-failure -R "test_cpu" --parallel 2

linux-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential cmake
- name: Build NCNN
run: |
mkdir build
cd build
cmake -DNCNN_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Release ..
make -j$(nproc)
- name: Test CPU functionality
run: |
cd build
./tests/test_cpu
- name: Run tests
run: |
cd build
ctest --output-on-failure --parallel $(nproc)
37 changes: 37 additions & 0 deletions .github/workflows/linux-high-cpu-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Linux >64 CPU Support Test

on:
push:
branches: [ feature/support-64plus-cpu ]
pull_request:
branches: [ master ]

jobs:
linux-build-test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake

- name: Build NCNN
run: |
mkdir build
cd build
cmake -DNCNN_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Release ..
make -j$(nproc)

- name: Test CPU functionality
run: |
cd build
./tests/test_cpu

- name: Run comprehensive tests
run: |
cd build
ctest --output-on-failure --parallel $(nproc)
38 changes: 38 additions & 0 deletions .github/workflows/windows-high-cpu-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Windows >64 CPU Support Test

on:
push:
branches: [ feature/support-64plus-cpu ]
pull_request:
branches: [ master ]

jobs:
windows-build-test:
runs-on: windows-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup MSVC
uses: microsoft/setup-msbuild@v2

- name: Build NCNN with MSVC
run: |
mkdir build-msvc
cd build-msvc
cmake -G "Visual Studio 17 2022" -A x64 -DNCNN_BUILD_TESTS=ON ..
cmake --build . --config Release --parallel 4

- name: Test popcount64 linking
run: |
cd build-msvc
if (Test-Path "tests/Release/test_cpu.exe") {
echo "βœ“ test_cpu.exe compiled successfully"
.\tests\Release\test_cpu.exe
}

- name: Run critical tests
run: |
cd build-msvc
ctest -C Release --output-on-failure -R "test_cpu|test_mat" --parallel 2
Empty file added 64
Empty file.
Loading
Loading