AQUAgpusph 4.1.2
Loading...
Searching...
No Matches
Functions
Sort.cl File Reference

associations array sorting. More...

#include "resources/Scripts/types/types.h"
Include dependency graph for Sort.cl:

Functions

__kernel void entry (const __global uint *associations_in, __global uint *associations, const __global unit *id_sorted, unsigned int N)
 Sort the associations array.
 

Detailed Description

associations array sorting.

Function Documentation

◆ entry()

__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.

Parameters
associations_inUnsorted associations
associationsSorted associations
id_sortedPermutations list from the unsorted space to the sorted one.
NNumber of particles.