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

Merge topic 'use_vectorization_helpers_everywhere'

b8e5923a

 FunctorsTBB now uses VTKM_VECTORIZATION_X macros everywhere.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Chuck Atkins's avatarChuck Atkins <chuck.atkins@kitware.com>
Merge-request: !306
parents 429350ab b8e5923a
......@@ -443,15 +443,10 @@ public:
// error and setting the message buffer as expected.
try
{
#ifdef VTKM_ENABLE_VECTORIZATION
#if defined(VTKM_CLANG)
#pragma clang loop vectorize(enable)
#elif defined(VTKM_ICC)
#pragma simd
#endif
#endif
VTKM_VECTORIZATION_PRE_LOOP
for (vtkm::Id i = range.begin(); i < range.end(); i++)
{
VTKM_VECTORIZATION_IN_LOOP
OutputPortal.Set( i, ValuesPortal.Get(IndexPortal.Get(i)) );
}
}
......
Supports Markdown
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