Matthew Letter
360174fd48
adding logic for determining a location for cuda windows
...
adding logic for determining a location for cuda windows, the location has to be valid for cmake to config cuda correctly.
2018-01-08 14:00:58 -05:00
Robert Maynard
5dd6e09da6
CUDA compilation on linux now works with CMake 3.9 and gcc 6
2018-01-08 14:00:58 -05:00
Robert Maynard
3f02d97ae4
Re-enable verification of generated files with pyexpander
2018-01-08 14:00:58 -05:00
Robert Maynard
5c140abc64
Re-enable support for header include tests for VTK-m
2018-01-08 14:00:58 -05:00
Robert Maynard
dcb340b8ee
Correct logic failure on when to find OpenGL
2018-01-08 14:00:58 -05:00
Robert Maynard
f59856ec17
VTKmCPUVectorization now follows VTK-m CMake indentation rules
2018-01-08 14:00:58 -05:00
Robert Maynard
5e1f7c60ad
VTKm_INSTALL_ONLY_LIBRARIES allows installation of only vtk-m libs
2018-01-08 14:00:58 -05:00
Robert Maynard
9277eaa2d3
Update FindOpenGL to version in CMake 3.10.1
2018-01-08 14:00:57 -05:00
Robert Maynard
18a360b793
Properly allow constexpr on the device side when compiling cuda
2018-01-08 14:00:57 -05:00
Robert Maynard
b2c03ad858
Unit_tests are built with the correct compiler when cuda is enabled.
...
Previously all the Unit_tests that shared source files would use cuda
once CUDA set the language on the file.
2018-01-08 14:00:57 -05:00
Robert Maynard
afc19ab0fc
Setup symbol visibility controls for VTK-m
2018-01-08 14:00:57 -05:00
Robert Maynard
37a2359c70
Refactor the rendering context flags to not be a combo box.
...
This way in the future it is easier to make currently mutually exclusive
compile options be all enabled at the same time.
2018-01-08 14:00:57 -05:00
Robert Maynard
af0a781086
Properly detect what flags to pass to cuda when CUDA_Architecture is native
2018-01-08 14:00:54 -05:00
Robert Maynard
52329ba3f6
Make sure all VTKm cmake files are prefixed with VTKm
2017-12-28 14:25:44 -05:00
Robert Maynard
24e57556e6
Merge branch 'master' into vtk-m-cmake_refactor
...
Includes updating to cleanup benchmark code and handle the new MPI option
2017-12-28 14:23:21 -05:00
Matt Larsen
83e51cf42e
creating ray tracing benchmark
2017-12-20 14:22:52 -08:00
Utkarsh Ayachit
186e686968
Add ability to run tests with mpiexec
.
...
Extends `vtkm_unit_tests` to support running tests with `mpiexec`.
Updates `UnitTestMultiBlock` to use mpi, if available.
2017-12-18 14:45:25 -05:00
Utkarsh Ayachit
6a4edd87f7
Exclude diy from VTK-m Copyright checks.
2017-12-15 15:15:22 -05:00
Utkarsh Ayachit
9dfc6f814e
Add MPI as a dependency.
...
Adding option to enable MPI. When enabled, we do `find_package(MPI)` in
the Base component itself.
2017-12-15 10:53:30 -05:00
Matthew Letter
4b058229ce
Merge branch 'master' into cmake_refactor
2017-12-08 09:51:48 -07:00
Kenneth Moreland
62fa1d562a
Fix location of VTKmCheckPyexpander.cmake
...
The location of VTKmCheckPyexpander.cmake was originally set to $
{CMAKE_SOURCE_DIR}/CMake. This is correct with respect to the VTK-m
install, but incorrect if VTK-m is being included as a module in another
project (like VTK). Change the location to ${VTKm_CMAKE_MODULE_PATH},
which should be correct in every case.
2017-12-07 09:27:59 -07:00
Matthew Letter
7f2862a78d
found naming bug with CMmake dir name
...
there appears to be a bug in the naming of a source dir for VTKmExportHeaderTemplate.h.in so it can't find the config file
2017-11-30 10:33:05 -07:00
Matthew Letter
4e4dec627c
added missing copyright statement
2017-11-30 10:21:38 -07:00
Matthew Letter
605c78722d
updated to recommended flags for clang
...
added the recommended flags for clang for knl and skylake achitectures and removed the old flags.
2017-11-28 11:58:09 -07:00
Matthew Letter
92f4aa95c4
Added skylake_flags and knl_flags
...
Removed avx512_flags and replace it with 2 options of skylake_flags and knl_flags.
2017-11-27 16:38:33 -07:00
Matthew Letter
e416516a36
added guard to vectorization flags
...
added guard to vectorication flags so we do not build the flags more than once
2017-11-27 14:23:31 -07:00
Matthew Letter
05a6ba5254
Added newlines to resolve kitware robot errors
...
I was getting missing newlines errors from the kitware robot so this should fix them
2017-11-17 09:12:16 -07:00
Matthew Letter
d7eb1d32db
first pass at adding vertorization flags back into the build #5
...
Ported cpu vectorization flags over to new CMake file called CPUVectorization.cmake and refactored some of the logic to use an interface lib.
2017-11-16 16:50:07 -07:00
Matthew Letter
c57c11adc8
Removed fermi flags from the cuda "all" build #4
...
Fermi architecture support is being deprecated
in the CUDA 8.0 Toolkit so we are removing it from the all build
2017-11-12 20:21:23 -07:00
Matthew Letter
5a2dbeff4c
modifying CUDA_NVCC_FLAGS and updating for string list appending #4
...
modifying CUDA_NVCC_FLAGS to CMAKE_CUDA_FLAGS and CMAKE_CUDA_FLAGS is a string not a list so changed the way the flags are being added to the variable
2017-11-12 15:59:04 -07:00
Matthew Letter
3941530d64
removing NVCC FLAGS now that we use proper CUDA support #4
2017-11-10 10:27:55 -07:00
Matthew Letter
59ce1189cc
added cuda compiler flags logic from ConfigureComponents #4
...
Ported cuda compiler flags logic from ConfigureComponents over to vtkmDeviceAdapters.cmake
2017-11-09 14:52:25 -07:00
Matthew Letter
8efa4bdf19
added SourceInBuild back into vtkm closes #10
2017-10-31 16:38:44 -06:00
Matthew Letter
47d0926a26
added SystemInformation cmake funcitonality closes #9
2017-10-31 16:37:04 -06:00
Matthew Letter
57cc8cdad1
Added copyright check back into the build closes #7
2017-10-31 16:36:07 -06:00
Matthew Letter
0c574d7d60
Added pyexpander back into the build closes #6
2017-10-31 16:30:09 -06:00
Matthew Letter
fdfcc91fe1
Added doxyfile and vtkmBuildDocumentation.cmake closes #8
...
added doxyfile and vtkmBuildDocumentation.cmake back into the build process and tested that they built out the html docs.
2017-10-31 16:10:14 -06:00
Matthew Letter
b22e8b568d
Rename vtkmBackends.cmake to vtkmDeviceAdapters.cmake closes #2
...
Renamed vtkmBackends.cmake to vtkmDeviceAdapters.cmake and renamed all references to vtkmBackends.cmake to use the new naming scheme.
2017-10-31 15:28:22 -06:00
Matthew Letter
16474bec53
Rename vtkm_debug_flags to vtkm_developer_flags closes #1
...
This task came up after review with rob and ken for renaming the flags used in development build.
2017-10-31 15:25:21 -06:00
Robert Maynard
ece16d3b0b
Correctly build the vtkm::cuda target on linux.
2017-10-27 15:30:17 -04:00
Robert Maynard
673262b9a0
Correct testing infrastructure to handle multiple backends
2017-10-27 15:30:17 -04:00
Robert Maynard
db3e97bac6
Correct issues when CUDA is enabled.
2017-10-27 15:30:16 -04:00
Robert Maynard
ed8f4111ef
Update all the code to work with CMake 3.3
...
Obviously this does mean that CUDA is not supported with 3.3.
2017-10-27 15:30:14 -04:00
Robert Maynard
3ded554831
Extend the CMake rewrite to include vtkm_rendering
2017-10-27 15:29:58 -04:00
Robert Maynard
56c7362258
A thought on what CMake 3.9 would mean to VTK-m.
2017-10-27 15:29:51 -04:00
Allison Vacanti
e9633e1dea
Move some MSVC warning disablers to Configure.h
...
These useless warnings are popping up in VTK/ParaView builds that use
VTKm. Moving them to a header so other projects will get them.
2017-10-23 15:16:49 -04:00
Kenneth Moreland
c6d23cadf0
Fix VTK-m version for tarball in another git repository
...
A ParaView user noted that the determine version script (which is
essentially the same for ParaView and VTK-m) incorrectly used the
results of git describe when the source actually came from a tarball
distribution that was placed in another git archive. (The SHA was
incorrectly taken from the enclosing git project.) See the ParaView bug
for more details on the report:
https://gitlab.kitware.com/paraview/paraview/issues/17761
This fix simply checks to make sure the the source directory has the
.git subdirectory expected in all git projects.
2017-10-19 11:41:30 -06:00
Allison Vacanti
c0a7315906
Clean up install/VTK issues in VTKmConfig.cmake.
2017-10-03 11:28:15 -04:00
Allison Vacanti
75f88b4c46
Add versioning to VTKM installed include/share dirs.
2017-10-02 11:39:10 -04:00
Allison Vacanti
b3852e8dfb
Add versioning to VTKM libraries.
2017-10-02 11:39:10 -04:00