end of file corrections

This commit is contained in:
Hamidreza
2025-03-13 23:43:52 +03:30
parent 23783b7db9
commit b65be8881c
19 changed files with 23 additions and 104 deletions

View File

@ -21,6 +21,7 @@ Licence:
-----------------------------------------------------------------------------*/
#include "mapperNBSKernels.hpp"
#include "streams.hpp"
void pFlow::mapperNBSKernels::findPointExtends
(
@ -152,7 +153,9 @@ bool pFlow::mapperNBSKernels::buildLists
const pFlagTypeDevice &flags
)
{
auto aRange = flags.activeRange();
auto pp = points;
if(flags.isAllActive() )
{
@ -162,7 +165,7 @@ bool pFlow::mapperNBSKernels::buildLists
deviceRPolicyStatic(aRange.start(), aRange.end()),
LAMBDA_HD(uint32 i)
{
auto ind = searchCell.pointIndex(pp[i]);
auto ind = searchCell.pointIndex(pp[i]);
uint32 old = Kokkos::atomic_exchange(&head(ind.x(), ind.y(), ind.z()), i);
next[i] = old;
}