Debian Codegraph @

packages/stokhos/src/kokkos/Cuda/Stokhos_Cuda_LexicographicBlockSparse3Tensor.hpp

raw
1 // @HEADER
2 // *****************************************************************************
3 // Stokhos Package
4 //
5 // Copyright 2009 NTESS and the Stokhos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9
10 #ifndef STOKHOS_CUDA_LEXICOGRAPHIC_BLOCK_SPARSE_3_TENSOR_HPP
11 #define STOKHOS_CUDA_LEXICOGRAPHIC_BLOCK_SPARSE_3_TENSOR_HPP
12
13 #include <iostream>
14
15 #include "Kokkos_Core.hpp"
16
17 #include "Stokhos_Multiply.hpp"
18 #include "Stokhos_BlockCrsMatrix.hpp"
19 #include "Stokhos_LexicographicBlockSparse3Tensor.hpp"
20
21 #include "cuda_profiler_api.h"
22
23 namespace Stokhos {
24
25 //----------------------------------------------------------------------------
26
27 template< typename TensorScalar ,
28 typename MatrixScalar ,
29 typename VectorScalar >
30 class Multiply<
31 BlockCrsMatrix< LexicographicBlockSparse3Tensor< TensorScalar, Kokkos::Cuda >,
32 MatrixScalar, Kokkos::Cuda >,
33 Kokkos::View<VectorScalar**, Kokkos::LayoutLeft, Kokkos::Cuda>,
34 Kokkos::View<VectorScalar**, Kokkos::LayoutLeft, Kokkos::Cuda> >
35 {
36 public:
37
38 typedef Kokkos::Cuda execution_space ;
39 typedef execution_space::size_type size_type ;
40
41 typedef LexicographicBlockSparse3Tensor< TensorScalar , execution_space > tensor_type ;
42 typedef BlockCrsMatrix< tensor_type, MatrixScalar, execution_space > matrix_type ;
43 typedef Kokkos::View< VectorScalar** ,
44 Kokkos::LayoutLeft ,
45 Kokkos::Cuda > vector_type ;
46
47
48
49 //------------------------------------
50
51 static void apply( const matrix_type & A ,
52 const vector_type & x ,
53 const vector_type & y )
54 {
55 }
56 };
57
58 //----------------------------------------------------------------------------
59 //----------------------------------------------------------------------------
60
61 } // namespace Stokhos
62
63 #endif /* #ifndef STOKHOS_CUDA_FLAT_SPARSE_3_TENSOR_HPP */