Skip to content

Commit

Permalink
ETI: adding BLAS kernels that are called from Sparse kernels.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucbv committed Aug 1, 2024
1 parent f77c66b commit 1b4f72b
Show file tree
Hide file tree
Showing 31 changed files with 377 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
namespace KokkosBlas {
namespace Impl {
@BLAS1_AXPBY_ETI_AVAIL_BLOCK@
} //IMPL
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//@HEADER
// ************************************************************************
//
// Kokkos v. 4.0
// Copyright (2022) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
// See https://kokkos.org/LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//@HEADER

#ifndef KOKKOSBLAS1_AXPBY_ETI_SPEC_DECL_HPP_
#define KOKKOSBLAS1_AXPBY_ETI_SPEC_DECL_HPP_
namespace KokkosBlas {
namespace Impl {
@BLAS1_AXPBY_ETI_DECL_BLOCK@
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
namespace KokkosBlas {
namespace Impl {
@BLAS1_AXPBY_MV_ETI_AVAIL_BLOCK@
} //IMPL
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//@HEADER
// ************************************************************************
//
// Kokkos v. 4.0
// Copyright (2022) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
// See https://kokkos.org/LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//@HEADER

#ifndef KOKKOSBLAS1_AXPBY_MV_ETI_SPEC_DECL_HPP_
#define KOKKOSBLAS1_AXPBY_MV_ETI_SPEC_DECL_HPP_
namespace KokkosBlas {
namespace Impl {
@BLAS1_AXPBY_MV_ETI_DECL_BLOCK@
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
namespace KokkosBlas {
namespace Impl {
@BLAS1_DOT_ETI_AVAIL_BLOCK@
} //IMPL
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//@HEADER
// ************************************************************************
//
// Kokkos v. 4.0
// Copyright (2022) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
// See https://kokkos.org/LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//@HEADER

#ifndef KOKKOSBLAS1_DOT_ETI_SPEC_DECL_HPP_
#define KOKKOSBLAS1_DOT_ETI_SPEC_DECL_HPP_
namespace KokkosBlas {
namespace Impl {
@BLAS1_DOT_ETI_DECL_BLOCK@
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
namespace KokkosBlas {
namespace Impl {
@BLAS1_DOT_MV_ETI_AVAIL_BLOCK@
} //IMPL
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//@HEADER
// ************************************************************************
//
// Kokkos v. 4.0
// Copyright (2022) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
// See https://kokkos.org/LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//@HEADER

#ifndef KOKKOSBLAS1_DOT_MV_ETI_SPEC_DECL_HPP_
#define KOKKOSBLAS1_DOT_MV_ETI_SPEC_DECL_HPP_
namespace KokkosBlas {
namespace Impl {
@BLAS1_DOT_MV_ETI_DECL_BLOCK@
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
namespace KokkosBlas {
namespace Impl {
@BLAS1_MULT_ETI_AVAIL_BLOCK@
} //IMPL
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//@HEADER
// ************************************************************************
//
// Kokkos v. 4.0
// Copyright (2022) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
// See https://kokkos.org/LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//@HEADER

#ifndef KOKKOSBLAS1_MULT_ETI_SPEC_DECL_HPP_
#define KOKKOSBLAS1_MULT_ETI_SPEC_DECL_HPP_
namespace KokkosBlas {
namespace Impl {
@BLAS1_MULT_ETI_DECL_BLOCK@
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
namespace KokkosBlas {
namespace Impl {
@BLAS1_MULT_MV_ETI_AVAIL_BLOCK@
} //IMPL
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//@HEADER
// ************************************************************************
//
// Kokkos v. 4.0
// Copyright (2022) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
// See https://kokkos.org/LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//@HEADER

#ifndef KOKKOSBLAS1_MULT_MV_ETI_SPEC_DECL_HPP_
#define KOKKOSBLAS1_MULT_MV_ETI_SPEC_DECL_HPP_
namespace KokkosBlas {
namespace Impl {
@BLAS1_MULT_MV_ETI_DECL_BLOCK@
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
namespace KokkosBlas {
namespace Impl {
@BLAS1_NRM2_ETI_AVAIL_BLOCK@
} //IMPL
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//@HEADER
// ************************************************************************
//
// Kokkos v. 4.0
// Copyright (2022) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
// See https://kokkos.org/LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//@HEADER

#ifndef KOKKOSBLAS1_NRM2_ETI_SPEC_DECL_HPP_
#define KOKKOSBLAS1_NRM2_ETI_SPEC_DECL_HPP_
namespace KokkosBlas {
namespace Impl {
@BLAS1_NRM2_ETI_DECL_BLOCK@
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
namespace KokkosBlas {
namespace Impl {
@BLAS1_NRM2_MV_ETI_AVAIL_BLOCK@
} //IMPL
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//@HEADER
// ************************************************************************
//
// Kokkos v. 4.0
// Copyright (2022) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
// See https://kokkos.org/LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//@HEADER

#ifndef KOKKOSBLAS1_NRM2_MV_ETI_SPEC_DECL_HPP_
#define KOKKOSBLAS1_NRM2_MV_ETI_SPEC_DECL_HPP_
namespace KokkosBlas {
namespace Impl {
@BLAS1_NRM2_MV_ETI_DECL_BLOCK@
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//@HEADER
// ************************************************************************
//
// Kokkos v. 4.0
// Copyright (2022) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
// See https://kokkos.org/LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//@HEADER

#ifndef KOKKOSBLAS1_SCAL_ETI_SPEC_DECL_HPP_
#define KOKKOSBLAS1_SCAL_ETI_SPEC_DECL_HPP_
namespace KokkosBlas {
namespace Impl {
@BLAS1_SCAL_ETI_DECL_BLOCK@
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//@HEADER
// ************************************************************************
//
// Kokkos v. 4.0
// Copyright (2022) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
// See https://kokkos.org/LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//@HEADER

#ifndef KOKKOSBLAS1_SCAL_MV_ETI_SPEC_DECL_HPP_
#define KOKKOSBLAS1_SCAL_MV_ETI_SPEC_DECL_HPP_
namespace KokkosBlas {
namespace Impl {
@BLAS1_SCAL_MV_ETI_DECL_BLOCK@
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
namespace KokkosBlas {
namespace Impl {
@BLAS2_GEMV_ETI_AVAIL_BLOCK@
} //IMPL
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//@HEADER
// ************************************************************************
//
// Kokkos v. 4.0
// Copyright (2022) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
// See https://kokkos.org/LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//@HEADER

#ifndef KOKKOSBLAS2_GEMV_ETI_SPEC_DECL_HPP_
#define KOKKOSBLAS2_GEMV_ETI_SPEC_DECL_HPP_
namespace KokkosBlas {
namespace Impl {
@BLAS2_GEMV_ETI_DECL_BLOCK@
} //IMPL
} //Kokkos
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
//@HEADER
// ************************************************************************
//
// Kokkos v. 4.0
// Copyright (2022) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
// See https://kokkos.org/LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//@HEADER

#ifndef KOKKOSBLAS3_TRMM_ETI_SPEC_DECL_HPP_
#define KOKKOSBLAS3_TRMM_ETI_SPEC_DECL_HPP_
namespace KokkosBlas {
namespace Impl {

@BLAS3_TRMM_ETI_DECL_BLOCK@

} // Impl
} // KokkosBlas
#endif // KOKKOSBLAS3_TRMM_ETI_SPEC_DECL_HPP_
Loading

0 comments on commit 1b4f72b

Please sign in to comment.