Blender  V2.93
Classes | Macros | Functions | Variables
device_cpu.cpp File Reference
#include <stdlib.h>
#include <string.h>
#include "device/device.h"
#include "device/device_denoising.h"
#include "device/device_intern.h"
#include "device/device_split_kernel.h"
#include "kernel/kernel.h"
#include "kernel/kernel_compat_cpu.h"
#include "kernel/kernel_types.h"
#include "kernel/split/kernel_split_data.h"
#include "kernel/kernel_globals.h"
#include "kernel/kernel_adaptive_sampling.h"
#include "kernel/filter/filter.h"
#include "kernel/osl/osl_shader.h"
#include "kernel/osl/osl_globals.h"
#include "bvh/bvh_embree.h"
#include "render/buffers.h"
#include "render/coverage.h"
#include "util/util_debug.h"
#include "util/util_foreach.h"
#include "util/util_function.h"
#include "util/util_logging.h"
#include "util/util_map.h"
#include "util/util_openimagedenoise.h"
#include "util/util_opengl.h"
#include "util/util_optimization.h"
#include "util/util_progress.h"
#include "util/util_system.h"
#include "util/util_task.h"
#include "util/util_thread.h"

Go to the source code of this file.

Classes

class  KernelFunctions< F >
 
class  CPUSplitKernel
 
class  CPUDevice
 
class  CPUSplitKernelFunction
 

Macros

#define KERNEL_FUNCTIONS(name)
 
#define REGISTER_KERNEL(name)   name##_kernel(KERNEL_FUNCTIONS(name))
 
#define REGISTER_SPLIT_KERNEL(name)
 

Functions

Devicedevice_cpu_create (DeviceInfo &info, Stats &stats, Profiler &profiler, bool background)
 
void device_cpu_info (vector< DeviceInfo > &devices)
 
string device_cpu_capabilities ()
 

Variables

static const char * logged_architecture = ""
 

Macro Definition Documentation

◆ KERNEL_FUNCTIONS

#define KERNEL_FUNCTIONS (   name)
Value:
KERNEL_NAME_EVAL(cpu, name), KERNEL_NAME_EVAL(cpu_sse2, name), \
KERNEL_NAME_EVAL(cpu_sse3, name), KERNEL_NAME_EVAL(cpu_sse41, name), \
KERNEL_NAME_EVAL(cpu_avx, name), KERNEL_NAME_EVAL(cpu_avx2, name)
__kernel void KERNEL_NAME_EVAL(kernel_ocl_path_trace, KERNEL_NAME)(ccl_global char *kg_global

Definition at line 278 of file device_cpu.cpp.

◆ REGISTER_KERNEL

#define REGISTER_KERNEL (   name)    name##_kernel(KERNEL_FUNCTIONS(name))

◆ REGISTER_SPLIT_KERNEL

#define REGISTER_SPLIT_KERNEL (   name)
Value:
#define KERNEL_FUNCTIONS(name)
Definition: device_cpu.cpp:278

Function Documentation

◆ device_cpu_capabilities()

string device_cpu_capabilities ( )

◆ device_cpu_create()

Device* device_cpu_create ( DeviceInfo info,
Stats stats,
Profiler profiler,
bool  background 
)

Definition at line 1640 of file device_cpu.cpp.

Referenced by Device::create().

◆ device_cpu_info()

void device_cpu_info ( vector< DeviceInfo > &  devices)

Variable Documentation

◆ logged_architecture

const char* logged_architecture = ""
static

Definition at line 73 of file device_cpu.cpp.

Referenced by KernelFunctions< F >::KernelFunctions().