Skip to content

Commit 1b4f72b

Browse files
committed
ETI: adding BLAS kernels that are called from Sparse kernels.
1 parent f77c66b commit 1b4f72b

31 files changed

+377
-19
lines changed

blas/eti/generated_specializations_hpp/KokkosBlas1_axpby_eti_spec_avail.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
namespace KokkosBlas {
2020
namespace Impl {
2121
@BLAS1_AXPBY_ETI_AVAIL_BLOCK@
22-
} //IMPL
22+
} //IMPL
2323
} //Kokkos
2424
#endif
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//@HEADER
2+
// ************************************************************************
3+
//
4+
// Kokkos v. 4.0
5+
// Copyright (2022) National Technology & Engineering
6+
// Solutions of Sandia, LLC (NTESS).
7+
//
8+
// Under the terms of Contract DE-NA0003525 with NTESS,
9+
// the U.S. Government retains certain rights in this software.
10+
//
11+
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12+
// See https://kokkos.org/LICENSE for license information.
13+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14+
//
15+
//@HEADER
16+
17+
#ifndef KOKKOSBLAS1_AXPBY_ETI_SPEC_DECL_HPP_
18+
#define KOKKOSBLAS1_AXPBY_ETI_SPEC_DECL_HPP_
19+
namespace KokkosBlas {
20+
namespace Impl {
21+
@BLAS1_AXPBY_ETI_DECL_BLOCK@
22+
} //IMPL
23+
} //Kokkos
24+
#endif

blas/eti/generated_specializations_hpp/KokkosBlas1_axpby_mv_eti_spec_avail.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
namespace KokkosBlas {
2020
namespace Impl {
2121
@BLAS1_AXPBY_MV_ETI_AVAIL_BLOCK@
22-
} //IMPL
22+
} //IMPL
2323
} //Kokkos
2424
#endif
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//@HEADER
2+
// ************************************************************************
3+
//
4+
// Kokkos v. 4.0
5+
// Copyright (2022) National Technology & Engineering
6+
// Solutions of Sandia, LLC (NTESS).
7+
//
8+
// Under the terms of Contract DE-NA0003525 with NTESS,
9+
// the U.S. Government retains certain rights in this software.
10+
//
11+
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12+
// See https://kokkos.org/LICENSE for license information.
13+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14+
//
15+
//@HEADER
16+
17+
#ifndef KOKKOSBLAS1_AXPBY_MV_ETI_SPEC_DECL_HPP_
18+
#define KOKKOSBLAS1_AXPBY_MV_ETI_SPEC_DECL_HPP_
19+
namespace KokkosBlas {
20+
namespace Impl {
21+
@BLAS1_AXPBY_MV_ETI_DECL_BLOCK@
22+
} //IMPL
23+
} //Kokkos
24+
#endif

blas/eti/generated_specializations_hpp/KokkosBlas1_dot_eti_spec_avail.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
namespace KokkosBlas {
2020
namespace Impl {
2121
@BLAS1_DOT_ETI_AVAIL_BLOCK@
22-
} //IMPL
22+
} //IMPL
2323
} //Kokkos
2424
#endif
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//@HEADER
2+
// ************************************************************************
3+
//
4+
// Kokkos v. 4.0
5+
// Copyright (2022) National Technology & Engineering
6+
// Solutions of Sandia, LLC (NTESS).
7+
//
8+
// Under the terms of Contract DE-NA0003525 with NTESS,
9+
// the U.S. Government retains certain rights in this software.
10+
//
11+
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12+
// See https://kokkos.org/LICENSE for license information.
13+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14+
//
15+
//@HEADER
16+
17+
#ifndef KOKKOSBLAS1_DOT_ETI_SPEC_DECL_HPP_
18+
#define KOKKOSBLAS1_DOT_ETI_SPEC_DECL_HPP_
19+
namespace KokkosBlas {
20+
namespace Impl {
21+
@BLAS1_DOT_ETI_DECL_BLOCK@
22+
} //IMPL
23+
} //Kokkos
24+
#endif

blas/eti/generated_specializations_hpp/KokkosBlas1_dot_mv_eti_spec_avail.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
namespace KokkosBlas {
2020
namespace Impl {
2121
@BLAS1_DOT_MV_ETI_AVAIL_BLOCK@
22-
} //IMPL
22+
} //IMPL
2323
} //Kokkos
2424
#endif
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//@HEADER
2+
// ************************************************************************
3+
//
4+
// Kokkos v. 4.0
5+
// Copyright (2022) National Technology & Engineering
6+
// Solutions of Sandia, LLC (NTESS).
7+
//
8+
// Under the terms of Contract DE-NA0003525 with NTESS,
9+
// the U.S. Government retains certain rights in this software.
10+
//
11+
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12+
// See https://kokkos.org/LICENSE for license information.
13+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14+
//
15+
//@HEADER
16+
17+
#ifndef KOKKOSBLAS1_DOT_MV_ETI_SPEC_DECL_HPP_
18+
#define KOKKOSBLAS1_DOT_MV_ETI_SPEC_DECL_HPP_
19+
namespace KokkosBlas {
20+
namespace Impl {
21+
@BLAS1_DOT_MV_ETI_DECL_BLOCK@
22+
} //IMPL
23+
} //Kokkos
24+
#endif

