Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
view_factory_example.cpp File Reference
#include "Sacado.hpp"
#include "Kokkos_DynRankView_Fad.hpp"
#include "Kokkos_ViewFactory.hpp"
#include "Teuchos_Assert.hpp"
Include dependency graph for view_factory_example.cpp:

Go to the source code of this file.

Functions

template<class View1 , class View2 >
Kokkos::View< typename
Kokkos::ViewFactory< View1,
View2 >::value_type
*, typename View1::device_type > 
my_func (const View1 &v1, const View2 &v2)
 
int main (int argc, char *argv[])
 

Function Documentation

template<class View1 , class View2 >
Kokkos::View< typename Kokkos::ViewFactory<View1,View2>::value_type*, typename View1::device_type > my_func ( const View1 &  v1,
const View2 &  v2 
)

Definition at line 57 of file view_factory_example.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 116 of file view_factory_example.cpp.