Specialize force kernel when there are no masks to be checked

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti
2023-03-28 18:04:18 +02:00
parent 965fda3879
commit 85f1484449
3 changed files with 75 additions and 4 deletions

View File

@@ -35,6 +35,7 @@ typedef struct {
int ncalls;
int maxneighs;
int* numneigh;
int* numneigh_masked;
int half_neigh;
NeighborCluster* neighbors;
} Neighbor;