AQUAgpusph 5.0.4
Loading...
Searching...
No Matches
Sort.cl File Reference

associations array sorting. More...

Include dependency graph for Sort.cl:

Functions

__kernel void entry (const __global usize *associations_in, __global usize *associations, const __global usize *id_sorted, usize N)
 Sort the associations array.

Detailed Description

associations array sorting.

Function Documentation

◆ entry()

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

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