mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
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. |
||
---|---|---|
.. | ||
testing | ||
doxyfile.in | ||
FindOpenGL.cmake | ||
FindOpenMP.cmake | ||
FindPyexpander.cmake | ||
FindTBB.cmake | ||
VTKmBuildDocumentation.cmake | ||
VTKmBuildType.cmake | ||
VTKmCheckCopyright.cmake | ||
VTKmCompilerDynamicAnalysisFlags.cmake | ||
VTKmCompilerFlags.cmake | ||
VTKmConfig.cmake.in | ||
VTKmCopyrightStatement.txt | ||
VTKmCPUVectorization.cmake | ||
VTKmDetectCUDAVersion.cu | ||
VTKmDetermineVersion.cmake | ||
VTKmDeviceAdapters.cmake | ||
VTKmExportHeaderTemplate.h.in | ||
VTKmRenderingContexts.cmake | ||
VTKmWrappers.cmake |