Blender V4.3
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)    KERNEL_NAME_EVAL(cpu, name), KERNEL_NAME_EVAL(cpu_sse42, name), KERNEL_NAME_EVAL(cpu_avx2, name)
 
#define REGISTER_KERNEL(name)   name(KERNEL_FUNCTIONS(name))
 
#define REGISTER_KERNEL_FILM_CONVERT(name)
 

Macro Definition Documentation

◆ KERNEL_FUNCTIONS

#define KERNEL_FUNCTIONS ( name)     KERNEL_NAME_EVAL(cpu, name), KERNEL_NAME_EVAL(cpu_sse42, name), KERNEL_NAME_EVAL(cpu_avx2, name)

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

◆ REGISTER_KERNEL

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

Definition at line 14 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 15 of file device/cpu/kernel.cpp.