Viskores  1.0
DeviceAdapterKokkos.h
Go to the documentation of this file.
1 //============================================================================
2 // The contents of this file are covered by the Viskores license. See
3 // LICENSE.txt for details.
4 //
5 // By contributing to this file, all contributors agree to the Developer
6 // Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7 //============================================================================
8 
9 //============================================================================
10 // Copyright (c) Kitware, Inc.
11 // All rights reserved.
12 // See LICENSE.txt for details.
13 //
14 // This software is distributed WITHOUT ANY WARRANTY; without even
15 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 // PURPOSE. See the above copyright notice for more information.
17 //============================================================================
18 #ifndef viskores_cont_kokkos_DeviceAdapterKokkos_h
19 #define viskores_cont_kokkos_DeviceAdapterKokkos_h
20 
22 
23 #if defined(VISKORES_ENABLE_KOKKOS)
24 
25 #if !defined(VISKORES_KOKKOS_CUDA) || defined(VISKORES_CUDA)
26 
31 
32 #else // !defined(VISKORES_KOKKOS_CUDA) || defined(VISKORES_CUDA)
33 
34 #if !defined(VISKORES_NO_ERROR_ON_MIXED_CUDA_CXX_TAG)
35 #error When Viskores is built with Kokkoas with CUDA enabled, all compilation units that include DeviceAdapterTagKokkos must use the cuda compiler
36 #endif // !defined(VISKORES_NO_ERROR_ON_MIXED_CUDA_CXX_TAG)
37 
38 #endif // !defined(VISKORES_KOKKOS_CUDA) || defined(VISKORES_CUDA)
39 
40 #endif // defined(VISKORES_ENABLE_KOKKOS)
41 
42 #endif //viskores_cont_kokkos_DeviceAdapterKokkos_h
DeviceAdapterMemoryManagerKokkos.h
DeviceAdapterRuntimeDetectorKokkos.h
DeviceAdapterTagKokkos.h
RuntimeDeviceConfigurationKokkos.h
DeviceAdapterAlgorithmKokkos.h