Blender  V3.3
Macros | Functions
parallel_active_index.h File Reference
#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)
 

Macro Definition Documentation

◆ gpu_parallel_active_index_array

#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.

◆ GPU_PARALLEL_ACTIVE_INDEX_DEFAULT_BLOCK_SIZE

#define GPU_PARALLEL_ACTIVE_INDEX_DEFAULT_BLOCK_SIZE   512

Definition at line 18 of file parallel_active_index.h.

Function Documentation

◆ gpu_parallel_active_index_array_impl()

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 
)