Compadre
1.2.0
|
Definition at line 88 of file Compadre_Utilities.hpp.
#include <Compadre_Utilities.hpp>
Static Public Member Functions | |
template<typename output_memory_space , typename view_type_input_data , typename view_type_index_data , enable_if_t< std::is_same< typename view_type_input_data::data_type, double ** >::value||std::is_same< typename view_type_input_data::data_type, int ** >::value, int > = 0> | |
static Kokkos::View< typename view_type_input_data::data_type, typename view_type_input_data::array_layout, output_memory_space > | extractViewByIndex (view_type_input_data input_data_host_or_device, view_type_index_data index_data_host_or_device) |
template<typename output_memory_space , typename view_type_input_data , typename view_type_index_data , enable_if_t< std::is_same< typename view_type_input_data::data_type, double * >::value||std::is_same< typename view_type_input_data::data_type, int * >::value, int > = 0> | |
static Kokkos::View< double *, typename view_type_input_data::array_layout, output_memory_space > | extractViewByIndex (view_type_input_data input_data_host_or_device, view_type_index_data index_data_host_or_device) |
|
inlinestatic |
Definition at line 94 of file Compadre_Utilities.hpp.
|
inlinestatic |
Definition at line 133 of file Compadre_Utilities.hpp.