Commit fa6fd4a 1 parent b85f5d6 commit fa6fd4a Copy full SHA for fa6fd4a
File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,10 @@ if (glaze_DEVELOPER_MODE)
50
50
include (cmake/dev-mode.cmake)
51
51
endif ()
52
52
53
- option (GLAZE_DISABLE_VECTOR_CODE_WHEN_SUPPORTED
54
- "disable vector optimised code even when targets supports it" OFF )
55
- if (GLAZE_DISABLE_VECTOR_CODE_WHEN_SUPPORTED )
56
- target_compile_definitions (glaze_glaze INTERFACE GLZ_DISBALE_VECTOR_CODE )
53
+ option (glaze_DISABLE_AVX2_WHEN_SUPPORTED
54
+ "disable AVX2 optimized code even when targets supports it" OFF )
55
+ if (glaze_DISABLE_AVX2_WHEN_SUPPORTED )
56
+ target_compile_definitions (glaze_glaze INTERFACE GLZ_DISABLE_AVX2 )
57
57
endif ()
58
58
59
59
option (glaze_BUILD_EXAMPLES "Build GLAZE examples" OFF )
Original file line number Diff line number Diff line change 8
8
#include < ostream>
9
9
#include < variant>
10
10
11
- #if !defined(GLZ_DISBALE_VECTOR_CODE ) && (defined(__x86_64__) || defined(_M_X64))
11
+ #if !defined(GLZ_DISABLE_AVX2 ) && (defined(__x86_64__) || defined(_M_X64))
12
12
#if defined(_MSC_VER)
13
13
#include < intrin.h>
14
14
#else
You can’t perform that action at this time.
0 commit comments