Viskores  1.0
DeviceAdapterCuda.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_cuda_DeviceAdapterCuda_h
19 #define viskores_cont_cuda_DeviceAdapterCuda_h
20 
22 
23 #ifdef VISKORES_ENABLE_CUDA
24 
25 #ifdef VISKORES_CUDA
26 
27 //This is required to be first so that we get patches for thrust included
28 //in the correct order
30 
34 
35 #else // !VISKORES_CUDA
36 
37 #ifndef VISKORES_NO_ERROR_ON_MIXED_CUDA_CXX_TAG
38 #error When Viskores is built with CUDA enabled all compilation units that include DeviceAdapterTagCuda must use the cuda compiler
39 #endif
40 
41 #endif // !VISKORES_CUDA
42 
43 #endif // VISKORES_ENABLE_CUDA
44 
45 #endif //viskores_cont_cuda_DeviceAdapterCuda_h
RuntimeDeviceConfigurationCuda.h
ThrustPatches.h
DeviceAdapterTagCuda.h
DeviceAdapterAlgorithmCuda.h
DeviceAdapterMemoryManagerCuda.h