AQUAgpusph 4.1.2
|
associations array sorting. More...
#include "resources/Scripts/types/types.h"
Functions | |
__kernel void | entry (const __global uint *associations_in, __global uint *associations, const __global unit *id_sorted, unsigned int N) |
Sort the associations array. | |
associations array sorting.
__kernel void entry | ( | const __global uint * | associations_in, |
__global uint * | associations, | ||
const __global unit * | id_sorted, | ||
unsigned int | 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. |