Blender V5.3
task_range.cc File Reference
#include <cstdlib>
#include "MEM_guardedalloc.h"
#include "BLI_array.hh"
#include "BLI_lazy_threading.hh"
#include "BLI_offset_indices.hh"
#include "BLI_task.hh"
#include "BLI_task_c.hh"
#include "BLI_threads.hh"
#include "BLI_vector.hh"
#include "atomic_ops.h"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::threading
namespace  blender::threading::detail

Functions

static void blender::threading::detail::parallel_for_impl_accumulated_size_lookup (const IndexRange range, const int64_t grain_size, const FunctionRef< void(IndexRange)> function, const TaskSizeHints_AccumulatedLookup &size_hints)
void blender::threading::detail::parallel_for_impl (IndexRange range, int64_t grain_size, FunctionRef< void(IndexRange)> function, const TaskSizeHints &size_hints)
void blender::threading::detail::memory_bandwidth_bound_task_impl (FunctionRef< void()> function)
void blender::threading::detail::max_threads_task_impl (int max_threads, FunctionRef< void()> function)
Parallel for Routines
void blender::BLI_task_parallel_range (int start, int stop, void *userdata, TaskParallelRangeFunc func, const TaskParallelSettings *settings)
int blender::BLI_task_parallel_thread_id (const TaskParallelTLS *tls)

Detailed Description

Task parallel range functions.

Definition in file task_range.cc.