Blender V4.3
globals.h File Reference

Go to the source code of this file.

Classes

struct  KernelGlobalsGPU
 

Macros

#define KERNEL_DATA_ARRAY(type, name)   const type *__##name = nullptr;
 
#define kernel_data   (*(__data))
 
#define kernel_integrator_state   (*(integrator_state))
 
#define kernel_data_fetch(name, index)   __##name[index]
 
#define kernel_data_array(name)   __##name
 

Typedefs

typedef struct KernelGlobalsGPU KernelGlobalsGPU
 
typedef ccl_global KernelGlobalsGPU *ccl_restrict KernelGlobals
 

Macro Definition Documentation

◆ kernel_data

#define kernel_data   (*(__data))

Definition at line 42 of file device/oneapi/globals.h.

◆ KERNEL_DATA_ARRAY

#define KERNEL_DATA_ARRAY ( type,
name )   const type *__##name = nullptr;

Definition at line 22 of file device/oneapi/globals.h.

◆ kernel_data_array

#define kernel_data_array ( name)    __##name

Definition at line 48 of file device/oneapi/globals.h.

◆ kernel_data_fetch

#define kernel_data_fetch ( name,
index )   __##name[index]

Definition at line 47 of file device/oneapi/globals.h.

◆ kernel_integrator_state

#define kernel_integrator_state   (*(integrator_state))

Definition at line 43 of file device/oneapi/globals.h.

Typedef Documentation

◆ KernelGlobals

◆ KernelGlobalsGPU

typedef struct KernelGlobalsGPU KernelGlobalsGPU