Skip to content

Commit

Permalink
add tests for simd reduction on 2d array
Browse files Browse the repository at this point in the history
  • Loading branch information
alifahrri committed Oct 21, 2023
1 parent f4b580d commit 48f31a3
Show file tree
Hide file tree
Showing 3 changed files with 825 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/simd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ if (NMTOOLS_SIMD_TEST_SSE)
if (NMTOOLS_SIMD_TEST_REDUCTION)
set(NMTOOLS_SIMD_TEST_SOURCES ${NMTOOLS_SIMD_TEST_SOURCES}
x86/reduction_sse.cpp
x86/reduction_2d_sse.cpp
)
endif (NMTOOLS_SIMD_TEST_REDUCTION)
endif (NMTOOLS_SIMD_TEST_SSE)
Expand All @@ -63,6 +64,7 @@ if (NMTOOLS_SIMD_TEST_INDEX)
set(NMTOOLS_SIMD_TEST_SOURCES ${NMTOOLS_SIMD_TEST_SOURCES}
index/simd_index.cpp
index/simd_matmul.cpp
index/simd_reduction.cpp
)
endif (NMTOOLS_SIMD_TEST_INDEX)
add_executable(${PROJECT_NAME}-doctest tests.cpp
Expand Down
Loading

0 comments on commit 48f31a3

Please sign in to comment.