diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-09-08 18:51:56 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2020-09-08 18:51:56 (GMT) |
commit | c83711d9bd6f6fdbe534f475727bf80f7e8a8603 (patch) | |
tree | a27045df22ff9a24117a7d2691a60c4a17ebd5d4 /Tests/ISPC/DynamicLibrary | |
parent | 503d0f80e1ccafa8352145b1a733dd41751dcd7f (diff) | |
download | CMake-c83711d9bd6f6fdbe534f475727bf80f7e8a8603.zip CMake-c83711d9bd6f6fdbe534f475727bf80f7e8a8603.tar.gz CMake-c83711d9bd6f6fdbe534f475727bf80f7e8a8603.tar.bz2 |
ISPC tests will now run on any hardware that only supports SSE2
Previously we expected AVX1 support.
Diffstat (limited to 'Tests/ISPC/DynamicLibrary')
-rw-r--r-- | Tests/ISPC/DynamicLibrary/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/ISPC/DynamicLibrary/CMakeLists.txt b/Tests/ISPC/DynamicLibrary/CMakeLists.txt index 59f875e..cbfbb3e 100644 --- a/Tests/ISPC/DynamicLibrary/CMakeLists.txt +++ b/Tests/ISPC/DynamicLibrary/CMakeLists.txt @@ -11,8 +11,8 @@ add_library(ispc_objects1 STATIC extra.ispc extra.cxx) add_library(ispc_objects2 SHARED simple.ispc) set_target_properties(ispc_objects1 PROPERTIES POSITION_INDEPENDENT_CODE ON) -set_target_properties(ispc_objects1 PROPERTIES ISPC_INSTRUCTION_SETS "avx1-i32x16;avx2-i32x4") -set_target_properties(ispc_objects2 PROPERTIES ISPC_INSTRUCTION_SETS "avx1-i32x16") +set_target_properties(ispc_objects1 PROPERTIES ISPC_INSTRUCTION_SETS "sse2-i32x4;avx1-i32x16;avx2-i32x4") +set_target_properties(ispc_objects2 PROPERTIES ISPC_INSTRUCTION_SETS "sse2-i32x4") target_link_libraries(ispc_objects2 PRIVATE ispc_objects1) |