VTK-m  2.2
DeviceAdapterCuda.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtk_m_cont_cuda_DeviceAdapterCuda_h
11 #define vtk_m_cont_cuda_DeviceAdapterCuda_h
12 
14 
15 #ifdef VTKM_ENABLE_CUDA
16 
17 #ifdef VTKM_CUDA
18 
19 //This is required to be first so that we get patches for thrust included
20 //in the correct order
22 
26 
27 #else // !VTKM_CUDA
28 
29 #ifndef VTKM_NO_ERROR_ON_MIXED_CUDA_CXX_TAG
30 #error When VTK-m is built with CUDA enabled all compilation units that include DeviceAdapterTagCuda must use the cuda compiler
31 #endif
32 
33 #endif // !VTKM_CUDA
34 
35 #endif // VTKM_ENABLE_CUDA
36 
37 #endif //vtk_m_cont_cuda_DeviceAdapterCuda_h
RuntimeDeviceConfigurationCuda.h
ThrustPatches.h
DeviceAdapterTagCuda.h
DeviceAdapterAlgorithmCuda.h
DeviceAdapterMemoryManagerCuda.h