• Robert Maynard's avatar
    For VTK-m libs all includes of DeviceAdapterTagCuda happen from cuda files · ff687016
    Robert Maynard authored
    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.
    ff687016
Name
Last commit
Last update
..
CMakeLists.txt Loading commit data...
UnitTestCudaArrayHandle.cu Loading commit data...
UnitTestCudaArrayHandleFancy.cu Loading commit data...
UnitTestCudaArrayHandleVirtualCoordinates.cu Loading commit data...
UnitTestCudaBitField.cu Loading commit data...
UnitTestCudaCellLocatorRectilinearGrid.cu Loading commit data...
UnitTestCudaCellLocatorUniformBins.cu Loading commit data...
UnitTestCudaCellLocatorUniformGrid.cu Loading commit data...
UnitTestCudaColorTable.cu Loading commit data...
UnitTestCudaComputeRange.cu Loading commit data...
UnitTestCudaDataSetExplicit.cu Loading commit data...
UnitTestCudaDataSetSingleType.cu Loading commit data...
UnitTestCudaDeviceAdapter.cu Loading commit data...
UnitTestCudaGeometry.cu Loading commit data...
UnitTestCudaImplicitFunction.cu Loading commit data...
UnitTestCudaMath.cu Loading commit data...
UnitTestCudaPointLocatorUniformGrid.cu Loading commit data...
UnitTestCudaShareUserProvidedManagedMemory.cu Loading commit data...
UnitTestCudaVirtualObjectHandle.cu Loading commit data...