blas/eti/generated_specializations_hpp/KokkosBlas1_mult_eti_spec_avail.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
namespace KokkosBlas {
2020
namespace Impl {
2121
@BLAS1_MULT_ETI_AVAIL_BLOCK@
22-
} //IMPL
22+
} //IMPL
2323
} //Kokkos
2424
#endif
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//@HEADER
2+
// ************************************************************************
3+
//
4+
// Kokkos v. 4.0
5+
// Copyright (2022) National Technology & Engineering
6+
// Solutions of Sandia, LLC (NTESS).
7+
//
8+
// Under the terms of Contract DE-NA0003525 with NTESS,
9+
// the U.S. Government retains certain rights in this software.
10+
//
11+
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12+
// See https://kokkos.org/LICENSE for license information.
13+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14+
//
15+
//@HEADER
16+
17+
#ifndef KOKKOSBLAS1_MULT_ETI_SPEC_DECL_HPP_
18+
#define KOKKOSBLAS1_MULT_ETI_SPEC_DECL_HPP_
19+
namespace KokkosBlas {
20+
namespace Impl {
21+
@BLAS1_MULT_ETI_DECL_BLOCK@
22+
} //IMPL
23+
} //Kokkos
24+
#endif

blas/eti/generated_specializations_hpp/KokkosBlas1_mult_mv_eti_spec_avail.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
namespace KokkosBlas {
2020
namespace Impl {
2121
@BLAS1_MULT_MV_ETI_AVAIL_BLOCK@
22-
} //IMPL
22+
} //IMPL
2323
} //Kokkos
2424
#endif
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//@HEADER
2+
// ************************************************************************
3+
//
4+
// Kokkos v. 4.0
5+
// Copyright (2022) National Technology & Engineering
6+
// Solutions of Sandia, LLC (NTESS).
7+
//
8+
// Under the terms of Contract DE-NA0003525 with NTESS,
9+
// the U.S. Government retains certain rights in this software.
10+
//
11+
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12+
// See https://kokkos.org/LICENSE for license information.
13+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14+
//
15+
//@HEADER
16+
17+
#ifndef KOKKOSBLAS1_MULT_MV_ETI_SPEC_DECL_HPP_
18+
#define KOKKOSBLAS1_MULT_MV_ETI_SPEC_DECL_HPP_
19+
namespace KokkosBlas {
20+
namespace Impl {
21+
@BLAS1_MULT_MV_ETI_DECL_BLOCK@
22+
} //IMPL
23+
} //Kokkos
24+
#endif

blas/eti/generated_specializations_hpp/KokkosBlas1_nrm2_eti_spec_avail.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
namespace KokkosBlas {
2020
namespace Impl {
2121
@BLAS1_NRM2_ETI_AVAIL_BLOCK@
22-
} //IMPL
22+
} //IMPL
2323
} //Kokkos
2424
#endif
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//@HEADER
2+
// ************************************************************************
3+
//
4+
// Kokkos v. 4.0
5+
// Copyright (2022) National Technology & Engineering
6+
// Solutions of Sandia, LLC (NTESS).
7+
//
8+
// Under the terms of Contract DE-NA0003525 with NTESS,
9+
// the U.S. Government retains certain rights in this software.
10+
//
11+
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12+
// See https://kokkos.org/LICENSE for license information.
13+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14+
//
15+
//@HEADER
16+
17+
#ifndef KOKKOSBLAS1_NRM2_ETI_SPEC_DECL_HPP_
18+
#define KOKKOSBLAS1_NRM2_ETI_SPEC_DECL_HPP_
19+
namespace KokkosBlas {
20+
namespace Impl {
21+
@BLAS1_NRM2_ETI_DECL_BLOCK@
22+
} //IMPL
23+
} //Kokkos
24+
#endif

