vtk-m/vtkm/cont/internal/ArrayTransfer.h

37 lines
1.1 KiB
C
Raw Normal View History

//============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
2019-04-15 23:24:21 +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_internal_ArrayTransfer_h
#define vtk_m_cont_internal_ArrayTransfer_h
#include <vtkm/cont/Storage.h>
#include <vtkm/cont/Token.h>
2017-05-18 14:29:41 +00:00
namespace vtkm
{
namespace cont
{
namespace internal
{
/// \brief Class that manages the transfer of data between control and execution (obsolete).
///
2017-05-18 14:29:41 +00:00
template <typename T, class StorageTag, class DeviceAdapterTag>
class ArrayTransfer
{
VTKM_STATIC_ASSERT_MSG(sizeof(T) == static_cast<std::size_t>(-1),
"Default implementation of ArrayTransfer no longer available.");
};
}
}
} // namespace vtkm::cont::internal
#endif //vtk_m_cont_internal_ArrayTransfer_h