VTK-m  2.0
DeviceAdapterKokkos.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_kokkos_DeviceAdapterKokkos_h
11 #define vtk_m_cont_kokkos_DeviceAdapterKokkos_h
12 
14 
15 #if defined(VTKM_ENABLE_KOKKOS)
16 
17 #if !defined(VTKM_KOKKOS_CUDA) || defined(VTKM_CUDA)
18 
23 
24 #else // !defined(VTKM_KOKKOS_CUDA) || defined(VTKM_CUDA)
25 
26 #if !defined(VTKM_NO_ERROR_ON_MIXED_CUDA_CXX_TAG)
27 #error When VTK-m is built with Kokkoas with CUDA enabled, all compilation units that include DeviceAdapterTagKokkos must use the cuda compiler
28 #endif // !defined(VTKM_NO_ERROR_ON_MIXED_CUDA_CXX_TAG)
29 
30 #endif // !defined(VTKM_KOKKOS_CUDA) || defined(VTKM_CUDA)
31 
32 #endif // defined(VTKM_ENABLE_KOKKOS)
33 
34 #endif //vtk_m_cont_kokkos_DeviceAdapterKokkos_h
DeviceAdapterMemoryManagerKokkos.h
DeviceAdapterRuntimeDetectorKokkos.h
DeviceAdapterTagKokkos.h
RuntimeDeviceConfigurationKokkos.h
DeviceAdapterAlgorithmKokkos.h