Blender V4.5
globals.h File Reference
#include "kernel/types.h"
#include "kernel/integrator/state.h"
#include "kernel/util/profiler.h"
#include "util/color.h"
#include "util/texture.h"
#include "kernel/data_arrays.h"

Go to the source code of this file.

Classes

struct  KernelGlobalsGPU
 
struct  KernelParamsHIP
 

Macros

#define KERNEL_DATA_ARRAY(type, name)   const type *name;
 
#define kernel_data   kernel_params.data
 
#define kernel_data_fetch(name, index)   kernel_params.name[(index)]
 
#define kernel_data_array(name)   (kernel_params.name)
 
#define kernel_integrator_state   kernel_params.integrator_state
 

Typedefs

using KernelGlobals = const ccl_global KernelGlobalsGPU *ccl_restrict
 

Macro Definition Documentation

◆ kernel_data

#define kernel_data   kernel_params.data

Definition at line 41 of file device/hip/globals.h.

◆ KERNEL_DATA_ARRAY

#define KERNEL_DATA_ARRAY ( type,
name )   const type *name;

Definition at line 29 of file device/hip/globals.h.

◆ kernel_data_array

#define kernel_data_array ( name)    (kernel_params.name)

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

◆ kernel_data_fetch

#define kernel_data_fetch ( name,
index )   kernel_params.name[(index)]

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

◆ kernel_integrator_state

#define kernel_integrator_state   kernel_params.integrator_state

Definition at line 44 of file device/hip/globals.h.

Typedef Documentation

◆ KernelGlobals

Definition at line 24 of file device/hip/globals.h.