Crate bevy_radix_sort

Source
Expand description

Radix sort algorithm used for sorting keys of type u32.

Re-exports§

pub use get_subgroup_size::*;

Modules§

get_subgroup_size

Structs§

RadixSortBindGroup
The radix sort algorithm requires multiple sub-sorts. For example, for keys of type u32 and NUMBER_OF_RADIX_BITS set to 8, 4 sub-sorts are needed.
RadixSortPipeline
Introduction
RadixSortPlugin
RadixSortSettings

Enums§

LoadState

Constants§

EVE_GLOBAL_KEYS_STORAGE_BUFFER_HANDLE
When pass is even:
EVE_GLOBAL_VALS_STORAGE_BUFFER_HANDLE
When pass is even:
GLOBAL_BLOCKS_STORAGE_BUFFER_HANDLE
NUMBER_OF_BYTES_PER_KEY
NUMBER_OF_RADIX
The range of the radix, the range of the radix with 8 bits is [0, 255].
NUMBER_OF_RADIX_BITS
The number of bits per pass that can be processed.
NUMBER_OF_ROWS_PER_WORKGROUP
The row size of the keys processed by each workgroup.
NUMBER_OF_THREADS_PER_WORKGROUP
WARP is a term used by Nvidia to refer to a group of parallel threads that execute the same instruction set within a time slice. WARP also has synonymous terms such as WAVEFRONT (AMD), SIMD Group (Apple), etc. However, here it is collectively referred to as Subgroup.
ODD_GLOBAL_KEYS_STORAGE_BUFFER_HANDLE
When pass is even:
ODD_GLOBAL_VALS_STORAGE_BUFFER_HANDLE
When pass is even:
RADIX_SORT_SHADER_HANDLE

Functions§

check_load_state
dispatch_workgroup_ext
run