AQUAgpusph 5.0.4
Loading...
Searching...
No Matches
RadixSort.hpp File Reference

Methods to perform a radix sort using the GPU (or any device supported by OpenCL). (See Aqua::CalcServer::RadixSort for details) More...

#include "aquagpusph/sphPrerequisites.hpp"
#include "CalcServer.hpp"
#include "Tool.hpp"
#include "Kernel.hpp"
Include dependency graph for RadixSort.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Aqua::CalcServer::RadixSort
 Methods to perform a radix sort using the GPU (or any device supported by OpenCL). The code has 3 steps: More...

Namespaces

namespace  Aqua
 Main AQUAgpusph namespace.
namespace  Aqua::CalcServer
 Calculation server name space.

Macros

#define _ITEMS   64U
#define _GROUPS   16U
#define _STEPBITS   4U
#define _RADIX   (1 << _STEPBITS)
#define _HISTOSPLIT   512U

Detailed Description

Methods to perform a radix sort using the GPU (or any device supported by OpenCL). (See Aqua::CalcServer::RadixSort for details)

Note
Hardcoded versions of the files CalcServer/RadixSort.cl.in and CalcServer/RadixSort.hcl.in are internally included as a text array.

Macro Definition Documentation

◆ _GROUPS

#define _GROUPS   16U

◆ _HISTOSPLIT

#define _HISTOSPLIT   512U

◆ _ITEMS

#define _ITEMS   64U

◆ _RADIX

#define _RADIX   (1 << _STEPBITS)

◆ _STEPBITS

#define _STEPBITS   4U