2014-02-10 19:53:03 +00:00
|
|
|
//============================================================================
|
|
|
|
// 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.
|
|
|
|
//
|
|
|
|
// Copyright 2014 Sandia Corporation.
|
|
|
|
// Copyright 2014 UT-Battelle, LLC.
|
|
|
|
// Copyright 2014. Los Alamos National Security
|
|
|
|
//
|
|
|
|
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
|
|
|
|
// the U.S. Government retains certain rights in this software.
|
|
|
|
//
|
|
|
|
// Under the terms of Contract DE-AC52-06NA25396 with Los Alamos National
|
|
|
|
// Laboratory (LANL), the U.S. Government retains certain rights in
|
|
|
|
// this software.
|
|
|
|
//============================================================================
|
2014-03-07 15:19:09 +00:00
|
|
|
#ifndef vtk_m_cont_internal_ArrayManagerExecutionSerial_h
|
|
|
|
#define vtk_m_cont_internal_ArrayManagerExecutionSerial_h
|
2014-02-10 19:53:03 +00:00
|
|
|
|
|
|
|
#include <vtkm/cont/internal/ArrayManagerExecution.h>
|
|
|
|
#include <vtkm/cont/internal/ArrayManagerExecutionShareWithControl.h>
|
|
|
|
#include <vtkm/cont/internal/DeviceAdapterTagSerial.h>
|
|
|
|
|
|
|
|
namespace vtkm {
|
|
|
|
namespace cont {
|
|
|
|
namespace internal {
|
|
|
|
|
2014-06-23 23:33:04 +00:00
|
|
|
template <typename T, class StorageTag>
|
|
|
|
class ArrayManagerExecution<T, StorageTag, vtkm::cont::DeviceAdapterTagSerial>
|
2014-02-10 19:53:03 +00:00
|
|
|
: public vtkm::cont::internal::ArrayManagerExecutionShareWithControl
|
2014-06-23 23:33:04 +00:00
|
|
|
<T, StorageTag>
|
2014-02-10 19:53:03 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
typedef vtkm::cont::internal::ArrayManagerExecutionShareWithControl
|
2014-06-23 23:33:04 +00:00
|
|
|
<T, StorageTag> Superclass;
|
2014-02-10 19:53:03 +00:00
|
|
|
typedef typename Superclass::ValueType ValueType;
|
|
|
|
typedef typename Superclass::PortalType PortalType;
|
|
|
|
typedef typename Superclass::PortalConstType PortalConstType;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} // namespace vtkm::cont::internal
|
|
|
|
|
2014-06-11 16:43:36 +00:00
|
|
|
#endif //vtk_m_cont_internal_ArrayManagerExecutionSerial_h
|