Blender V5.3
BLI_task_test.cc File Reference
#include "testing/testing.h"
#include <atomic>
#include <cstring>
#include "atomic_ops.h"
#include "MEM_guardedalloc.h"
#include "BLI_listbase.hh"
#include "BLI_mempool.hh"
#include "BLI_task.hh"
#include "BLI_task_c.hh"

Go to the source code of this file.

Classes

struct  blender::TaskMemPool_Chunk

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define ITEMS_NUM   10000

Functions

static void blender::task_range_iter_func (void *userdata, int index, const TaskParallelTLS *__restrict tls)
static void blender::task_range_iter_reduce_func (const void *__restrict, void *__restrict join_v, void *__restrict userdata_chunk)
 blender::TEST (task, RangeIter)
static void blender::task_mempool_iter_func (void *userdata, MempoolIterData *item, const TaskParallelTLS *__restrict)
 blender::TEST (task, MempoolIter)
static void blender::task_mempool_iter_tls_func (void *, MempoolIterData *item, const TaskParallelTLS *__restrict tls)
static void blender::task_mempool_iter_tls_reduce (const void *__restrict, void *__restrict chunk_join, void *__restrict chunk)
static void blender::task_mempool_iter_tls_free (const void *, void *__restrict userdata_chunk)
 blender::TEST (task, MempoolIterTLS)
 blender::TEST (task, ParallelInvoke)

Macro Definition Documentation

◆ ITEMS_NUM

#define ITEMS_NUM   10000

Definition at line 20 of file BLI_task_test.cc.

Referenced by blender::TEST(), blender::TEST(), and blender::TEST().