| 1 |
// @HEADER |
| 2 |
// ***************************************************************************** |
| 3 |
// Stokhos Package |
| 4 |
// |
| 5 |
// Copyright 2009 NTESS and the Stokhos contributors. |
| 6 |
// SPDX-License-Identifier: BSD-3-Clause |
| 7 |
// ***************************************************************************** |
| 8 |
// @HEADER |
| 9 |
|
| 10 |
#ifndef STOKHOS_DYNAMIC_THREADED_STORAGE_HPP |
| 11 |
#define STOKHOS_DYNAMIC_THREADED_STORAGE_HPP |
| 12 |
|
| 13 |
#include "Stokhos_DynArrayTraits.hpp" |
| 14 |
|
| 15 |
#include "Sacado_Traits.hpp" |
| 16 |
#include "Stokhos_KokkosTraits.hpp" |
| 17 |
#include <sstream> |
| 18 |
|
| 19 |
namespace Stokhos { |
| 20 |
|
| 21 |
//! Dynamically allocated storage class with striding |
| 22 |
template <typename ordinal_t, typename value_t, typename device_t> |
| 23 |
class DynamicThreadedStorage {}; |
| 24 |
|
| 25 |
} |
| 26 |
|
| 27 |
#include "Stokhos_StorageHelpers.hpp" |
| 28 |
STOKHOS_STORAGE_HELPER_STRINGNAME_DYNAMIC(DynamicThreadedStorage) |
| 29 |
|
| 30 |
// No Host specialization |
| 31 |
|
| 32 |
// Cuda specialization |
| 33 |
#include "Kokkos_Core_fwd.hpp" |
| 34 |
#include "Stokhos_DynamicThreadedStorage_cuda.hpp" |
| 35 |
|
| 36 |
#endif // STOKHOS_DYNAMIC_STORAGE_HPP |