Blender
V3.3
|
#include "util/atomic.h"
Go to the source code of this file.
Macros | |
#define | GPU_PARALLEL_ACTIVE_INDEX_DEFAULT_BLOCK_SIZE 512 |
#define | gpu_parallel_active_index_array(blocksize, num_states, indices, num_indices, is_active_op) gpu_parallel_active_index_array_impl<blocksize>(num_states, indices, num_indices, is_active_op) |
Functions | |
template<uint blocksize, typename IsActiveOp > | |
__device__ void | gpu_parallel_active_index_array_impl (const uint num_states, ccl_global int *indices, ccl_global int *num_indices, IsActiveOp is_active_op) |
#define gpu_parallel_active_index_array | ( | blocksize, | |
num_states, | |||
indices, | |||
num_indices, | |||
is_active_op | |||
) | gpu_parallel_active_index_array_impl<blocksize>(num_states, indices, num_indices, is_active_op) |
Definition at line 199 of file parallel_active_index.h.
#define GPU_PARALLEL_ACTIVE_INDEX_DEFAULT_BLOCK_SIZE 512 |
Definition at line 18 of file parallel_active_index.h.
__device__ void gpu_parallel_active_index_array_impl | ( | const uint | num_states, |
ccl_global int * | indices, | ||
ccl_global int * | num_indices, | ||
IsActiveOp | is_active_op | ||
) |
Definition at line 79 of file parallel_active_index.h.
References atomic_fetch_and_add_uint32(), ccl_gpu_ballot, ccl_gpu_block_idx_x, ccl_gpu_local_syncthreads, ccl_gpu_shared, ccl_gpu_syncthreads, ccl_gpu_thread_idx_x, ccl_gpu_thread_mask, ccl_gpu_warp_size, indices, num_indices, num_states, offset, popcount(), and state_index.