summaryrefslogtreecommitdiffstats
path: root/Tests/ISPC/Defines
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ISPC/Defines')
-rw-r--r--Tests/ISPC/Defines/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/ISPC/Defines/CMakeLists.txt b/Tests/ISPC/Defines/CMakeLists.txt
index 5155106..7645804 100644
--- a/Tests/ISPC/Defines/CMakeLists.txt
+++ b/Tests/ISPC/Defines/CMakeLists.txt
@@ -1,6 +1,7 @@
cmake_minimum_required(VERSION 3.18)
project(ISPCDefines CXX ISPC)
+set(CMAKE_ISPC_INSTRUCTION_SETS "sse2-i32x4;sse4-i16x8;avx1-i32x16;avx2-i32x4;avx512knl-i32x16;avx512skx-i32x8")
set(CMAKE_ISPC_FLAGS -DM_PI=3.1415926535f)
add_compile_definitions([==[STRUCT_DEFINE=struct{uniform int a]==])