Blender  V3.3
Classes | Macros | Typedefs
device/cpu/globals.h File Reference
#include "kernel/tables.h"
#include "kernel/types.h"
#include "kernel/util/profiling.h"
#include "kernel/data_arrays.h"

Go to the source code of this file.

Classes

struct  kernel_array< T >
 
struct  KernelGlobalsCPU
 

Macros

#define KERNEL_DATA_ARRAY(type, name)   kernel_array<type> name;
 
#define kernel_data_fetch(name, index)   (kg->name.fetch(index))
 
#define kernel_data_array(name)   (kg->name.data)
 
#define kernel_data   (kg->data)
 

Typedefs

typedef struct KernelGlobalsCPU KernelGlobalsCPU
 
typedef const KernelGlobalsCPU *ccl_restrict KernelGlobals
 

Macro Definition Documentation

◆ kernel_data

#define kernel_data   (kg->data)

Definition at line 61 of file device/cpu/globals.h.

◆ kernel_data_array

#define kernel_data_array (   name)    (kg->name.data)

Definition at line 60 of file device/cpu/globals.h.

◆ KERNEL_DATA_ARRAY

#define KERNEL_DATA_ARRAY (   type,
  name 
)    kernel_array<type> name;

Definition at line 38 of file device/cpu/globals.h.

◆ kernel_data_fetch

#define kernel_data_fetch (   name,
  index 
)    (kg->name.fetch(index))

Definition at line 59 of file device/cpu/globals.h.

Typedef Documentation

◆ KernelGlobals

Definition at line 56 of file device/cpu/globals.h.

◆ KernelGlobalsCPU