end of file corrections
This commit is contained in:
parent
23783b7db9
commit
b65be8881c
|
@ -36,12 +36,12 @@ if(NOT EXISTS "${Kokkos_Source_DIR}/CMakeLists.txt")
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
kokkos
|
kokkos
|
||||||
GIT_REPOSITORY https://github.com/kokkos/kokkos.git
|
GIT_REPOSITORY https://github.com/kokkos/kokkos.git
|
||||||
GIT_TAG 4.3.01
|
GIT_TAG 4.4.01
|
||||||
)
|
)
|
||||||
|
|
||||||
FetchContent_GetProperties(kokkos)
|
FetchContent_GetProperties(kokkos)
|
||||||
if(NOT kokkos_POPULATED)
|
if(NOT kokkos_POPULATED)
|
||||||
message(STATUS "Kokkos source directory not found. Downloading Kokkos version 4.3.01 ...")
|
message(STATUS "Kokkos source directory not found. Downloading Kokkos version 4.4.1 ...")
|
||||||
FetchContent_Populate(kokkos)
|
FetchContent_Populate(kokkos)
|
||||||
set(Kokkos_Source_DIR ${kokkos_SOURCE_DIR})
|
set(Kokkos_Source_DIR ${kokkos_SOURCE_DIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -21,6 +21,7 @@ Licence:
|
||||||
-----------------------------------------------------------------------------*/
|
-----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "mapperNBSKernels.hpp"
|
#include "mapperNBSKernels.hpp"
|
||||||
|
#include "streams.hpp"
|
||||||
|
|
||||||
void pFlow::mapperNBSKernels::findPointExtends
|
void pFlow::mapperNBSKernels::findPointExtends
|
||||||
(
|
(
|
||||||
|
@ -152,7 +153,9 @@ bool pFlow::mapperNBSKernels::buildLists
|
||||||
const pFlagTypeDevice &flags
|
const pFlagTypeDevice &flags
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
||||||
auto aRange = flags.activeRange();
|
auto aRange = flags.activeRange();
|
||||||
|
|
||||||
auto pp = points;
|
auto pp = points;
|
||||||
if(flags.isAllActive() )
|
if(flags.isAllActive() )
|
||||||
{
|
{
|
||||||
|
|
|
@ -50,90 +50,6 @@ using realx4 = quadruple<real>;
|
||||||
|
|
||||||
using realx4x3 = quadruple<realx3>;
|
using realx4x3 = quadruple<realx3>;
|
||||||
|
|
||||||
/*template<>
|
|
||||||
inline word
|
|
||||||
triple<int8>::TYPENAME()
|
|
||||||
{
|
|
||||||
return "int8x3";
|
|
||||||
}
|
|
||||||
|
|
||||||
template<>
|
|
||||||
inline word
|
|
||||||
triple<int32>::TYPENAME()
|
|
||||||
{
|
|
||||||
return "int32x3";
|
|
||||||
}
|
|
||||||
|
|
||||||
template<>
|
|
||||||
inline word
|
|
||||||
basicTypeName<int64x3>()
|
|
||||||
{
|
|
||||||
return "int64x3";
|
|
||||||
}
|
|
||||||
|
|
||||||
template<>
|
|
||||||
inline word
|
|
||||||
basicTypeName<uint8x3>()
|
|
||||||
{
|
|
||||||
return "uint8x3";
|
|
||||||
}
|
|
||||||
|
|
||||||
template<>
|
|
||||||
inline word
|
|
||||||
basicTypeName<uint32x3>()
|
|
||||||
{
|
|
||||||
return "uint32x3";
|
|
||||||
}
|
|
||||||
|
|
||||||
template<>
|
|
||||||
inline word
|
|
||||||
basicTypeName<uint64x3>()
|
|
||||||
{
|
|
||||||
return "unit64x3";
|
|
||||||
}
|
|
||||||
|
|
||||||
template<>
|
|
||||||
inline word
|
|
||||||
basicTypeName<realx3>()
|
|
||||||
{
|
|
||||||
return "realx3";
|
|
||||||
}
|
|
||||||
|
|
||||||
template<>
|
|
||||||
inline word
|
|
||||||
basicTypeName<int32x3x3>()
|
|
||||||
{
|
|
||||||
return "int32x3x3";
|
|
||||||
}
|
|
||||||
|
|
||||||
template<>
|
|
||||||
inline word
|
|
||||||
basicTypeName<uint32x3x3>()
|
|
||||||
{
|
|
||||||
return "uint32x3x3";
|
|
||||||
}
|
|
||||||
|
|
||||||
template<>
|
|
||||||
inline word
|
|
||||||
basicTypeName<realx3x3>()
|
|
||||||
{
|
|
||||||
return "realx3x3";
|
|
||||||
}
|
|
||||||
|
|
||||||
template<>
|
|
||||||
inline word
|
|
||||||
basicTypeName<realx4>()
|
|
||||||
{
|
|
||||||
return "realx4";
|
|
||||||
}
|
|
||||||
|
|
||||||
template<>
|
|
||||||
inline word
|
|
||||||
basicTypeName<realx4x3>()
|
|
||||||
{
|
|
||||||
return "realx4x3";
|
|
||||||
}*/
|
|
||||||
|
|
||||||
extern const realx3 zero3;
|
extern const realx3 zero3;
|
||||||
extern const realx3 one3;
|
extern const realx3 one3;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue