Commit 3b067841 authored by Robert Maynard's avatar Robert Maynard Committed by Kitware Robot
Browse files

Merge topic 'stop_icc_15_from_icing'

3f7d9429

 Disable vectorization on debug Intel Compiler builds.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !363
parents 7daa6668 3f7d9429
......@@ -193,7 +193,8 @@
#define VTKM_VECTORIZATION_PRE_LOOP \
_Pragma("clang loop vectorize(enable) interleave(enable)")
#define VTKM_VECTORIZATION_IN_LOOP
#elif defined(VTKM_ICC)
#elif defined(VTKM_ICC) && defined(NDEBUG)
//icc can't do vectorization in debug builds
//icc needs pre and in loop
#define VTKM_VECTORIZATION_PRE_LOOP \
_Pragma("simd")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment