diff --git a/scripts/generate_specialization.bash b/scripts/generate_specialization.bash index fb3f2e6b6e..e53030fd08 100755 --- a/scripts/generate_specialization.bash +++ b/scripts/generate_specialization.bash @@ -44,6 +44,10 @@ ${KOKKOSKERNELS_PATH}/scripts/generate_specialization_function.bash axpby Kokkos ${KOKKOSKERNELS_PATH}/scripts/generate_specialization_function.bash dot KokkosBlas1_dot KokkosBlas1_dot_spec.hpp KokkosBlas ${KOKKOSKERNELS_PATH} ${KOKKOSKERNELS_PATH}/scripts/generate_specialization_function.bash dot KokkosBlas1_dot_mv KokkosBlas1_dot_spec.hpp KokkosBlas ${KOKKOSKERNELS_PATH} +#iamax +${KOKKOSKERNELS_PATH}/scripts/generate_specialization_function.bash iamax KokkosBlas1_iamax KokkosBlas1_iamax_spec.hpp KokkosBlas ${KOKKOSKERNELS_PATH} +${KOKKOSKERNELS_PATH}/scripts/generate_specialization_function.bash iamax KokkosBlas1_iamax_mv KokkosBlas1_iamax_spec.hpp KokkosBlas ${KOKKOSKERNELS_PATH} + #mult ${KOKKOSKERNELS_PATH}/scripts/generate_specialization_function.bash mult KokkosBlas1_mult KokkosBlas1_mult_spec.hpp KokkosBlas ${KOKKOSKERNELS_PATH} ${KOKKOSKERNELS_PATH}/scripts/generate_specialization_function.bash mult KokkosBlas1_mult_mv KokkosBlas1_mult_spec.hpp KokkosBlas ${KOKKOSKERNELS_PATH} diff --git a/src/blas/KokkosBlas1_iamax.hpp b/src/blas/KokkosBlas1_iamax.hpp new file mode 100644 index 0000000000..fd8c5ea1f3 --- /dev/null +++ b/src/blas/KokkosBlas1_iamax.hpp @@ -0,0 +1,163 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + +#ifndef KOKKOSBLAS1_IAMAX_HPP_ +#define KOKKOSBLAS1_IAMAX_HPP_ + +#include +#include + +namespace KokkosBlas { + +/// \brief Return the (smallest) index of the element of the maximum magnitude of the vector x. +/// +/// \tparam XVector Type of the first vector x; a 1-D Kokkos::View. +/// +/// \param x [in] Input 1-D View. +/// +/// \return The (smallest) index of the element of the maximum magnitude; a single value. +/// Note: Returned index is 1-based for compatibility with Fortran. +template +typename XVector::size_type iamax (const XVector& x) +{ + static_assert (Kokkos::Impl::is_view::value, + "KokkosBlas::iamax: XVector must be a Kokkos::View."); + static_assert (XVector::rank == 1, "KokkosBlas::iamax: " + "Both Vector inputs must have rank 1."); + + typedef typename XVector::size_type index_type; + + typedef Kokkos::View::array_layout, + typename XVector::device_type, + Kokkos::MemoryTraits > XVector_Internal; + + typedef Kokkos::View > RVector_Internal; + + index_type result; + RVector_Internal R = RVector_Internal(&result); + XVector_Internal X = x; + + Impl::Iamax::iamax (R,X); + Kokkos::fence(); + return result; +} + +/// \brief R(j) = iamax(X(i,j)) +/// +/// Replace each entry in R with the (smallest) index of the element of the maximum magnitude of the +/// corresponding entry in X. +/// +/// \tparam RMV 0-D or 1-D Kokkos::View specialization. +/// \tparam XMV 1-D or 2-D Kokkos::View specialization. +/// +/// Note for TPL cuBLAS: When TPL cuBLAS iamax is used and returns result to a view, RMV must be 0-D view and XMV must be 1-D view. +template +void +iamax (const RV& R, const XMV& X, + typename std::enable_if::value, int>::type = 0) +{ + static_assert (Kokkos::Impl::is_view::value, "KokkosBlas::iamax: " + "R is not a Kokkos::View."); + static_assert (Kokkos::Impl::is_view::value, "KokkosBlas::iamax: " + "X is not a Kokkos::View."); + static_assert (Kokkos::Impl::is_same::value, + "KokkosBlas::iamax: R is const. " + "It must be nonconst, because it is an output argument " + "(we have to be able to write to its entries)."); + static_assert (((RV::rank == 0) && (XMV::rank == 1)) || + ((RV::rank == 1) && (XMV::rank == 2)), "KokkosBlas::iamax: " + "RV and XMV must either have rank 0 and 1 or rank 1 and 2."); + + typedef typename XMV::size_type index_type; + static_assert (Kokkos::Impl::is_same::value, + "KokkosBlas::iamax: R must have the type of" + "the Xvectors size_type it is an output argument " + "(we have to be able to write to its entries)."); + + // Check compatibility of dimensions at run time. + if (X.extent(1) != R.extent(0)) { + std::ostringstream os; + os << "KokkosBlas::iamax (MV): Dimensions of R and X do not match: " + << "R: " << R.extent(0) + << ", X: " << X.extent(0) << " x " << X.extent(1); + Kokkos::Impl::throw_runtime_exception (os.str ()); + } + + // Create unmanaged versions of the input Views. RV may be rank 0 or rank 2. + // XMV may be rank 1 or rank 2. + typedef Kokkos::View< + typename std::conditional< + RV::rank == 0, + typename RV::non_const_value_type, + typename RV::non_const_value_type* >::type, + typename KokkosKernels::Impl::GetUnifiedLayout::array_layout, + typename std::conditional< + std::is_same::value, + Kokkos::HostSpace, + typename RV::device_type >::type, + Kokkos::MemoryTraits > RV_Internal; + typedef Kokkos::View< + typename std::conditional< + XMV::rank == 1, + typename XMV::const_value_type*, + typename XMV::const_value_type** >::type, + typename KokkosKernels::Impl::GetUnifiedLayout::array_layout, + typename XMV::device_type, + Kokkos::MemoryTraits > XMV_Internal; + + RV_Internal R_internal = R; + XMV_Internal X_internal = X; + + Impl::Iamax::iamax (R_internal, X_internal); +} + +} + +#endif // KOKKOSBLAS1_IAMAX_HPP_ + diff --git a/src/blas/impl/KokkosBlas1_iamax_impl.hpp b/src/blas/impl/KokkosBlas1_iamax_impl.hpp new file mode 100644 index 0000000000..479e0a53b0 --- /dev/null +++ b/src/blas/impl/KokkosBlas1_iamax_impl.hpp @@ -0,0 +1,299 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ +#ifndef KOKKOSBLAS1_IAMAX_IMPL_HPP_ +#define KOKKOSBLAS1_IAMAX_IMPL_HPP_ + +#include +#include +#include + +namespace KokkosBlas { +namespace Impl { + +/// \brief Iamax functor for single vectors. +/// +/// \tparam RV 0-D output View +/// \tparam XV 1-D input View +/// \tparam MagType Magnitude type +/// \tparam SizeType Index type. Use int (32 bits) if possible. +template +struct V_Iamax_Functor +{ + using size_type = SizeType; + using mag_type = MagType; + using xvalue_type = typename XV::non_const_value_type; + using IPT = Kokkos::Details::InnerProductSpaceTraits; + using value_type = typename RV::value_type; + + typename XV::const_type m_x; + + V_Iamax_Functor (const XV& x) : + m_x (x) + { + static_assert (Kokkos::Impl::is_view::value, + "KokkosBlas::Impl::V_Iamax_Functor: " + "R is not a Kokkos::View."); + static_assert (Kokkos::Impl::is_view::value, + "KokkosBlas::Impl::V_Iamax_Functor: " + "X is not a Kokkos::View."); + static_assert (Kokkos::Impl::is_same::value, + "KokkosBlas::Impl::V_Iamax_Functor: R is const. " + "It must be nonconst, because it is an output argument " + "(we have to be able to write to its entries)."); + static_assert (RV::rank == 0 && XV::rank == 1, + "KokkosBlas::Impl::V_Iamax_Functor: " + "RV must have rank 0 and XV must have rank 1."); + } + + KOKKOS_INLINE_FUNCTION void + operator() (const size_type i, value_type& lmaxloc) const + { + mag_type val = IPT::norm (m_x(i-1)); + mag_type maxval = IPT::norm (m_x(lmaxloc-1)); + if(val > maxval) lmaxloc = i; + } + + KOKKOS_INLINE_FUNCTION void + init (value_type& update) const + { + update = Kokkos::reduction_identity::max()+1; + } + + KOKKOS_INLINE_FUNCTION void + join (volatile value_type& update, const volatile value_type& source) const + { + mag_type source_val = IPT::norm (m_x(source-1)); + mag_type update_val = IPT::norm (m_x(update-1)); + if(update_val < source_val) + update = source; + } + + KOKKOS_INLINE_FUNCTION void + join (value_type& update, const value_type& source) const + { + mag_type source_val = IPT::norm (m_x(source-1)); + mag_type update_val = IPT::norm (m_x(update-1)); + if(update_val < source_val) + update = source; + } +}; + +/// \brief Column-wise Iamax functor for multivectors. +/// +/// \tparam RV 1-D output View +/// \tparam XMV 2-D input View +/// \tparam MagType Magnitude type +/// \tparam SizeType Index type. Use int (32 bits) if possible. +template +struct MV_Iamax_FunctorVector +{ + using execution_space = typename XMV::execution_space; + using memory_space = typename XMV::memory_space; + using size_type = SizeType; + using mag_type = MagType; + using xvalue_type = typename XMV::non_const_value_type; + using IPT = Kokkos::Details::InnerProductSpaceTraits; + using value_type = typename RV::value_type[]; + + size_type value_count; + typename XMV::const_type m_x; + + MV_Iamax_FunctorVector (const XMV& x) : + value_count (x.extent(1)), m_x (x) + { + static_assert (Kokkos::Impl::is_view::value, + "KokkosBlas::Impl::MV_Iamax_FunctorVector: " + "R is not a Kokkos::View."); + static_assert (Kokkos::Impl::is_view::value, + "KokkosBlas::Impl::MV_Iamax_FunctorVector: " + "X is not a Kokkos::View."); + static_assert (Kokkos::Impl::is_same::value, + "KokkosBlas::Impl::MV_Iamax_FunctorVector: " + "R is const. It must be nonconst, because it is an output " + "argument (we must be able to write to its entries)."); + static_assert (RV::rank == 1 && XMV::rank == 2, + "KokkosBlas::Impl::MV_Iamax_FunctorVector: " + "RV must have rank 1 and XMV must have rank 2."); + } + + KOKKOS_INLINE_FUNCTION void + operator() (const size_type i, value_type lmaxloc) const + { + const size_type numVecs = value_count; +#ifdef KOKKOS_ENABLE_PRAGMA_IVDEP +#pragma ivdep +#endif +#ifdef KOKKOS_ENABLE_PRAGMA_VECTOR +#pragma vector always +#endif + for (size_type j = 0; j < numVecs; ++j) { + mag_type val = IPT::norm (m_x(i-1,j)); + mag_type maxval = IPT::norm (m_x(lmaxloc[j]-1,j)); + if(val > maxval) lmaxloc[j] = i; + } + } + + KOKKOS_INLINE_FUNCTION void + init (value_type update) const + { + const size_type numVecs = value_count; +#ifdef KOKKOS_ENABLE_PRAGMA_IVDEP +#pragma ivdep +#endif +#ifdef KOKKOS_ENABLE_PRAGMA_VECTOR +#pragma vector always +#endif + for (size_type j = 0; j < numVecs; ++j) { + update[j] = Kokkos::reduction_identity::max()+1; + } + } + + KOKKOS_INLINE_FUNCTION void + join (volatile value_type update, const volatile value_type source) const + { + const size_type numVecs = value_count; +#ifdef KOKKOS_ENABLE_PRAGMA_IVDEP +#pragma ivdep +#endif +#ifdef KOKKOS_ENABLE_PRAGMA_VECTOR +#pragma vector always +#endif + for (size_type j = 0; j < numVecs; ++j) { + mag_type source_val = IPT::norm (m_x(source[j]-1,j)); + mag_type update_val = IPT::norm (m_x(update[j]-1,j)); + if(update_val < source_val) + update[j] = source[j]; + } + } + + KOKKOS_INLINE_FUNCTION void + join (value_type update, const value_type source) const + { + const size_type numVecs = value_count; +#ifdef KOKKOS_ENABLE_PRAGMA_IVDEP +#pragma ivdep +#endif +#ifdef KOKKOS_ENABLE_PRAGMA_VECTOR +#pragma vector always +#endif + for (size_type j = 0; j < numVecs; ++j) { + mag_type source_val = IPT::norm (m_x(source[j]-1,j)); + mag_type update_val = IPT::norm (m_x(update[j]-1,j)); + if(update_val < source_val) + update[j] = source[j]; + } + } +}; + + +/// \brief Find the index of the element with the maximum magnitude of the single vector (1-D +/// View) X, and store the result in the 0-D View r. +template +void +V_Iamax_Invoke (const RV& r, const XV& X) +{ + using execution_space = typename XV::execution_space; + using AT = Kokkos::Details::ArithTraits; + using mag_type = typename AT::mag_type; + + const SizeType numRows = static_cast (X.extent(0)); + + // Avoid MaxLoc Reduction if this is a zero length view + if( numRows == 0 ) { + Kokkos::deep_copy(r,0); + return; + } + + Kokkos::RangePolicy policy (1, numRows+1); + + using functor_type = V_Iamax_Functor; + functor_type op (X); + Kokkos::parallel_reduce ("KokkosBlas::Iamax::S0", policy, op, r); +} + + +/// \brief Find the index of the element with the maximum magnitude of the columns of the +/// multivector (2-D View) X, and store result(s) in the 1-D View r. +template +void +MV_Iamax_Invoke (const RV& r, const XMV& X) +{ + using execution_space = typename XMV::execution_space; + using AT = Kokkos::Details::ArithTraits; + using mag_type = typename AT::mag_type; + + const SizeType numRows = static_cast (X.extent(0)); + + // Avoid MaxLoc Reduction if this is a zero length view + if( numRows == 0 ) { + Kokkos::deep_copy(r,0); + return; + } + + Kokkos::RangePolicy policy (1, numRows+1); + + // If the input multivector (2-D View) has only one column, invoke + // the single-vector version of the kernel. + if (X.extent(1) == 1) { + using RV0D = Kokkos::View>; + RV0D r_0(r, 0); + auto X_0 = Kokkos::subview (X, Kokkos::ALL (), 0); + using XV1D = decltype(X_0); + V_Iamax_Invoke (r_0, X_0); + } + else { + using functor_type = MV_Iamax_FunctorVector; + functor_type op (X); + Kokkos::parallel_reduce ("KokkosBlas::Iamax::S1", policy, op, r); + } +} + +} // namespace Impl +} // namespace KokkosBlas + +#endif // KOKKOSBLAS1_IAMAX_IMPL_HPP_ diff --git a/src/blas/impl/KokkosBlas1_iamax_spec.hpp b/src/blas/impl/KokkosBlas1_iamax_spec.hpp new file mode 100644 index 0000000000..4a4819f372 --- /dev/null +++ b/src/blas/impl/KokkosBlas1_iamax_spec.hpp @@ -0,0 +1,340 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ +#ifndef KOKKOSBLAS1_IAMAX_SPEC_HPP_ +#define KOKKOSBLAS1_IAMAX_SPEC_HPP_ + +#include +#include +#include +#include + +// Include the actual functors +#if !defined(KOKKOSKERNELS_ETI_ONLY) || KOKKOSKERNELS_IMPL_COMPILE_LIBRARY +#include +#endif + +namespace KokkosBlas { +namespace Impl { +// Specialization struct which defines whether a specialization exists +template +struct iamax_eti_spec_avail { + enum : bool { value = false }; +}; +} +} + +// +// Macro for declaration of full specialization availability +// KokkosBlas::Impl::Iamax for rank == 1. This is NOT for users!!! All +// the declarations of full specializations go in this header file. +// We may spread out definitions (see _INST macro below) across one or +// more .cpp files. +// +#define KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL_INDEX( INDEX_TYPE, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE ) \ + template<> \ + struct iamax_eti_spec_avail< \ + Kokkos::View >, \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + 1> { enum : bool { value = true }; }; \ + template<> \ + struct iamax_eti_spec_avail< \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + 1> { enum : bool { value = true }; }; + +#define KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL( SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE ) \ + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL_INDEX( unsigned long, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) \ + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL_INDEX( unsigned int, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) \ + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL_INDEX( int, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) + +// +// Macro for declaration of full specialization availability +// KokkosBlas::Impl::Iamax for rank == 2. This is NOT for users!!! All +// the declarations of full specializations go in this header file. +// We may spread out definitions (see _DEF macro below) across one or +// more .cpp files. +// +#define KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL_INDEX_HOST( INDEX_TYPE, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE ) \ + template<> \ + struct iamax_eti_spec_avail< \ + Kokkos::View::value, \ + Kokkos::LayoutLeft, LAYOUT>::type, \ + Kokkos::HostSpace, \ + Kokkos::MemoryTraits >, \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + 2> { enum : bool { value = true }; }; \ + template<> \ + struct iamax_eti_spec_avail< \ + Kokkos::View::value, \ + Kokkos::LayoutLeft, LAYOUT>::type, \ + Kokkos::Device, \ + Kokkos::MemoryTraits >, \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + 2> { enum : bool { value = true }; }; + +#define KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL( SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE ) \ + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL_INDEX_HOST( unsigned long, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) \ + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL_INDEX_HOST( unsigned int, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) \ + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL_INDEX_HOST( int, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) + +// Include the actual specialization declarations +#include +#include +#include + +namespace KokkosBlas { +namespace Impl { + +// Unification layer +template::value, + bool eti_spec_avail = iamax_eti_spec_avail::value> +struct Iamax { + static void iamax (const RMV& R, const XMV& X); +}; + +#if !defined(KOKKOSKERNELS_ETI_ONLY) || KOKKOSKERNELS_IMPL_COMPILE_LIBRARY +//! Full specialization of Iamax for single vectors (1-D Views). +template +struct Iamax +{ + typedef typename XMV::size_type size_type; + + static void iamax (const RMV& R, const XMV& X) + { + static_assert (Kokkos::Impl::is_view::value, "KokkosBlas::Impl::" + "Iamax<1-D>: RMV is not a Kokkos::View."); + static_assert (Kokkos::Impl::is_view::value, "KokkosBlas::Impl::" + "Iamax<1-D>: XMV is not a Kokkos::View."); + static_assert (RMV::rank == 0, "KokkosBlas::Impl::Iamax<1-D>: " + "RMV is not rank 0."); + static_assert (XMV::rank == 1, "KokkosBlas::Impl::Iamax<1-D>: " + "XMV is not rank 1."); + Kokkos::Profiling::pushRegion(KOKKOSKERNELS_IMPL_COMPILE_LIBRARY?"KokkosBlas::iamax[ETI]":"KokkosBlas::iamax[noETI]"); + #ifdef KOKKOSKERNELS_ENABLE_CHECK_SPECIALIZATION + if(KOKKOSKERNELS_IMPL_COMPILE_LIBRARY) + printf("KokkosBlas1::iamax<> ETI specialization for < %s , %s >\n",typeid(RMV).name(),typeid(XMV).name()); + else { + printf("KokkosBlas1::iamax<> non-ETI specialization for < %s , %s >\n",typeid(RMV).name(),typeid(XMV).name()); + } + #endif + const size_type numRows = X.extent(0); + + if (numRows < static_cast (INT_MAX) ) { + V_Iamax_Invoke (R, X); + } + else { + typedef std::int64_t index_type; + V_Iamax_Invoke (R, X); + } + Kokkos::Profiling::popRegion(); + } +}; + + +template +struct Iamax { + typedef typename XMV::size_type size_type; + + static void iamax (const RV& R, const XMV& X) + { + static_assert (Kokkos::Impl::is_view::value, "KokkosBlas::Impl::" + "Iamax<2-D>: RV is not a Kokkos::View."); + static_assert (Kokkos::Impl::is_view::value, "KokkosBlas::Impl::" + "Iamax<2-D>: XMV is not a Kokkos::View."); + static_assert (RV::rank == 1, "KokkosBlas::Impl::Iamax<2-D>: " + "RV is not rank 1."); + static_assert (XMV::rank == 2, "KokkosBlas::Impl::Iamax<2-D>: " + "XMV is not rank 2."); + Kokkos::Profiling::pushRegion(KOKKOSKERNELS_IMPL_COMPILE_LIBRARY?"KokkosBlas::iamax[ETI]":"KokkosBlas::iamax[noETI]"); + #ifdef KOKKOSKERNELS_ENABLE_CHECK_SPECIALIZATION + if(KOKKOSKERNELS_IMPL_COMPILE_LIBRARY) + printf("KokkosBlas1::iamax<> ETI specialization for < %s , %s >\n",typeid(RV).name(),typeid(XMV).name()); + else { + printf("KokkosBlas1::iamax<> non-ETI specialization for < %s , %s >\n",typeid(RV).name(),typeid(XMV).name()); + } + #endif + + const size_type numRows = X.extent(0); + const size_type numCols = X.extent(1); + if (numRows < static_cast (INT_MAX) && + numRows * numCols < static_cast (INT_MAX)) { + MV_Iamax_Invoke (R, X); + } + else { + typedef std::int64_t index_type; + MV_Iamax_Invoke (R, X); + } + Kokkos::Profiling::popRegion(); + } +}; +#endif + +} +} + +// +// Macro for declaration of full specialization of +// KokkosBlas::Impl::Iamax for rank == 2. This is NOT for users!!! All +// the declarations of full specializations go in this header file. +// We may spread out definitions (see _DEF macro below) across one or +// more .cpp files. +// +#define KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL_INDEX( INDEX_TYPE, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE ) \ +extern template struct Iamax< \ + Kokkos::View >, \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + 1, false, true>; \ +extern template struct Iamax< \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + 1, false, true>; + +#define KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL( SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE ) \ + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL_INDEX( unsigned long, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) \ + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL_INDEX( unsigned int, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) \ + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL_INDEX( int, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) + +// +// Macro for definition of full specialization of +// KokkosBlas::Impl::Iamax for rank == 1. This is NOT for users!!! We +// use this macro in one or more .cpp files in this directory. +// +#define KOKKOSBLAS1_IAMAX_ETI_SPEC_INST_INDEX( INDEX_TYPE, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE ) \ +template struct Iamax< \ + Kokkos::View >, \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + 1, false, true>; \ +template struct Iamax< \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + 1, false, true>; + +#define KOKKOSBLAS1_IAMAX_ETI_SPEC_INST( SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE ) \ + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST_INDEX( unsigned long, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) \ + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST_INDEX( unsigned int, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) \ + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST_INDEX( int, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) + +// +// Macro for declaration of full specialization of +// KokkosBlas::Impl::Iamax for rank == 2. This is NOT for users!!! All +// the declarations of full specializations go in this header file. +// We may spread out definitions (see _DEF macro below) across one or +// more .cpp files. +// +#define KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL_INDEX( INDEX_TYPE, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE ) \ +extern template struct Iamax< \ + Kokkos::View::value, \ + Kokkos::LayoutLeft, LAYOUT>::type, \ + Kokkos::HostSpace, \ + Kokkos::MemoryTraits >, \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + 2, false, true>; \ +extern template struct Iamax< \ + Kokkos::View::value, \ + Kokkos::LayoutLeft, LAYOUT>::type, \ + Kokkos::Device, \ + Kokkos::MemoryTraits >, \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + 2, false, true>; + +#define KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL( SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE ) \ + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL_INDEX( unsigned long, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) \ + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL_INDEX( unsigned int, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) \ + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL_INDEX( int, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) + +// +// Macro for definition of full specialization of +// KokkosBlas::Impl::Iamax for rank == 2. This is NOT for users!!! We +// use this macro in one or more .cpp files in this directory. +// +#define KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST_INDEX( INDEX_TYPE, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE ) \ +template struct Iamax< \ + Kokkos::View::value, \ + Kokkos::LayoutLeft, LAYOUT>::type, \ + Kokkos::HostSpace, \ + Kokkos::MemoryTraits >, \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + 2, false, true>; \ +template struct Iamax< \ + Kokkos::View::value, \ + Kokkos::LayoutLeft, LAYOUT>::type, \ + Kokkos::Device, \ + Kokkos::MemoryTraits >, \ + Kokkos::View, \ + Kokkos::MemoryTraits >, \ + 2, false, true>; + +#define KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST( SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE ) \ + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST_INDEX( unsigned long, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) \ + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST_INDEX( unsigned int, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) \ + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST_INDEX( int, SCALAR, LAYOUT, EXEC_SPACE, MEM_SPACE) + +#include +#include +#include + +#endif // KOKKOSBLAS1_IAMAX_SPEC_HPP_ diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..32e022d55c --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..152f726790 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..56892f4d5c --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..b6c7c1334c --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..cef279dc8d --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Serial_HostSpace.cpp new file mode 100644 index 0000000000..95ed25dff2 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..b334020b04 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Threads_HostSpace.cpp new file mode 100644 index 0000000000..e58156c14f --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..e32f1677aa --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..2f31c2d60c --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..62ad38b779 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..3ce01d8e36 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..dbf21e1b00 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Serial_HostSpace.cpp new file mode 100644 index 0000000000..668b815aac --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..4dace5aa50 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Threads_HostSpace.cpp new file mode 100644 index 0000000000..e9ae08c765 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_double__LayoutRight_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..4f70293ada --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..3efcc769fd --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..7357e7e434 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..1770978ef1 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..8982d7f6d9 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Serial_HostSpace.cpp new file mode 100644 index 0000000000..89687bedb1 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..981f339423 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Threads_HostSpace.cpp new file mode 100644 index 0000000000..cc6c908c02 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..59dc8cd508 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..3dcb0833d7 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..2f42d442b3 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..12779871ff --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..975aaf715e --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Serial_HostSpace.cpp new file mode 100644 index 0000000000..ad8dc537c7 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..73328a1c96 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Threads_HostSpace.cpp new file mode 100644 index 0000000000..f7d90dac17 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_complex_float__LayoutRight_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..fa04cfaffb --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..ce0afabf9c --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..cbc8718753 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..68ac3f7239 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..e5c6183540 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Serial_HostSpace.cpp new file mode 100644 index 0000000000..4e333d0fb0 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..f709a2b4b3 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Threads_HostSpace.cpp new file mode 100644 index 0000000000..b152103303 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutLeft_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..64c144b269 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..25796a2d66 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..b633be07a0 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..59a018b206 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..b6921f146a --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Serial_HostSpace.cpp new file mode 100644 index 0000000000..ffaa51463d --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..e5a0078d57 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Threads_HostSpace.cpp new file mode 100644 index 0000000000..f07754b53e --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_double_LayoutRight_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..c8eb3cf5e9 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..7f67c5d4c6 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..5cfe6b484a --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..5a0d54f79d --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..29d07a26a0 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Serial_HostSpace.cpp new file mode 100644 index 0000000000..c03799c053 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..8feec82ecb --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Threads_HostSpace.cpp new file mode 100644 index 0000000000..b4e939f433 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutLeft_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..61cc7e8ba9 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..cb9f50f261 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..654999dbcc --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..fa6a7a7ff8 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..7abfbcfee7 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Serial_HostSpace.cpp new file mode 100644 index 0000000000..e6bc61df26 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..719f78cd3f --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Threads_HostSpace.cpp new file mode 100644 index 0000000000..8024c35b70 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_float_LayoutRight_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..d99e6d4adc --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..d4f840f95e --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..8080262869 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..3d5529bec9 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..d057404bc3 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Serial_HostSpace.cpp new file mode 100644 index 0000000000..9c2aaadbe7 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..992c7b2ea5 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Threads_HostSpace.cpp new file mode 100644 index 0000000000..9e4611c2a1 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..eb15e413e6 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..5a3e604167 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..9ca75b5d85 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..f2816fc070 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..aeb5d88a1a --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Serial_HostSpace.cpp new file mode 100644 index 0000000000..49d94a33ef --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..4cb3f4730c --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Threads_HostSpace.cpp new file mode 100644 index 0000000000..2c29d8115b --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_double__LayoutRight_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..87661723ab --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..664a9df8f0 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..391a05930f --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..dbe78cbd8e --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..9c1d72ebd1 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Serial_HostSpace.cpp new file mode 100644 index 0000000000..333bc96bbe --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..efa3df4c99 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Threads_HostSpace.cpp new file mode 100644 index 0000000000..893330b787 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutLeft_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..8b58e4b6e9 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..ed34aab2a1 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..e7f7266872 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..19ea6f913c --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..307fc74d2c --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Serial_HostSpace.cpp new file mode 100644 index 0000000000..b7d99abec3 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..281df9fb7d --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Threads_HostSpace.cpp new file mode 100644 index 0000000000..228d45c8e7 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_Kokkos_complex_float__LayoutRight_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..d4918651b7 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..80169861d2 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..35f5aaa3a4 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..a6fa4edc06 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..2027bc549c --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Serial_HostSpace.cpp new file mode 100644 index 0000000000..6e21eeef8b --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..b3797728e4 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Threads_HostSpace.cpp new file mode 100644 index 0000000000..ed1ae019b7 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutLeft_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..7e66a05c8c --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..04bd362dc8 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..b07f8903b6 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..4a81862cc7 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..37b761ebcf --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Serial_HostSpace.cpp new file mode 100644 index 0000000000..e9410e9a8f --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..06bfb3f16f --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Threads_HostSpace.cpp new file mode 100644 index 0000000000..f643490d9e --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_double_LayoutRight_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(double, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..e769d4b40e --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..b132987367 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..6adb338f8f --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..ba5ddc091d --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..1023043011 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Serial_HostSpace.cpp new file mode 100644 index 0000000000..b9f60f467b --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..96d521ee3b --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Threads_HostSpace.cpp new file mode 100644 index 0000000000..516c95c24c --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutLeft_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Cuda_CudaSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Cuda_CudaSpace.cpp new file mode 100644 index 0000000000..7f773f27b4 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Cuda_CudaSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Cuda_CudaUVMSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Cuda_CudaUVMSpace.cpp new file mode 100644 index 0000000000..09089d0601 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Cuda_CudaUVMSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_OpenMP_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_OpenMP_HBWSpace.cpp new file mode 100644 index 0000000000..47446b8455 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_OpenMP_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_OpenMP_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_OpenMP_HostSpace.cpp new file mode 100644 index 0000000000..ed911f0146 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_OpenMP_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Serial_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Serial_HBWSpace.cpp new file mode 100644 index 0000000000..b7fed4274f --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Serial_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Serial_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Serial_HostSpace.cpp new file mode 100644 index 0000000000..6e17952ea5 --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Serial_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Threads_HBWSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Threads_HBWSpace.cpp new file mode 100644 index 0000000000..9eb31eea8a --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Threads_HBWSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Threads_HostSpace.cpp b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Threads_HostSpace.cpp new file mode 100644 index 0000000000..f646ae712b --- /dev/null +++ b/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_mv_eti_spec_inst_float_LayoutRight_Threads_HostSpace.cpp @@ -0,0 +1,58 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + + +#define KOKKOSKERNELS_IMPL_COMPILE_LIBRARY true +#include "KokkosKernels_config.h" +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) +#include "KokkosBlas1_iamax_spec.hpp" + +namespace KokkosBlas { +namespace Impl { + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_INST(float, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +} // Impl +} // KokkosBlas +#endif diff --git a/src/impl/generated_specializations_hpp/KokkosBlas1_iamax_eti_spec_avail.hpp b/src/impl/generated_specializations_hpp/KokkosBlas1_iamax_eti_spec_avail.hpp new file mode 100644 index 0000000000..925fa01433 --- /dev/null +++ b/src/impl/generated_specializations_hpp/KokkosBlas1_iamax_eti_spec_avail.hpp @@ -0,0 +1,498 @@ +#ifndef KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL_HPP_ +#define KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL_HPP_ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + +namespace KokkosBlas { +namespace Impl { + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif +} // Impl +} // KokkosBlas +#endif // KOKKOSBLAS1_IAMAX_ETI_SPEC_AVAIL_HPP_ diff --git a/src/impl/generated_specializations_hpp/KokkosBlas1_iamax_eti_spec_decl.hpp b/src/impl/generated_specializations_hpp/KokkosBlas1_iamax_eti_spec_decl.hpp new file mode 100644 index 0000000000..af6ab690aa --- /dev/null +++ b/src/impl/generated_specializations_hpp/KokkosBlas1_iamax_eti_spec_decl.hpp @@ -0,0 +1,498 @@ +#ifndef KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL_HPP_ +#define KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL_HPP_ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + +namespace KokkosBlas { +namespace Impl { + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif +} // Impl +} // KokkosBlas +#endif // KOKKOSBLAS1_IAMAX_ETI_SPEC_DECL_HPP_ diff --git a/src/impl/generated_specializations_hpp/KokkosBlas1_iamax_mv_eti_spec_avail.hpp b/src/impl/generated_specializations_hpp/KokkosBlas1_iamax_mv_eti_spec_avail.hpp new file mode 100644 index 0000000000..1f85b04b3b --- /dev/null +++ b/src/impl/generated_specializations_hpp/KokkosBlas1_iamax_mv_eti_spec_avail.hpp @@ -0,0 +1,498 @@ +#ifndef KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL_HPP_ +#define KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL_HPP_ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + +namespace KokkosBlas { +namespace Impl { + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(double, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(float, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif +} // Impl +} // KokkosBlas +#endif // KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_AVAIL_HPP_ diff --git a/src/impl/generated_specializations_hpp/KokkosBlas1_iamax_mv_eti_spec_decl.hpp b/src/impl/generated_specializations_hpp/KokkosBlas1_iamax_mv_eti_spec_decl.hpp new file mode 100644 index 0000000000..fe97b17ec2 --- /dev/null +++ b/src/impl/generated_specializations_hpp/KokkosBlas1_iamax_mv_eti_spec_decl.hpp @@ -0,0 +1,498 @@ +#ifndef KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL_HPP_ +#define KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL_HPP_ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + +namespace KokkosBlas { +namespace Impl { + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_DOUBLE) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(double, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_FLOAT) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(float, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTLEFT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutLeft, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDASPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_CUDA) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_CUDAUVMSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Cuda, Kokkos::CudaUVMSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HOSTSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::HostSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_OPENMP) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::OpenMP, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_THREADS) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Threads, Kokkos::Experimental::HBWSpace) +#endif + +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) \ + && defined (KOKKOSKERNELS_INST_LAYOUTRIGHT) \ + && defined (KOKKOSKERNELS_INST_EXECSPACE_SERIAL) \ + && defined (KOKKOSKERNELS_INST_MEMSPACE_HBWSPACE) + KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL(Kokkos::complex, Kokkos::LayoutRight, Kokkos::Serial, Kokkos::Experimental::HBWSpace) +#endif +} // Impl +} // KokkosBlas +#endif // KOKKOSBLAS1_IAMAX_MV_ETI_SPEC_DECL_HPP_ diff --git a/src/impl/tpls/KokkosBlas1_iamax_tpl_spec_avail.hpp b/src/impl/tpls/KokkosBlas1_iamax_tpl_spec_avail.hpp new file mode 100644 index 0000000000..a84f340bf3 --- /dev/null +++ b/src/impl/tpls/KokkosBlas1_iamax_tpl_spec_avail.hpp @@ -0,0 +1,127 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + +#ifndef KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_HPP_ +#define KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_HPP_ + +namespace KokkosBlas { +namespace Impl { +// Specialization struct which defines whether a specialization exists +template +struct iamax_tpl_spec_avail { + enum : bool { value = false }; +}; +} +} + +namespace KokkosBlas { +namespace Impl { + +// Generic Host side BLAS (could be MKL or whatever) +#ifdef KOKKOSKERNELS_ENABLE_TPL_BLAS +// double +#define KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_BLAS( INDEX_TYPE, SCALAR, LAYOUT, MEMSPACE ) \ +template \ +struct iamax_tpl_spec_avail< \ +Kokkos::View >, \ +Kokkos::View, \ + Kokkos::MemoryTraits >, \ +1> { enum : bool { value = true }; }; + +#if defined (KOKKOSKERNELS_INST_DOUBLE) +KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_BLAS( unsigned long, double, Kokkos::LayoutLeft, Kokkos::HostSpace) +#endif +#if defined (KOKKOSKERNELS_INST_FLOAT) +KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_BLAS( unsigned long, float, Kokkos::LayoutLeft, Kokkos::HostSpace) +#endif +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) +KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_BLAS( unsigned long, Kokkos::complex, Kokkos::LayoutLeft, Kokkos::HostSpace) +#endif +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) +KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_BLAS( unsigned long, Kokkos::complex, Kokkos::LayoutLeft, Kokkos::HostSpace) +#endif + +#endif + +// cuBLAS +#ifdef KOKKOSKERNELS_ENABLE_TPL_CUBLAS +// double +#define KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_CUBLAS( INDEX_TYPE, SCALAR, LAYOUT, MEMSPACE ) \ +template \ +struct iamax_tpl_spec_avail< \ +Kokkos::View >, \ +Kokkos::View, \ + Kokkos::MemoryTraits >, \ +1> { enum : bool { value = true }; }; \ +template \ +struct iamax_tpl_spec_avail< \ +Kokkos::View, \ + Kokkos::MemoryTraits >, \ +Kokkos::View, \ + Kokkos::MemoryTraits >, \ +1> { enum : bool { value = true }; }; + +#if defined (KOKKOSKERNELS_INST_DOUBLE) +KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_CUBLAS( unsigned long, double, Kokkos::LayoutLeft, Kokkos::CudaSpace) +KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_CUBLAS( unsigned int, double, Kokkos::LayoutLeft, Kokkos::CudaSpace) +#endif +#if defined (KOKKOSKERNELS_INST_FLOAT) +KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_CUBLAS( unsigned long, float, Kokkos::LayoutLeft, Kokkos::CudaSpace) +KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_CUBLAS( unsigned int, float, Kokkos::LayoutLeft, Kokkos::CudaSpace) +#endif +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_DOUBLE_) +KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_CUBLAS( unsigned long, Kokkos::complex,Kokkos::LayoutLeft, Kokkos::CudaSpace) +KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_CUBLAS( unsigned int, Kokkos::complex, Kokkos::LayoutLeft, Kokkos::CudaSpace) +#endif +#if defined (KOKKOSKERNELS_INST_KOKKOS_COMPLEX_FLOAT_) +KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_CUBLAS( unsigned long, Kokkos::complex, Kokkos::LayoutLeft, Kokkos::CudaSpace) +KOKKOSBLAS1_IAMAX_TPL_SPEC_AVAIL_CUBLAS( unsigned int, Kokkos::complex, Kokkos::LayoutLeft, Kokkos::CudaSpace) +#endif + +#endif + +} +} +#endif diff --git a/src/impl/tpls/KokkosBlas1_iamax_tpl_spec_decl.hpp b/src/impl/tpls/KokkosBlas1_iamax_tpl_spec_decl.hpp new file mode 100644 index 0000000000..8216b726ad --- /dev/null +++ b/src/impl/tpls/KokkosBlas1_iamax_tpl_spec_decl.hpp @@ -0,0 +1,546 @@ +/* +//@HEADER +// ************************************************************************ +// +// KokkosKernels 0.9: Linear Algebra and Graph Kernels +// Copyright 2017 Sandia Corporation +// +// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +// the U.S. Government retains certain rights in this software. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. Neither the name of the Corporation nor the names of the +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact Siva Rajamanickam (srajama@sandia.gov) +// +// ************************************************************************ +//@HEADER +*/ + +#ifndef KOKKOSBLAS1_IAMAX_TPL_SPEC_DECL_HPP_ +#define KOKKOSBLAS1_IAMAX_TPL_SPEC_DECL_HPP_ + + +namespace KokkosBlas { +namespace Impl { + template + inline void iamax_print_specialization() { + #ifdef KOKKOSKERNELS_ENABLE_CHECK_SPECIALIZATION + #ifdef KOKKOSKERNELS_ENABLE_TPL_CUBLAS + printf("KokkosBlas1::iamax<> TPL cuBLAS specialization for < %s , %s >\n",typeid(RV).name(),typeid(XV).name()); + #else + #ifdef KOKKOSKERNELS_ENABLE_TPL_BLAS + printf("KokkosBlas1::iamax<> TPL Blas specialization for < %s , %s >\n",typeid(RV).name(),typeid(XV).name()); + #endif + #endif + #endif + } +} +} + +// Generic Host side BLAS (could be MKL or whatever) +#ifdef KOKKOSKERNELS_ENABLE_TPL_BLAS +#include "KokkosBlas_Host_tpl.hpp" + +namespace KokkosBlas { +namespace Impl { + + +#define KOKKOSBLAS1_DIAMAX_TPL_SPEC_DECL_BLAS( LAYOUT, MEMSPACE, ETI_SPEC_AVAIL ) \ +template \ +struct Iamax< \ +Kokkos::View >, \ +Kokkos::View, \ + Kokkos::MemoryTraits >, \ +1,true, ETI_SPEC_AVAIL > { \ + \ + typedef Kokkos::View > RV; \ + typedef Kokkos::View, \ + Kokkos::MemoryTraits > XV; \ + typedef typename XV::size_type size_type; \ + \ + static void iamax (RV& R, const XV& X) \ + { \ + Kokkos::Profiling::pushRegion("KokkosBlas::iamax[TPL_BLAS,double]"); \ + const size_type numElems = X.extent(0); \ + if (numElems == 0) { R() = 0; return; } \ + if (numElems < static_cast (INT_MAX)) { \ + iamax_print_specialization(); \ + int N = static_cast (numElems); \ + const int XST = X.stride(0); \ + const int LDX = (XST == 0) ? 1 : XST; \ + int idx = HostBlas::iamax(N,X.data(),LDX); \ + R() = static_cast(idx); \ + } else { \ + Iamax::iamax(R,X); \ + } \ + Kokkos::Profiling::popRegion(); \ + } \ +}; + +#define KOKKOSBLAS1_SIAMAX_TPL_SPEC_DECL_BLAS( LAYOUT, MEMSPACE, ETI_SPEC_AVAIL ) \ +template \ +struct Iamax< \ +Kokkos::View >, \ +Kokkos::View, \ + Kokkos::MemoryTraits >, \ +1,true, ETI_SPEC_AVAIL > { \ + \ + typedef Kokkos::View > RV; \ + typedef Kokkos::View, \ + Kokkos::MemoryTraits > XV; \ + typedef typename XV::size_type size_type; \ + \ + static void iamax (RV& R, const XV& X) \ + { \ + Kokkos::Profiling::pushRegion("KokkosBlas::iamax[TPL_BLAS,float]"); \ + const size_type numElems = X.extent(0); \ + if (numElems == 0) { R() = 0; return; } \ + if (numElems < static_cast (INT_MAX)) { \ + iamax_print_specialization(); \ + int N = static_cast (numElems); \ + const int XST = X.stride(0); \ + const int LDX = (XST == 0) ? 1 : XST; \ + int idx = HostBlas::iamax(N,X.data(),LDX); \ + R() = static_cast(idx); \ + } else { \ + Iamax::iamax(R,X); \ + } \ + Kokkos::Profiling::popRegion(); \ + } \ +}; + +#define KOKKOSBLAS1_ZIAMAX_TPL_SPEC_DECL_BLAS( LAYOUT, MEMSPACE, ETI_SPEC_AVAIL ) \ +template \ +struct Iamax< \ +Kokkos::View >, \ +Kokkos::View*, LAYOUT, Kokkos::Device, \ + Kokkos::MemoryTraits >, \ +1,true, ETI_SPEC_AVAIL > { \ + \ + typedef Kokkos::View > RV; \ + typedef Kokkos::View*, LAYOUT, Kokkos::Device, \ + Kokkos::MemoryTraits > XV; \ + typedef typename XV::size_type size_type; \ + \ + static void iamax (RV& R, const XV& X) \ + { \ + Kokkos::Profiling::pushRegion("KokkosBlas::iamax[TPL_BLAS,complex]"); \ + const size_type numElems = X.extent(0); \ + if (numElems == 0) { R() = 0; return; } \ + if (numElems < static_cast (INT_MAX)) { \ + iamax_print_specialization(); \ + int N = static_cast (numElems); \ + const int XST = X.stride(0); \ + const int LDX = (XST == 0) ? 1 : XST; \ + int idx = HostBlas >::iamax(N,reinterpret_cast*>(X.data()),LDX); \ + R() = static_cast(idx); \ + } else { \ + Iamax::iamax(R,X); \ + } \ + Kokkos::Profiling::popRegion(); \ + } \ +}; + +#define KOKKOSBLAS1_CIAMAX_TPL_SPEC_DECL_BLAS( LAYOUT, MEMSPACE, ETI_SPEC_AVAIL ) \ +template \ +struct Iamax< \ +Kokkos::View >, \ +Kokkos::View*, LAYOUT, Kokkos::Device, \ + Kokkos::MemoryTraits >, \ +1,true, ETI_SPEC_AVAIL > { \ + \ + typedef Kokkos::View > RV; \ + typedef Kokkos::View*, LAYOUT, Kokkos::Device, \ + Kokkos::MemoryTraits > XV; \ + typedef typename XV::size_type size_type; \ + \ + static void iamax (RV& R, const XV& X) \ + { \ + Kokkos::Profiling::pushRegion("KokkosBlas::iamax[TPL_BLAS,complex]"); \ + const size_type numElems = X.extent(0); \ + if (numElems == 0) { R() = 0; return; } \ + if (numElems < static_cast (INT_MAX)) { \ + iamax_print_specialization(); \ + int N = static_cast (numElems); \ + const int XST = X.stride(0); \ + const int LDX = (XST == 0) ? 1 : XST; \ + int idx = HostBlas >::iamax(N,reinterpret_cast*>(X.data()),LDX); \ + R() = static_cast(idx); \ + } else { \ + Iamax::iamax(R,X); \ + } \ + Kokkos::Profiling::popRegion(); \ + } \ +}; + +KOKKOSBLAS1_DIAMAX_TPL_SPEC_DECL_BLAS( Kokkos::LayoutLeft, Kokkos::HostSpace, true) +KOKKOSBLAS1_DIAMAX_TPL_SPEC_DECL_BLAS( Kokkos::LayoutLeft, Kokkos::HostSpace, false) + +KOKKOSBLAS1_SIAMAX_TPL_SPEC_DECL_BLAS( Kokkos::LayoutLeft, Kokkos::HostSpace, true) +KOKKOSBLAS1_SIAMAX_TPL_SPEC_DECL_BLAS( Kokkos::LayoutLeft, Kokkos::HostSpace, false) + +KOKKOSBLAS1_ZIAMAX_TPL_SPEC_DECL_BLAS( Kokkos::LayoutLeft, Kokkos::HostSpace, true) +KOKKOSBLAS1_ZIAMAX_TPL_SPEC_DECL_BLAS( Kokkos::LayoutLeft, Kokkos::HostSpace, false) + +KOKKOSBLAS1_CIAMAX_TPL_SPEC_DECL_BLAS( Kokkos::LayoutLeft, Kokkos::HostSpace, true) +KOKKOSBLAS1_CIAMAX_TPL_SPEC_DECL_BLAS( Kokkos::LayoutLeft, Kokkos::HostSpace, false) + +} +} + +#endif + +// cuBLAS +#ifdef KOKKOSKERNELS_ENABLE_TPL_CUBLAS +#include + +namespace KokkosBlas { +namespace Impl { + +#define KOKKOSBLAS1_DIAMAX_TPL_SPEC_DECL_CUBLAS( INDEX_TYPE, LAYOUT, MEMSPACE, ETI_SPEC_AVAIL ) \ +template \ +struct Iamax< \ +Kokkos::View >, \ +Kokkos::View, \ + Kokkos::MemoryTraits >, \ +1,true, ETI_SPEC_AVAIL > { \ + \ + typedef Kokkos::View > RV; \ + typedef Kokkos::View, \ + Kokkos::MemoryTraits > XV; \ + typedef typename XV::size_type size_type; \ + \ + static void iamax (RV& R, const XV& X) \ + { \ + Kokkos::Profiling::pushRegion("KokkosBlas::iamax[TPL_CUBLAS,double]"); \ + const size_type numElems = X.extent(0); \ + if (numElems == 0) { Kokkos::deep_copy (R, 0); return; } \ + if (numElems < static_cast (INT_MAX)) { \ + iamax_print_specialization(); \ + const int N = static_cast (numElems); \ + const int XST = X.stride(0); \ + const int LDX = (XST == 0) ? 1 : XST; \ + int idx; \ + KokkosBlas::Impl::CudaBlasSingleton & s = KokkosBlas::Impl::CudaBlasSingleton::singleton(); \ + cublasIdamax(s.handle, N, X.data(), LDX, &idx); \ + R() = static_cast(idx); \ + } else { \ + Iamax::iamax(R,X); \ + } \ + Kokkos::Profiling::popRegion(); \ + } \ +}; \ +template \ +struct Iamax< \ +Kokkos::View, \ + Kokkos::MemoryTraits >, \ +Kokkos::View, \ + Kokkos::MemoryTraits >, \ +1,true, ETI_SPEC_AVAIL > { \ + \ + typedef Kokkos::View, \ + Kokkos::MemoryTraits > RV; \ + typedef Kokkos::View, \ + Kokkos::MemoryTraits > XV; \ + typedef typename XV::size_type size_type; \ + \ + static void iamax (RV& R, const XV& X) \ + { \ + Kokkos::Profiling::pushRegion("KokkosBlas::iamax[TPL_CUBLAS,double]"); \ + const size_type numElems = X.extent(0); \ + if (numElems == 0) { Kokkos::deep_copy (R, 0); return; } \ + if (numElems < static_cast (INT_MAX)) { \ + iamax_print_specialization(); \ + const int N = static_cast (numElems); \ + const int XST = X.stride(0); \ + const int LDX = (XST == 0) ? 1 : XST; \ + KokkosBlas::Impl::CudaBlasSingleton & s = KokkosBlas::Impl::CudaBlasSingleton::singleton(); \ + cublasSetPointerMode(s.handle, CUBLAS_POINTER_MODE_DEVICE); \ + cublasIdamax(s.handle, N, X.data(), LDX, reinterpret_cast(R.data())); \ + cublasSetPointerMode(s.handle, CUBLAS_POINTER_MODE_HOST); \ + Kokkos::fence(); \ + } else { \ + Iamax::iamax(R,X); \ + } \ + Kokkos::Profiling::popRegion(); \ + } \ +}; + +#define KOKKOSBLAS1_SIAMAX_TPL_SPEC_DECL_CUBLAS( INDEX_TYPE, LAYOUT, MEMSPACE, ETI_SPEC_AVAIL ) \ +template \ +struct Iamax< \ +Kokkos::View >, \ +Kokkos::View, \ + Kokkos::MemoryTraits >, \ +1,true, ETI_SPEC_AVAIL > { \ + \ + typedef Kokkos::View > RV; \ + typedef Kokkos::View, \ + Kokkos::MemoryTraits > XV; \ + typedef typename XV::size_type size_type; \ + \ + static void iamax (RV& R, const XV& X) \ + { \ + Kokkos::Profiling::pushRegion("KokkosBlas::iamax[TPL_CUBLAS,float]"); \ + const size_type numElems = X.extent(0); \ + if (numElems == 0) { Kokkos::deep_copy (R, 0);; return; } \ + if (numElems < static_cast (INT_MAX)) { \ + iamax_print_specialization(); \ + const int N = static_cast (numElems); \ + const int XST = X.stride(0); \ + const int LDX = (XST == 0) ? 1 : XST; \ + int idx; \ + KokkosBlas::Impl::CudaBlasSingleton & s = KokkosBlas::Impl::CudaBlasSingleton::singleton(); \ + cublasIsamax(s.handle, N, X.data(), LDX, &idx); \ + R() = static_cast(idx); \ + } else { \ + Iamax::iamax(R,X); \ + } \ + Kokkos::Profiling::popRegion(); \ + } \ +}; \ +template \ +struct Iamax< \ +Kokkos::View, \ + Kokkos::MemoryTraits >, \ +Kokkos::View, \ + Kokkos::MemoryTraits >, \ +1,true, ETI_SPEC_AVAIL > { \ + \ + typedef Kokkos::View, \ + Kokkos::MemoryTraits > RV; \ + typedef Kokkos::View, \ + Kokkos::MemoryTraits > XV; \ + typedef typename XV::size_type size_type; \ + \ + static void iamax (RV& R, const XV& X) \ + { \ + Kokkos::Profiling::pushRegion("KokkosBlas::iamax[TPL_CUBLAS,float]"); \ + const size_type numElems = X.extent(0); \ + if (numElems == 0) { Kokkos::deep_copy (R, 0);; return; } \ + if (numElems < static_cast (INT_MAX)) { \ + iamax_print_specialization(); \ + const int N = static_cast (numElems); \ + const int XST = X.stride(0); \ + const int LDX = (XST == 0) ? 1 : XST; \ + KokkosBlas::Impl::CudaBlasSingleton & s = KokkosBlas::Impl::CudaBlasSingleton::singleton(); \ + cublasSetPointerMode(s.handle, CUBLAS_POINTER_MODE_DEVICE); \ + cublasIsamax(s.handle, N, X.data(), LDX, reinterpret_cast(R.data())); \ + cublasSetPointerMode(s.handle, CUBLAS_POINTER_MODE_HOST); \ + Kokkos::fence(); \ + } else { \ + Iamax::iamax(R,X); \ + } \ + Kokkos::Profiling::popRegion(); \ + } \ +}; + +#define KOKKOSBLAS1_ZIAMAX_TPL_SPEC_DECL_CUBLAS( INDEX_TYPE, LAYOUT, MEMSPACE, ETI_SPEC_AVAIL ) \ +template \ +struct Iamax< \ +Kokkos::View >, \ +Kokkos::View*, LAYOUT, Kokkos::Device, \ + Kokkos::MemoryTraits >, \ +1,true, ETI_SPEC_AVAIL > { \ + \ + typedef Kokkos::View > RV; \ + typedef Kokkos::View*, LAYOUT, Kokkos::Device, \ + Kokkos::MemoryTraits > XV; \ + typedef typename XV::size_type size_type; \ + \ + static void iamax (RV& R, const XV& X) \ + { \ + Kokkos::Profiling::pushRegion("KokkosBlas::iamax[TPL_CUBLAS,complex]"); \ + const size_type numElems = X.extent(0); \ + if (numElems == 0) { Kokkos::deep_copy (R, 0); return; } \ + if (numElems < static_cast (INT_MAX)) { \ + iamax_print_specialization(); \ + const int N = static_cast (numElems); \ + const int XST = X.stride(0); \ + const int LDX = (XST == 0) ? 1 : XST; \ + int idx; \ + KokkosBlas::Impl::CudaBlasSingleton & s = KokkosBlas::Impl::CudaBlasSingleton::singleton(); \ + cublasIzamax(s.handle, N, reinterpret_cast(X.data()), LDX, &idx); \ + R() = static_cast(idx); \ + } else { \ + Iamax::iamax(R,X); \ + } \ + Kokkos::Profiling::popRegion(); \ + } \ +}; \ +template \ +struct Iamax< \ +Kokkos::View, \ + Kokkos::MemoryTraits >, \ +Kokkos::View*, LAYOUT, Kokkos::Device, \ + Kokkos::MemoryTraits >, \ +1,true, ETI_SPEC_AVAIL > { \ + \ + typedef Kokkos::View, \ + Kokkos::MemoryTraits > RV; \ + typedef Kokkos::View*, LAYOUT, Kokkos::Device, \ + Kokkos::MemoryTraits > XV; \ + typedef typename XV::size_type size_type; \ + \ + static void iamax (RV& R, const XV& X) \ + { \ + Kokkos::Profiling::pushRegion("KokkosBlas::iamax[TPL_CUBLAS,complex]"); \ + const size_type numElems = X.extent(0); \ + if (numElems == 0) { Kokkos::deep_copy (R, 0); return; } \ + if (numElems < static_cast (INT_MAX)) { \ + iamax_print_specialization(); \ + const int N = static_cast (numElems); \ + const int XST = X.stride(0); \ + const int LDX = (XST == 0) ? 1 : XST; \ + KokkosBlas::Impl::CudaBlasSingleton & s = KokkosBlas::Impl::CudaBlasSingleton::singleton(); \ + cublasSetPointerMode(s.handle, CUBLAS_POINTER_MODE_DEVICE); \ + cublasIzamax(s.handle, N, reinterpret_cast(X.data()), LDX, reinterpret_cast(R.data())); \ + cublasSetPointerMode(s.handle, CUBLAS_POINTER_MODE_HOST); \ + Kokkos::fence(); \ + } else { \ + Iamax::iamax(R,X); \ + } \ + Kokkos::Profiling::popRegion(); \ + } \ +}; + +#define KOKKOSBLAS1_CIAMAX_TPL_SPEC_DECL_CUBLAS( INDEX_TYPE, LAYOUT, MEMSPACE, ETI_SPEC_AVAIL ) \ +template \ +struct Iamax< \ +Kokkos::View >, \ +Kokkos::View*, LAYOUT, Kokkos::Device, \ + Kokkos::MemoryTraits >, \ +1,true, ETI_SPEC_AVAIL > { \ + \ + typedef Kokkos::View > RV; \ + typedef Kokkos::View*, LAYOUT, Kokkos::Device, \ + Kokkos::MemoryTraits > XV; \ + typedef typename XV::size_type size_type; \ + \ + static void iamax (RV& R, const XV& X) \ + { \ + Kokkos::Profiling::pushRegion("KokkosBlas::iamax[TPL_CUBLAS,complex]"); \ + const size_type numElems = X.extent(0); \ + if (numElems == 0) { Kokkos::deep_copy (R, 0); return; } \ + if (numElems < static_cast (INT_MAX)) { \ + iamax_print_specialization(); \ + const int N = static_cast (numElems); \ + const int XST = X.stride(0); \ + const int LDX = (XST == 0) ? 1 : XST; \ + int idx; \ + KokkosBlas::Impl::CudaBlasSingleton & s = KokkosBlas::Impl::CudaBlasSingleton::singleton(); \ + cublasIcamax(s.handle, N, reinterpret_cast(X.data()), LDX, &idx); \ + R() = static_cast(idx); \ + } else { \ + Iamax::iamax(R,X); \ + } \ + Kokkos::Profiling::popRegion(); \ + } \ +}; \ +template \ +struct Iamax< \ +Kokkos::View, \ + Kokkos::MemoryTraits >, \ +Kokkos::View*, LAYOUT, Kokkos::Device, \ + Kokkos::MemoryTraits >, \ +1,true, ETI_SPEC_AVAIL > { \ + \ + typedef Kokkos::View, \ + Kokkos::MemoryTraits > RV; \ + typedef Kokkos::View*, LAYOUT, Kokkos::Device, \ + Kokkos::MemoryTraits > XV; \ + typedef typename XV::size_type size_type; \ + \ + static void iamax (RV& R, const XV& X) \ + { \ + Kokkos::Profiling::pushRegion("KokkosBlas::iamax[TPL_CUBLAS,complex]"); \ + const size_type numElems = X.extent(0); \ + if (numElems == 0) { Kokkos::deep_copy (R, 0); return; } \ + if (numElems < static_cast (INT_MAX)) { \ + iamax_print_specialization(); \ + const int N = static_cast (numElems); \ + const int XST = X.stride(0); \ + const int LDX = (XST == 0) ? 1 : XST; \ + KokkosBlas::Impl::CudaBlasSingleton & s = KokkosBlas::Impl::CudaBlasSingleton::singleton(); \ + cublasSetPointerMode(s.handle, CUBLAS_POINTER_MODE_DEVICE); \ + cublasIcamax(s.handle, N, reinterpret_cast(X.data()), LDX, reinterpret_cast(R.data())); \ + cublasSetPointerMode(s.handle, CUBLAS_POINTER_MODE_HOST); \ + Kokkos::fence(); \ + } else { \ + Iamax::iamax(R,X); \ + } \ + Kokkos::Profiling::popRegion(); \ + } \ +}; + +KOKKOSBLAS1_DIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned long, Kokkos::LayoutLeft, Kokkos::CudaSpace, true) +KOKKOSBLAS1_DIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned long, Kokkos::LayoutLeft, Kokkos::CudaSpace, false) + +KOKKOSBLAS1_SIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned long, Kokkos::LayoutLeft, Kokkos::CudaSpace, true) +KOKKOSBLAS1_SIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned long, Kokkos::LayoutLeft, Kokkos::CudaSpace, false) + +KOKKOSBLAS1_ZIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned long, Kokkos::LayoutLeft, Kokkos::CudaSpace, true) +KOKKOSBLAS1_ZIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned long, Kokkos::LayoutLeft, Kokkos::CudaSpace, false) + +KOKKOSBLAS1_CIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned long, Kokkos::LayoutLeft, Kokkos::CudaSpace, true) +KOKKOSBLAS1_CIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned long, Kokkos::LayoutLeft, Kokkos::CudaSpace, false) + +KOKKOSBLAS1_DIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned int, Kokkos::LayoutLeft, Kokkos::CudaSpace, true) +KOKKOSBLAS1_DIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned int, Kokkos::LayoutLeft, Kokkos::CudaSpace, false) + +KOKKOSBLAS1_SIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned int, Kokkos::LayoutLeft, Kokkos::CudaSpace, true) +KOKKOSBLAS1_SIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned int, Kokkos::LayoutLeft, Kokkos::CudaSpace, false) + +KOKKOSBLAS1_ZIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned int, Kokkos::LayoutLeft, Kokkos::CudaSpace, true) +KOKKOSBLAS1_ZIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned int, Kokkos::LayoutLeft, Kokkos::CudaSpace, false) + +KOKKOSBLAS1_CIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned int, Kokkos::LayoutLeft, Kokkos::CudaSpace, true) +KOKKOSBLAS1_CIAMAX_TPL_SPEC_DECL_CUBLAS( unsigned int, Kokkos::LayoutLeft, Kokkos::CudaSpace, false) + +} +} + +#endif + +#endif diff --git a/unit_test/Makefile b/unit_test/Makefile index f258050fcc..11e0da3f8c 100644 --- a/unit_test/Makefile +++ b/unit_test/Makefile @@ -95,7 +95,8 @@ ifeq ($(KOKKOSKERNELS_INTERNAL_TEST_OPENMP), 1) OBJ_OPENMP += Test_OpenMP_Blas1_axpy.o OBJ_OPENMP += Test_OpenMP_Blas1_team_axpy.o OBJ_OPENMP += Test_OpenMP_Blas1_dot.o - OBJ_OPENMP += Test_OpenMP_Blas1_team_dot.o + OBJ_OPENMP += Test_OpenMP_Blas1_team_dot.o + OBJ_OPENMP += Test_OpenMP_Blas1_iamax.o OBJ_OPENMP += Test_OpenMP_Blas1_mult.o OBJ_OPENMP += Test_OpenMP_Blas1_team_mult.o OBJ_OPENMP += Test_OpenMP_Blas1_nrm1.o @@ -209,6 +210,7 @@ ifeq ($(KOKKOSKERNELS_INTERNAL_TEST_CUDA), 1) OBJ_CUDA += Test_Cuda_Blas1_team_axpy.o OBJ_CUDA += Test_Cuda_Blas1_dot.o OBJ_CUDA += Test_Cuda_Blas1_team_dot.o + OBJ_CUDA += Test_Cuda_Blas1_iamax.o OBJ_CUDA += Test_Cuda_Blas1_mult.o OBJ_CUDA += Test_Cuda_Blas1_team_mult.o OBJ_CUDA += Test_Cuda_Blas1_nrm1.o @@ -315,6 +317,7 @@ ifeq ($(KOKKOSKERNELS_INTERNAL_TEST_SERIAL), 1) OBJ_SERIAL += Test_Serial_Blas1_team_axpy.o OBJ_SERIAL += Test_Serial_Blas1_dot.o OBJ_SERIAL += Test_Serial_Blas1_team_dot.o + OBJ_SERIAL += Test_Serial_Blas1_iamax.o OBJ_SERIAL += Test_Serial_Blas1_mult.o OBJ_SERIAL += Test_Serial_Blas1_team_mult.o OBJ_SERIAL += Test_Serial_Blas1_nrm1.o @@ -428,6 +431,7 @@ ifeq ($(KOKKOSKERNELS_INTERNAL_TEST_THREADS), 1) OBJ_THREADS += Test_Threads_Blas1_team_axpy.o OBJ_THREADS += Test_Threads_Blas1_dot.o OBJ_THREADS += Test_Threads_Blas1_team_dot.o + OBJ_THREADS += Test_Threads_Blas1_iamax.o OBJ_THREADS += Test_Threads_Blas1_mult.o OBJ_THREADS += Test_Threads_Blas1_team_mult.o OBJ_THREADS += Test_Threads_Blas1_nrm1.o diff --git a/unit_test/blas/Test_Blas1_iamax.hpp b/unit_test/blas/Test_Blas1_iamax.hpp new file mode 100644 index 0000000000..166c25c1a8 --- /dev/null +++ b/unit_test/blas/Test_Blas1_iamax.hpp @@ -0,0 +1,299 @@ +#include +#include +#include +#include +#include + +namespace Test { + template + void impl_test_iamax(int N) { + + typedef typename ViewTypeA::non_const_value_type ScalarA; + typedef Kokkos::Details::ArithTraits AT; + typedef typename AT::mag_type mag_type; + + typedef Kokkos::View::value, + Kokkos::LayoutRight, Kokkos::LayoutLeft>::type,Device> BaseTypeA; + + typedef typename BaseTypeA::size_type size_type; + + BaseTypeA b_a("A",N); + + ViewTypeA a = Kokkos::subview(b_a,Kokkos::ALL(),0); + + typename BaseTypeA::HostMirror h_b_a = Kokkos::create_mirror_view(b_a); + + typename ViewTypeA::HostMirror h_a = Kokkos::subview(h_b_a,Kokkos::ALL(),0); + + Kokkos::Random_XorShift64_Pool rand_pool(13718); + + Kokkos::fill_random(b_a,rand_pool,ScalarA(10)); + + Kokkos::fence(); + + Kokkos::deep_copy(h_b_a,b_a); + + typename ViewTypeA::const_type c_a = a; + + mag_type expected_result = Kokkos::Details::ArithTraits::min(); + size_type expected_max_loc = 0; + for(int i=0;i expected_result) { expected_result = val; expected_max_loc = i+1;} + } + + if(N == 0) {expected_result = typename AT::mag_type(0); expected_max_loc = 0;} + + { + //printf("impl_test_iamax -- return result as a scalar on host -- N %d\n", N); + size_type nonconst_max_loc = KokkosBlas::iamax(a); + ASSERT_EQ( nonconst_max_loc, expected_max_loc); + + size_type const_max_loc = KokkosBlas::iamax(c_a); + ASSERT_EQ( const_max_loc, expected_max_loc); + } + + { + //printf("impl_test_iamax -- return result as a 0-D View on host -- N %d\n", N); + typedef Kokkos::View ViewType0D; + ViewType0D r("Iamax::Result 0-D View on host"); + + KokkosBlas::iamax(r,a); + size_type nonconst_max_loc = r(); + ASSERT_EQ( nonconst_max_loc, expected_max_loc); + + KokkosBlas::iamax(r,c_a); + size_type const_max_loc = r(); + ASSERT_EQ( const_max_loc, expected_max_loc); + } + + { + //printf("impl_test_iamax -- return result as a 0-D View on device -- N %d\n", N); + typedef Kokkos::View ViewType0D; + ViewType0D r("Iamax::Result 0-D View on device"); + typename ViewType0D::HostMirror h_r = Kokkos::create_mirror_view(r); + + size_type nonconst_max_loc, const_max_loc; + + KokkosBlas::iamax(r,a); + Kokkos::deep_copy(h_r,r); + + nonconst_max_loc = h_r(); + + ASSERT_EQ( nonconst_max_loc, expected_max_loc); + + KokkosBlas::iamax(r,c_a); + Kokkos::deep_copy(h_r,r); + + const_max_loc = h_r(); + + ASSERT_EQ( const_max_loc, expected_max_loc); + } + } + + template + void impl_test_iamax_mv(int N, int K) { + + typedef typename ViewTypeA::non_const_value_type ScalarA; + typedef Kokkos::Details::ArithTraits AT; + typedef typename AT::mag_type mag_type; + typedef typename ViewTypeA::size_type size_type; + + typedef multivector_layout_adapter vfA_type; + + typename vfA_type::BaseType b_a("A",N,K); + + ViewTypeA a = vfA_type::view(b_a); + + typedef multivector_layout_adapter h_vfA_type; + + typename h_vfA_type::BaseType h_b_a = Kokkos::create_mirror_view(b_a); + + typename ViewTypeA::HostMirror h_a = h_vfA_type::view(h_b_a); + + Kokkos::Random_XorShift64_Pool rand_pool(13718); + + Kokkos::fill_random(b_a,rand_pool,ScalarA(10)); + + Kokkos::fence(); + + Kokkos::deep_copy(h_b_a,b_a); + + typename ViewTypeA::const_type c_a = a; + + mag_type* expected_result = new mag_type[K]; + size_type* expected_max_loc = new size_type[K]; + + for(int j=0;j::min(); + for(int i=0;i expected_result[j]) { expected_result[j] = val; expected_max_loc[j] = i+1;} + } + if(N == 0) {expected_result[j] = mag_type(0); expected_max_loc[j] = size_type(0);} + } + + { + //printf("impl_test_iamax_mv -- return results as a 1-D View on host -- N %d\n", N); + Kokkos::View r("Iamax::Result View on host",K); + + KokkosBlas::iamax(r,a); + + for(int k=0;k r("Iamax::Result View on device",K); + typename Kokkos::View::HostMirror h_r= Kokkos::create_mirror_view(r); + + KokkosBlas::iamax(r,a); + Kokkos::deep_copy(h_r,r); + + for(int k=0;k +int test_iamax() { + +#if defined(KOKKOSKERNELS_INST_LAYOUTLEFT) || (!defined(KOKKOSKERNELS_ETI_ONLY) && !defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS)) + typedef Kokkos::View view_type_a_ll; + Test::impl_test_iamax(0); + Test::impl_test_iamax(13); + Test::impl_test_iamax(1024); + //Test::impl_test_iamax(132231); +#endif + +#if defined(KOKKOSKERNELS_INST_LAYOUTRIGHT) || (!defined(KOKKOSKERNELS_ETI_ONLY) && !defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS)) + typedef Kokkos::View view_type_a_lr; + Test::impl_test_iamax(0); + Test::impl_test_iamax(13); + Test::impl_test_iamax(1024); + //Test::impl_test_iamax(132231); +#endif + +#if defined(KOKKOSKERNELS_INST_LAYOUTSTRIDE) || (!defined(KOKKOSKERNELS_ETI_ONLY) && !defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS)) + typedef Kokkos::View view_type_a_ls; + Test::impl_test_iamax(0); + Test::impl_test_iamax(13); + Test::impl_test_iamax(1024); + //Test::impl_test_iamax(132231); +#endif + + return 1; +} + +template +int test_iamax_mv() { + +#if defined(KOKKOSKERNELS_INST_LAYOUTLEFT) || (!defined(KOKKOSKERNELS_ETI_ONLY) && !defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS)) + typedef Kokkos::View view_type_a_ll; + Test::impl_test_iamax_mv(0,5); + Test::impl_test_iamax_mv(13,5); + Test::impl_test_iamax_mv(1024,5); + //Test::impl_test_iamax_mv(132231,5); +#endif + +#if defined(KOKKOSKERNELS_INST_LAYOUTRIGHT) || (!defined(KOKKOSKERNELS_ETI_ONLY) && !defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS)) + typedef Kokkos::View view_type_a_lr; + Test::impl_test_iamax_mv(0,5); + Test::impl_test_iamax_mv(13,5); + Test::impl_test_iamax_mv(1024,5); + //Test::impl_test_iamax_mv(132231,5); +#endif + +#if defined(KOKKOSKERNELS_INST_LAYOUTSTRIDE) || (!defined(KOKKOSKERNELS_ETI_ONLY) && !defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS)) + typedef Kokkos::View view_type_a_ls; + Test::impl_test_iamax_mv(0,5); + Test::impl_test_iamax_mv(13,5); + Test::impl_test_iamax_mv(1024,5); + //Test::impl_test_iamax_mv(132231,5); +#endif + + return 1;} + +#if defined(KOKKOSKERNELS_INST_FLOAT) || (!defined(KOKKOSKERNELS_ETI_ONLY) && !defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS)) +TEST_F( TestCategory, iamax_float ) { + Kokkos::Profiling::pushRegion("KokkosBlas::Test::iamax_float"); + test_iamax (); + Kokkos::Profiling::popRegion(); +} +TEST_F( TestCategory, iamax_mv_float ) { + Kokkos::Profiling::pushRegion("KokkosBlas::Test::iamax_mvfloat"); + test_iamax_mv (); + Kokkos::Profiling::popRegion(); +} +#endif + +#if defined(KOKKOSKERNELS_INST_DOUBLE) || (!defined(KOKKOSKERNELS_ETI_ONLY) && !defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS)) +TEST_F( TestCategory, iamax_double ) { + Kokkos::Profiling::pushRegion("KokkosBlas::Test::iamax_double"); + test_iamax (); + Kokkos::Profiling::popRegion(); +} +TEST_F( TestCategory, iamax_mv_double ) { + Kokkos::Profiling::pushRegion("KokkosBlas::Test::iamax_mv_double"); + test_iamax_mv (); + Kokkos::Profiling::popRegion(); +} +#endif + +#if defined(KOKKOSKERNELS_INST_COMPLEX_DOUBLE) || (!defined(KOKKOSKERNELS_ETI_ONLY) && !defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS)) +TEST_F( TestCategory, iamax_complex_double ) { + Kokkos::Profiling::pushRegion("KokkosBlas::Test::iamax_complex_double"); + test_iamax,TestExecSpace> (); + Kokkos::Profiling::popRegion(); +} +TEST_F( TestCategory, iamax_mv_complex_double ) { + Kokkos::Profiling::pushRegion("KokkosBlas::Test::iamax_mv_complex_double"); + test_iamax_mv,TestExecSpace> (); + Kokkos::Profiling::popRegion(); +} +#endif + +#if defined(KOKKOSKERNELS_INST_INT) || (!defined(KOKKOSKERNELS_ETI_ONLY) && !defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS)) +TEST_F( TestCategory, iamax_int ) { + Kokkos::Profiling::pushRegion("KokkosBlas::Test::iamax_int"); + test_iamax (); + Kokkos::Profiling::popRegion(); +} +TEST_F( TestCategory, iamax_mv_int ) { + Kokkos::Profiling::pushRegion("KokkosBlas::Test::iamax_mv_int"); + test_iamax_mv (); + Kokkos::Profiling::popRegion(); +} +#endif + + diff --git a/unit_test/cuda/Test_Cuda_Blas1_iamax.cpp b/unit_test/cuda/Test_Cuda_Blas1_iamax.cpp new file mode 100644 index 0000000000..3ad89838cf --- /dev/null +++ b/unit_test/cuda/Test_Cuda_Blas1_iamax.cpp @@ -0,0 +1,2 @@ +#include +#include diff --git a/unit_test/openmp/Test_OpenMP_Blas1_iamax.cpp b/unit_test/openmp/Test_OpenMP_Blas1_iamax.cpp new file mode 100644 index 0000000000..b7e9dc59da --- /dev/null +++ b/unit_test/openmp/Test_OpenMP_Blas1_iamax.cpp @@ -0,0 +1,2 @@ +#include +#include diff --git a/unit_test/serial/Test_Serial_Blas1_iamax.cpp b/unit_test/serial/Test_Serial_Blas1_iamax.cpp new file mode 100644 index 0000000000..a703a99d2a --- /dev/null +++ b/unit_test/serial/Test_Serial_Blas1_iamax.cpp @@ -0,0 +1,2 @@ +#include +#include diff --git a/unit_test/threads/Test_Threads_Blas1_iamax.cpp b/unit_test/threads/Test_Threads_Blas1_iamax.cpp new file mode 100644 index 0000000000..4a7e3ee936 --- /dev/null +++ b/unit_test/threads/Test_Threads_Blas1_iamax.cpp @@ -0,0 +1,2 @@ +#include +#include