ea560e9486
Several revisions ago, the ability to use virtual methods in the execution environment was deprecated. Completely remove this functionality for the VTK-m 2.0 release.
35 lines
1.4 KiB
C
35 lines
1.4 KiB
C
//============================================================================
|
|
// Copyright (c) Kitware, Inc.
|
|
// All rights reserved.
|
|
// See LICENSE.txt for details.
|
|
//
|
|
// 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_kokkos_DeviceAdapterKokkos_h
|
|
#define vtk_m_cont_kokkos_DeviceAdapterKokkos_h
|
|
|
|
#include <vtkm/cont/kokkos/internal/DeviceAdapterTagKokkos.h>
|
|
|
|
#if defined(VTKM_ENABLE_KOKKOS)
|
|
|
|
#if !defined(VTKM_KOKKOS_CUDA) || defined(VTKM_CUDA)
|
|
|
|
#include <vtkm/cont/kokkos/internal/DeviceAdapterAlgorithmKokkos.h>
|
|
#include <vtkm/cont/kokkos/internal/DeviceAdapterMemoryManagerKokkos.h>
|
|
#include <vtkm/cont/kokkos/internal/DeviceAdapterRuntimeDetectorKokkos.h>
|
|
#include <vtkm/cont/kokkos/internal/RuntimeDeviceConfigurationKokkos.h>
|
|
|
|
#else // !defined(VTKM_KOKKOS_CUDA) || defined(VTKM_CUDA)
|
|
|
|
#if !defined(VTKM_NO_ERROR_ON_MIXED_CUDA_CXX_TAG)
|
|
#error When VTK-m is built with Kokkoas with CUDA enabled, all compilation units that include DeviceAdapterTagKokkos must use the cuda compiler
|
|
#endif // !defined(VTKM_NO_ERROR_ON_MIXED_CUDA_CXX_TAG)
|
|
|
|
#endif // !defined(VTKM_KOKKOS_CUDA) || defined(VTKM_CUDA)
|
|
|
|
#endif // defined(VTKM_ENABLE_KOKKOS)
|
|
|
|
#endif //vtk_m_cont_kokkos_DeviceAdapterKokkos_h
|