Sujin Philip
746d6fc7b2
Fix configuration of vectorization
...
1. Re-enable vectorization setup in cmake
2. Set vectorization flags to empty when "none" is specified.
2016-08-03 16:07:21 -04:00
Robert Maynard
f021e4a575
Make the default for vectorization be none.
...
A default of 'native' has the concern that people using vtk-m might by
default generate non portable binaries or libraries and will become
very hard to track down why this happens. So do enable vectorization we
default to 'none'.
2016-03-23 14:09:59 -04:00
Robert Maynard
8818cfc600
Disable vectorization when building with ICC 14.0
...
We have found that ICC 14.0 produces bad simd code that causes
vtkm worklets to throw SIGBUS signals. This issue was resolved in
ICC 15.0
2016-03-16 13:27:04 -04:00
Sujin Philip
e79b8ff238
Add vectorization flags for KNL
2016-02-19 11:43:24 -05:00
Sujin Philip
0900e0c06c
Fix how the vectorization flags are specified
...
For intel compilers, specifying multiple flags will result in warnings and
the last flag overrides previous flags.
2016-02-19 11:43:17 -05:00
Robert Maynard
8589df3df8
Correct avx options when using the intel compiler.
2016-02-18 14:58:39 -05:00
Robert Maynard
ee368d0d68
Do not add c++ compiler optimizations to all compilers, but on a target basis.
...
As reported in Issue #54 the add_compile_options pollutes the global compile
flags. Instead we provided cmake flags for people to use.
2016-01-25 14:38:06 -05:00
Robert Maynard
bfb6c26a98
Simplify the design of vectorization support.
...
Remove the configured file variables, as that causes problems
when using an installed version of VTK-m.
2015-12-01 11:37:41 -05:00
Robert Maynard
4ea567aee9
Remove VTKm_ENABLE_VECTORIZATION, as VTKm_Vectorization handles all use cases.
2015-11-30 11:08:21 -05:00
Robert Maynard
4ceb111a68
Enable vectorization inside the Serial and TBB backends.
2015-11-25 15:59:13 -05:00
Robert Maynard
514ea09afc
Teach VTK-m how to enable vectorization for gcc, clang, and icc.
2015-11-23 12:44:05 -05:00