Blender  V3.3
Macros
device/cpu/kernel.cpp File Reference
#include "device/cpu/kernel.h"
#include "kernel/device/cpu/kernel.h"

Go to the source code of this file.

Macros

#define KERNEL_FUNCTIONS(name)
 
#define REGISTER_KERNEL(name)   name(KERNEL_FUNCTIONS(name))
 
#define REGISTER_KERNEL_FILM_CONVERT(name)
 

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)
#define KERNEL_NAME_EVAL(arch, name)

Definition at line 10 of file device/cpu/kernel.cpp.

◆ REGISTER_KERNEL

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

Definition at line 15 of file device/cpu/kernel.cpp.

◆ REGISTER_KERNEL_FILM_CONVERT

#define REGISTER_KERNEL_FILM_CONVERT (   name)
Value:
film_convert_##name(KERNEL_FUNCTIONS(film_convert_##name)), \
film_convert_half_rgba_##name(KERNEL_FUNCTIONS(film_convert_half_rgba_##name))
#define KERNEL_FUNCTIONS(name)

Definition at line 16 of file device/cpu/kernel.cpp.