2014-02-10 19:53:03 +00:00
|
|
|
//============================================================================
|
|
|
|
// Copyright (c) Kitware, Inc.
|
|
|
|
// All rights reserved.
|
|
|
|
// See LICENSE.txt for details.
|
2019-04-15 23:24:21 +00:00
|
|
|
//
|
2014-02-10 19:53:03 +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.
|
|
|
|
//============================================================================
|
2014-03-07 15:19:09 +00:00
|
|
|
#ifndef vtk_m_cont_internal_ArrayTransfer_h
|
|
|
|
#define vtk_m_cont_internal_ArrayTransfer_h
|
2014-02-10 19:53:03 +00:00
|
|
|
|
2014-06-23 23:33:04 +00:00
|
|
|
#include <vtkm/cont/Storage.h>
|
2020-01-19 06:36:14 +00:00
|
|
|
#include <vtkm/cont/Token.h>
|
2014-02-10 19:53:03 +00:00
|
|
|
|
2017-05-18 14:29:41 +00:00
|
|
|
namespace vtkm
|
|
|
|
{
|
|
|
|
namespace cont
|
|
|
|
{
|
|
|
|
namespace internal
|
|
|
|
{
|
2014-02-10 19:53:03 +00:00
|
|
|
|
2020-12-08 20:18:44 +00:00
|
|
|
/// \brief Class that manages the transfer of data between control and execution (obsolete).
|
2014-02-10 19:53:03 +00:00
|
|
|
///
|
2017-05-18 14:29:41 +00:00
|
|
|
template <typename T, class StorageTag, class DeviceAdapterTag>
|
2014-02-10 19:53:03 +00:00
|
|
|
class ArrayTransfer
|
|
|
|
{
|
2020-12-08 19:56:16 +00:00
|
|
|
VTKM_STATIC_ASSERT_MSG(sizeof(T) == static_cast<std::size_t>(-1),
|
|
|
|
"Default implementation of ArrayTransfer no longer available.");
|
2014-02-10 19:53:03 +00:00
|
|
|
};
|
2020-12-08 19:56:16 +00:00
|
|
|
|
2014-02-10 19:53:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
} // namespace vtkm::cont::internal
|
|
|
|
|
2014-06-11 16:43:36 +00:00
|
|
|
#endif //vtk_m_cont_internal_ArrayTransfer_h
|