vtk-m/CMake
Robert Maynard ff687016ee For VTK-m libs all includes of DeviceAdapterTagCuda happen from cuda files
It is very easy to cause ODR violations with DeviceAdapterTagCuda.
If you include that header from a C++ file and a CUDA file inside
the same program we an ODR violation. The reasons is that the C++
versions will say the tag is invalid, and the CUDA will say the
tag is valid.

The solution to this is that any compilation unit that includes
DeviceAdapterTagCuda from a version of VTK-m that has CUDA enabled
must be invoked by the cuda compiler.
2019-04-22 10:39:54 -04:00
..
testing conslidate the license statement 2019-04-17 10:57:13 -06:00
doxyfile.in conslidate the license statement 2019-04-17 10:57:13 -06:00
FindOpenGL.cmake conslidate the license statement 2019-04-17 10:57:13 -06:00
FindOpenMP.cmake conslidate the license statement 2019-04-17 10:57:13 -06:00
FindPyexpander.cmake conslidate the license statement 2019-04-17 10:57:13 -06:00
FindTBB.cmake Update FindTBB.cmake 2018-07-23 14:08:44 -04:00
VTKmBuildDocumentation.cmake conslidate the license statement 2019-04-17 10:57:13 -06:00
VTKmBuildType.cmake conslidate the license statement 2019-04-17 10:57:13 -06:00
VTKmCheckCopyright.cmake conslidate the license statement 2019-04-17 10:57:13 -06:00
VTKmCompilerDynamicAnalysisFlags.cmake conslidate the license statement 2019-04-17 10:57:13 -06:00
VTKmCompilerFlags.cmake conslidate the license statement 2019-04-17 10:57:13 -06:00
VTKmConfig.cmake.in conslidate the license statement 2019-04-17 10:57:13 -06:00
VTKmCopyrightStatement.txt conslidate the license statement 2019-04-17 10:57:13 -06:00
VTKmCPUVectorization.cmake conslidate the license statement 2019-04-17 10:57:13 -06:00
VTKmDetectCUDAVersion.cu conslidate the license statement 2019-04-17 10:57:13 -06:00
VTKmDetermineVersion.cmake conslidate the license statement 2019-04-17 10:57:13 -06:00
VTKmDeviceAdapters.cmake conslidate the license statement 2019-04-17 10:57:13 -06:00
VTKmExportHeaderTemplate.h.in conslidate the license statement 2019-04-17 10:57:13 -06:00
VTKmRenderingContexts.cmake conslidate the license statement 2019-04-17 10:57:13 -06:00
VTKmWrappers.cmake For VTK-m libs all includes of DeviceAdapterTagCuda happen from cuda files 2019-04-22 10:39:54 -04:00