|
Space Sim
|
Step two of radix sort. More...
Go to the source code of this file.
Data Structures | |
| struct | MortonEntry |
Macros | |
| #define | WORKGROUP_SIZE 128 |
| #define | RADIX_SORT_BINS 128 |
| #define | SUBGROUP_SIZE 32 |
| #define | ITERATIONS 8 |
| #define | BODY_COUNT 15000 |
| #define | MAX_NODES 45000 |
Functions | |
| layout (local_size_x=WORKGROUP_SIZE) in | |
| layout (std430, binding=2) buffer MortonData | |
| void | main () |
Variables | |
| uniform int | workgroup_count |
| shared uint | temp [RADIX_SORT_BINS] |
| shared uint | bin_total [RADIX_SORT_BINS] |
| shared uint | bin_offset [RADIX_SORT_BINS] |
Step two of radix sort.
Definition in file radix_global.comp.
| struct MortonEntry |
Definition at line 29 of file bounds.comp.
| Data Fields | ||
|---|---|---|
| uint | pid | |
| uint | morton | |
| #define WORKGROUP_SIZE 128 |
Definition at line 7 of file radix_global.comp.
| #define RADIX_SORT_BINS 128 |
Definition at line 8 of file radix_global.comp.
| #define SUBGROUP_SIZE 32 |
Definition at line 9 of file radix_global.comp.
| #define ITERATIONS 8 |
Definition at line 10 of file radix_global.comp.
| #define BODY_COUNT 15000 |
Definition at line 12 of file radix_global.comp.
| #define MAX_NODES 45000 |
Definition at line 13 of file radix_global.comp.
| layout | ( | local_size_x | = WORKGROUP_SIZE | ) |
References layout(), morton(), MortonEntry::pid, and WORKGROUP_SIZE.
| layout | ( | std430 | , |
| binding | = 2 ) |
Definition at line 21 of file radix_global.comp.
References layout().
| void main | ( | ) |
Definition at line 43 of file radix_global.comp.
References bin_offset, bin_total, main(), RADIX_SORT_BINS, running, and workgroup_count.
| uniform int workgroup_count |
Definition at line 14 of file radix_global.comp.
Referenced by main().
| shared uint temp[RADIX_SORT_BINS] |
Definition at line 39 of file radix_global.comp.
Referenced by fft_textures(), and make_perm().
| shared uint bin_total[RADIX_SORT_BINS] |
Definition at line 40 of file radix_global.comp.
Referenced by main().
| shared uint bin_offset[RADIX_SORT_BINS] |
Definition at line 41 of file radix_global.comp.
Referenced by main().