forked from fast-pack/FastPFor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request fast-pack#108 from seb711/simde
Add ARM Support for FastPFOR using SIMDe
- Loading branch information
Showing
15 changed files
with
1,626 additions
and
803 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: VS17-ARM-CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
ci: | ||
name: windows-vs17 | ||
runs-on: windows-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- {gen: Visual Studio 17 2022, arch: ARM64} | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: Configure | ||
run: | | ||
cmake -B build | ||
- name: Build Debug | ||
run: cmake --build build --config Debug --verbose | ||
- name: Build Release | ||
run: cmake --build build --config Release --verbose | ||
- name: Run Release tests | ||
run: | | ||
cd build | ||
ctest -C Release -LE explicitonly --output-on-failure | ||
- name: Run Debug tests | ||
run: | | ||
cd build | ||
ctest -C Debug -LE explicitonly --output-on-failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
include(CheckCXXCompilerFlag) | ||
|
||
if (CMAKE_SYSTEM_PROCESSOR MATCHES "arm64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "arm" OR CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64") | ||
set(SUPPORT_NEON ON) | ||
endif () | ||
|
||
# Check if the Visual Studio build is targeting ARM | ||
if (CMAKE_GENERATOR_PLATFORM MATCHES "ARM64" OR CMAKE_GENERATOR_PLATFORM MATCHES "ARM") | ||
set(SUPPORT_NEON ON) | ||
endif () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
include(FetchContent) | ||
FetchContent_Declare( | ||
simde | ||
GIT_REPOSITORY https://github.com/simd-everywhere/simde.git | ||
GIT_TAG master | ||
) | ||
FetchContent_MakeAvailable(simde) | ||
|
||
add_library(simde INTERFACE IMPORTED GLOBAL) | ||
target_include_directories(simde INTERFACE "${simde_SOURCE_DIR}") | ||
|
||
# Enables native aliases. Not ideal but makes it easier to convert old code. | ||
target_compile_definitions(simde INTERFACE SIMDE_ENABLE_NATIVE_ALIASES) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.