|
AQUAgpusph 5.0.4
|
associations array sorting. More...
#include "resources/Scripts/types/types.h"
Functions | |
| __kernel void | entry (const __global usize *associations_in, __global usize *associations, const __global usize *id_sorted, usize N) |
| Sort the associations array. | |
associations array sorting.
| __kernel void entry | ( | const __global usize * | associations_in, |
| __global usize * | associations, | ||
| const __global usize * | id_sorted, | ||
| usize | N ) |
Sort the associations array.
Sorting such array is a little bit different, because in this case the right hand side should be sorted as well.
| associations_in | Unsorted associations |
| associations | Sorted associations |
| id_sorted | Permutations list from the unsorted space to the sorted one. |
| N | Number of particles. |