Blender
V3.3
|
#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) |
#define GPU_PARALLEL_SORTED_INDEX_DEFAULT_BLOCK_SIZE 512 |
Definition at line 19 of file parallel_sorted_index.h.
#define GPU_PARALLEL_SORTED_INDEX_INACTIVE_KEY (~0) |
Definition at line 21 of file parallel_sorted_index.h.
__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 | ||
) |
Definition at line 24 of file parallel_sorted_index.h.
References atomic_fetch_and_add_uint32(), GPU_PARALLEL_SORTED_INDEX_INACTIVE_KEY, indices, key_counter, key_prefix_sum, num_states, num_states_limit, and state_index.