Blender  V3.3
Macros | Functions
parallel_sorted_index.h File Reference
#include "util/atomic.h"

Go to the source code of this file.

Macros

#define GPU_PARALLEL_SORTED_INDEX_DEFAULT_BLOCK_SIZE   512
 
#define GPU_PARALLEL_SORTED_INDEX_INACTIVE_KEY   (~0)
 

Functions

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_SORTED_INDEX_DEFAULT_BLOCK_SIZE

#define GPU_PARALLEL_SORTED_INDEX_DEFAULT_BLOCK_SIZE   512

Definition at line 19 of file parallel_sorted_index.h.

◆ GPU_PARALLEL_SORTED_INDEX_INACTIVE_KEY

#define GPU_PARALLEL_SORTED_INDEX_INACTIVE_KEY   (~0)

Definition at line 21 of file parallel_sorted_index.h.

Function Documentation

◆ 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 
)