Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
TpetraRowGraphInputKokkos.cpp File Reference
#include <Zoltan2_InputTraits.hpp>
#include <Zoltan2_TestHelpers.hpp>
#include <Zoltan2_TpetraCrsGraphAdapter.hpp>
#include <Zoltan2_TpetraRowGraphAdapter.hpp>
#include <Teuchos_Comm.hpp>
#include <Teuchos_CommHelpers.hpp>
#include <Teuchos_DefaultComm.hpp>
#include <Teuchos_RCP.hpp>
#include <cstdlib>
#include <stdexcept>
Include dependency graph for TpetraRowGraphInputKokkos.cpp:

Go to the source code of this file.

Typedefs

using ztcrsgraph_t = Tpetra::CrsGraph< zlno_t, zgno_t, znode_t >
 
using ztrowgraph_t = Tpetra::RowGraph< zlno_t, zgno_t, znode_t >
 
using node_t = typename Zoltan2::InputTraits< ztrowgraph_t >::node_t
 
using device_t = typename node_t::device_type
 
using rowAdapter_t = Zoltan2::TpetraRowGraphAdapter< ztrowgraph_t >
 
using crsAdapter_t = Zoltan2::TpetraCrsGraphAdapter< ztcrsgraph_t >
 
using execspace_t = typename rowAdapter_t::ConstWeightsHostView1D::execution_space
 

Functions

template<typename offset_t >
void printGraph (RCP< const Comm< int >> &comm, zlno_t nvtx, const zgno_t *vtxIds, const offset_t *offsets, const zgno_t *edgeIds)
 
template<typename adapter_t , typename graph_t >
void TestGraphIds (adapter_t &ia, graph_t &graph)
 
template<typename adapter_t , typename graph_t >
void verifyInputAdapter (adapter_t &ia, graph_t &graph)
 
int main (int narg, char *arg[])
 

Typedef Documentation

using ztcrsgraph_t = Tpetra::CrsGraph<zlno_t, zgno_t, znode_t>

Definition at line 35 of file TpetraRowGraphInputKokkos.cpp.

using ztrowgraph_t = Tpetra::RowGraph<zlno_t, zgno_t, znode_t>

Definition at line 36 of file TpetraRowGraphInputKokkos.cpp.

Definition at line 37 of file TpetraRowGraphInputKokkos.cpp.

using device_t = typename node_t::device_type

Definition at line 38 of file TpetraRowGraphInputKokkos.cpp.

Definition at line 39 of file TpetraRowGraphInputKokkos.cpp.

Definition at line 40 of file TpetraRowGraphInputKokkos.cpp.

using execspace_t = typename rowAdapter_t::ConstWeightsHostView1D::execution_space

Definition at line 42 of file TpetraRowGraphInputKokkos.cpp.

Function Documentation

template<typename offset_t >
void printGraph ( RCP< const Comm< int >> &  comm,
zlno_t  nvtx,
const zgno_t vtxIds,
const offset_t *  offsets,
const zgno_t edgeIds 
)

Definition at line 45 of file TpetraRowGraphInputKokkos.cpp.

template<typename adapter_t , typename graph_t >
void TestGraphIds ( adapter_t &  ia,
graph_t &  graph 
)

Definition at line 68 of file TpetraRowGraphInputKokkos.cpp.

template<typename adapter_t , typename graph_t >
void verifyInputAdapter ( adapter_t &  ia,
graph_t &  graph 
)

Definition at line 111 of file TpetraRowGraphInputKokkos.cpp.

int main ( int  narg,
char *  arg[] 
)

Definition at line 210 of file TpetraRowGraphInputKokkos.cpp.