|
Space Sim
|
Step one 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 |
| #define | ELEMENT_IN(index, iteration) |
Functions | |
| layout (local_size_x=WORKGROUP_SIZE) in | |
| layout (std430, binding=2) buffer MortonData | |
| void | main () |
Variables | |
| uniform int | iteration |
Step one of radix sort.
Definition in file radix_new.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_new.comp.
| #define RADIX_SORT_BINS 128 |
Definition at line 8 of file radix_new.comp.
| #define SUBGROUP_SIZE 32 |
Definition at line 9 of file radix_new.comp.
| #define ITERATIONS 8 |
Definition at line 10 of file radix_new.comp.
| #define BODY_COUNT 15000 |
Definition at line 12 of file radix_new.comp.
| #define MAX_NODES 45000 |
Definition at line 13 of file radix_new.comp.
| #define ELEMENT_IN | ( | index, | |
| iteration ) |
Definition at line 40 of file radix_new.comp.
Referenced by main().
| layout | ( | local_size_x | = WORKGROUP_SIZE | ) |
References layout(), morton(), MortonEntry::pid, and WORKGROUP_SIZE.
| layout | ( | std430 | , |
| binding | = 2 ) |
Definition at line 22 of file radix_new.comp.
References layout().
| void main | ( | ) |
Definition at line 42 of file radix_new.comp.
References BODY_COUNT, ELEMENT_IN, iteration, main(), MortonEntry::morton, RADIX_SORT_BINS, and WORKGROUP_SIZE.
| uniform int iteration |
Definition at line 14 of file radix_new.comp.
Referenced by main().