blas/eti/generated_specializations_hpp/KokkosBlas1_nrm2_mv_eti_spec_avail.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
namespace KokkosBlas {
2020
namespace Impl {
2121
@BLAS1_NRM2_MV_ETI_AVAIL_BLOCK@
22-
} //IMPL
22+
} //IMPL
2323
} //Kokkos
2424
#endif
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//@HEADER
2+
// ************************************************************************
3+
//
4+
// Kokkos v. 4.0
5+
// Copyright (2022) National Technology & Engineering
6+
// Solutions of Sandia, LLC (NTESS).
7+
//
8+
// Under the terms of Contract DE-NA0003525 with NTESS,
9+
// the U.S. Government retains certain rights in this software.
10+
//
11+
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12+
// See https://kokkos.org/LICENSE for license information.
13+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14+
//
15+
//@HEADER
16+
17+
#ifndef KOKKOSBLAS1_NRM2_MV_ETI_SPEC_DECL_HPP_
18+
#define KOKKOSBLAS1_NRM2_MV_ETI_SPEC_DECL_HPP_
19+
namespace KokkosBlas {
20+
namespace Impl {
21+
@BLAS1_NRM2_MV_ETI_DECL_BLOCK@
22+
} //IMPL
23+
} //Kokkos
24+
#endif
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//@HEADER
2+
// ************************************************************************
3+
//
4+
// Kokkos v. 4.0
5+
// Copyright (2022) National Technology & Engineering
6+
// Solutions of Sandia, LLC (NTESS).
7+
//
8+
// Under the terms of Contract DE-NA0003525 with NTESS,
9+
// the U.S. Government retains certain rights in this software.
10+
//
11+
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12+
// See https://kokkos.org/LICENSE for license information.
13+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14+
//
15+
//@HEADER
16+
17+
#ifndef KOKKOSBLAS1_SCAL_ETI_SPEC_DECL_HPP_
18+
#define KOKKOSBLAS1_SCAL_ETI_SPEC_DECL_HPP_
19+
namespace KokkosBlas {
20+
namespace Impl {
21+
@BLAS1_SCAL_ETI_DECL_BLOCK@
22+
} //IMPL
23+
} //Kokkos
24+
#endif
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//@HEADER
2+
// ************************************************************************
3+
//
4+
// Kokkos v. 4.0
5+
// Copyright (2022) National Technology & Engineering
6+
// Solutions of Sandia, LLC (NTESS).
7+
//
8+
// Under the terms of Contract DE-NA0003525 with NTESS,
9+
// the U.S. Government retains certain rights in this software.
10+
//
11+
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12+
// See https://kokkos.org/LICENSE for license information.
13+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14+
//
15+
//@HEADER
16+
17+
#ifndef KOKKOSBLAS1_SCAL_MV_ETI_SPEC_DECL_HPP_
18+
#define KOKKOSBLAS1_SCAL_MV_ETI_SPEC_DECL_HPP_
19+
namespace KokkosBlas {
20+
namespace Impl {
21+
@BLAS1_SCAL_MV_ETI_DECL_BLOCK@
22+
} //IMPL
23+
} //Kokkos
24+
#endif

blas/eti/generated_specializations_hpp/KokkosBlas2_gemv_eti_spec_avail.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
namespace KokkosBlas {
2020
namespace Impl {
2121
@BLAS2_GEMV_ETI_AVAIL_BLOCK@
22-
} //IMPL
22+
} //IMPL
2323
} //Kokkos
2424
#endif
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//@HEADER
2+
// ************************************************************************
3+
//
4+
// Kokkos v. 4.0
5+
// Copyright (2022) National Technology & Engineering
6+
// Solutions of Sandia, LLC (NTESS).
7+
//
8+
// Under the terms of Contract DE-NA0003525 with NTESS,
9+
// the U.S. Government retains certain rights in this software.
10+
//
11+
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12+
// See https://kokkos.org/LICENSE for license information.
13+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14+
//
15+
//@HEADER
16+
17+
#ifndef KOKKOSBLAS2_GEMV_ETI_SPEC_DECL_HPP_
18+
#define KOKKOSBLAS2_GEMV_ETI_SPEC_DECL_HPP_
19+
namespace KokkosBlas {
20+
namespace Impl {
21+
@BLAS2_GEMV_ETI_DECL_BLOCK@
22+
} //IMPL
23+
} //Kokkos
24+
#endif
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
//@HEADER
2+
// ************************************************************************
3+
//
4+
// Kokkos v. 4.0
5+
// Copyright (2022) National Technology & Engineering
6+
// Solutions of Sandia, LLC (NTESS).
7+
//
8+
// Under the terms of Contract DE-NA0003525 with NTESS,
9+
// the U.S. Government retains certain rights in this software.
10+
//
11+
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12+
// See https://kokkos.org/LICENSE for license information.
13+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14+
//
15+
//@HEADER
16+
17+
#ifndef KOKKOSBLAS3_TRMM_ETI_SPEC_DECL_HPP_
18+
#define KOKKOSBLAS3_TRMM_ETI_SPEC_DECL_HPP_
19+
namespace KokkosBlas {
20+
namespace Impl {
21+
22+
@BLAS3_TRMM_ETI_DECL_BLOCK@
23+
24+
} // Impl
25+
} // KokkosBlas
26+
#endif // KOKKOSBLAS3_TRMM_ETI_SPEC_DECL_HPP_

0 commit comments

Comments
 (0)