Blender  V2.93
Macros | Functions
kernel.cpp File Reference
#include "kernel/kernel.h"
#include "kernel/kernels/cpu/kernel_cpu_impl.h"
#include "kernel/kernel_textures.h"

Go to the source code of this file.

Macros

#define KERNEL_ARCH   cpu
 
#define KERNEL_TEX(type, tname)
 

Functions

CCL_NAMESPACE_BEGIN void kernel_const_copy (KernelGlobals *kg, const char *name, void *host, size_t)
 
void kernel_global_memory_copy (KernelGlobals *kg, const char *name, void *mem, size_t size)
 

Macro Definition Documentation

◆ KERNEL_ARCH

#define KERNEL_ARCH   cpu

Definition at line 60 of file kernel.cpp.

◆ KERNEL_TEX

#define KERNEL_TEX (   type,
  tname 
)
Value:
else if (strcmp(name, #tname) == 0) \
{ \
kg->tname.data = (type *)mem; \
kg->tname.width = size; \
}
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Definition: btDbvt.cpp:52

Function Documentation

◆ kernel_const_copy()

CCL_NAMESPACE_BEGIN void kernel_const_copy ( KernelGlobals *  kg,
const char *  name,
void *  host,
size_t  size 
)

Definition at line 67 of file kernel.cpp.

References kg.

Referenced by CPUDevice::const_copy_to().

◆ kernel_global_memory_copy()

void kernel_global_memory_copy ( KernelGlobals *  kg,
const char *  name,
void *  mem,
size_t  size 
)

Definition at line 77 of file kernel.cpp.

Referenced by CPUDevice::global_alloc().