Blender V5.3
parallel_sorted_index.h File Reference

Go to the source code of this file.

Macros

#define gpu_parallel_sort_bucket_pass   gpu_parallel_sort_bucket_pass_impl
#define gpu_parallel_sort_write_pass   gpu_parallel_sort_write_pass_impl

Functions

CCL_NAMESPACE_BEGIN ccl_device_inline void gpu_parallel_sort_bucket_pass_impl (const uint num_states, const uint partition_size, const uint max_shaders, const uint queued_kernel, ccl_global ushort *d_queued_kernel, ccl_global uint *d_shader_sort_key, ccl_global int *partition_key_offsets)
ccl_device_inline void gpu_parallel_sort_write_pass_impl (const uint num_states, const uint partition_size, const int num_states_limit, ccl_global int *indices, const uint max_shaders, const uint queued_kernel, ccl_global ushort *d_queued_kernel, ccl_global uint *d_shader_sort_key, ccl_global int *partition_key_offsets)
template<typename GetKeyOp>
__device__ void gpu_parallel_sorted_index_array (const uint state_index, const uint num_states, const int num_states_limit, ccl_global int *indices, ccl_global int *num_indices, ccl_global int *key_counter, ccl_global int *key_prefix_sum, GetKeyOp get_key_op)

Macro Definition Documentation

◆ gpu_parallel_sort_bucket_pass

#define gpu_parallel_sort_bucket_pass   gpu_parallel_sort_bucket_pass_impl

Definition at line 135 of file parallel_sorted_index.h.

◆ gpu_parallel_sort_write_pass

#define gpu_parallel_sort_write_pass   gpu_parallel_sort_write_pass_impl

Definition at line 256 of file parallel_sorted_index.h.

Function Documentation

◆ gpu_parallel_sort_bucket_pass_impl()

CCL_NAMESPACE_BEGIN ccl_device_inline void gpu_parallel_sort_bucket_pass_impl ( const uint num_states,
const uint partition_size,
const uint max_shaders,
const uint queued_kernel,
ccl_global ushort * d_queued_kernel,
ccl_global uint * d_shader_sort_key,
ccl_global int * partition_key_offsets )

◆ gpu_parallel_sort_write_pass_impl()

ccl_device_inline void gpu_parallel_sort_write_pass_impl ( const uint num_states,
const uint partition_size,
const int num_states_limit,
ccl_global int * indices,
const uint max_shaders,
const uint queued_kernel,
ccl_global ushort * d_queued_kernel,
ccl_global uint * d_shader_sort_key,
ccl_global int * partition_key_offsets )

◆ gpu_parallel_sorted_index_array()

template<typename GetKeyOp>
__device__ void gpu_parallel_sorted_index_array ( const uint state_index,
const uint num_states,
const int num_states_limit,
ccl_global int * indices,
ccl_global int * num_indices,
ccl_global int * key_counter,
ccl_global int * key_prefix_sum,
GetKeyOp get_key_op )