Commit 3f7d9429 authored by Robert Maynard's avatar Robert Maynard

Disable vectorization on debug Intel Compiler builds.

The intel compiler generates internal compiler errors when you use
pragma simd and haven't defined NDEBUG.
parent 177b31f3
......@@ -189,7 +189,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