Sacado
Development
|
Analyze the array shape defined by a Kokkos::View data type. More...
#include <Kokkos_AnalyzeSacadoShape.hpp>
Analyze the array shape defined by a Kokkos::View data type.
It is presumed that the data type can be mapped down to a multidimensional array of an intrinsic scalar numerical type (double, float, int, ... ). The 'value_type' of an array may be an embedded aggregate type such as a fixed length array 'Array<T,N>'. In this case the 'array_instrinsic_type' represents the underlying array of intrinsic numeric type.
The embedded aggregate type must have an AnalyzeSacadoShape specialization to map it down to a shape and intrinsic scalar numerical type.
This is a slight variation of the original AnalyzeShape in that takes the the Layout as a template parameter. This allows the sacado specializations to put the sacado dimension in different places depending on the layout.