2014-11-26 17:19:46 +00:00
|
|
|
//============================================================================
|
|
|
|
// Copyright (c) Kitware, Inc.
|
|
|
|
// All rights reserved.
|
|
|
|
// See LICENSE.txt for details.
|
2019-04-15 23:24:21 +00:00
|
|
|
//
|
2014-11-26 17:19:46 +00:00
|
|
|
// This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
// PURPOSE. See the above copyright notice for more information.
|
|
|
|
//============================================================================
|
|
|
|
#ifndef vtk_m_cont_cuda_DeviceAdapterCuda_h
|
|
|
|
#define vtk_m_cont_cuda_DeviceAdapterCuda_h
|
|
|
|
|
|
|
|
#include <vtkm/cont/cuda/internal/DeviceAdapterTagCuda.h>
|
2015-09-16 20:59:28 +00:00
|
|
|
|
2020-04-22 19:58:59 +00:00
|
|
|
#ifdef VTKM_ENABLE_CUDA
|
|
|
|
|
2015-09-18 15:51:41 +00:00
|
|
|
#ifdef VTKM_CUDA
|
2015-11-09 15:31:51 +00:00
|
|
|
|
|
|
|
//This is required to be first so that we get patches for thrust included
|
|
|
|
//in the correct order
|
|
|
|
#include <vtkm/exec/cuda/internal/ThrustPatches.h>
|
|
|
|
|
2014-11-26 17:19:46 +00:00
|
|
|
#include <vtkm/cont/cuda/internal/DeviceAdapterAlgorithmCuda.h>
|
2020-03-26 23:34:18 +00:00
|
|
|
#include <vtkm/cont/cuda/internal/DeviceAdapterMemoryManagerCuda.h>
|
2021-05-26 19:43:36 +00:00
|
|
|
#include <vtkm/cont/cuda/internal/RuntimeDeviceConfigurationCuda.h>
|
2021-04-23 20:07:11 +00:00
|
|
|
#ifndef VTKM_NO_DEPRECATED_VIRTUAL
|
2017-03-29 14:48:43 +00:00
|
|
|
#include <vtkm/cont/cuda/internal/VirtualObjectTransferCuda.h>
|
2021-04-23 20:07:11 +00:00
|
|
|
#endif //VTKM_NO_DEPRECATED_VIRTUAL
|
2020-04-22 19:58:59 +00:00
|
|
|
|
|
|
|
#else // !VTKM_CUDA
|
|
|
|
|
|
|
|
#ifndef VTKM_NO_ERROR_ON_MIXED_CUDA_CXX_TAG
|
|
|
|
#error When VTK-m is built with CUDA enabled all compilation units that include DeviceAdapterTagCuda must use the cuda compiler
|
|
|
|
#endif //!VTKM_NO_ERROR_ON_MIXED_CUDA_CXX_TAG
|
|
|
|
|
|
|
|
#endif // !VTKM_CUDA
|
|
|
|
|
|
|
|
#endif // VTKM_ENABLE_CUDA
|
2014-11-26 17:19:46 +00:00
|
|
|
|
|
|
|
#endif //vtk_m_cont_cuda_DeviceAdapterCuda_h
|