Blender V4.3
DebugFlags::CPU Struct Reference

#include <debug.h>

Public Member Functions

 CPU ()
 
void reset ()
 
bool has_avx2 ()
 
bool has_sse42 ()
 

Public Attributes

bool avx2 = true
 
bool sse42 = true
 
BVHLayout bvh_layout = BVH_LAYOUT_AUTO
 

Detailed Description

Definition at line 21 of file debug.h.

Constructor & Destructor Documentation

◆ CPU()

CCL_NAMESPACE_BEGIN DebugFlags::CPU::CPU ( )

Definition at line 16 of file debug.cpp.

References reset().

Member Function Documentation

◆ has_avx2()

bool DebugFlags::CPU::has_avx2 ( )
inline

Definition at line 34 of file debug.h.

References avx2, and has_sse42().

Referenced by CPUKernelFunction< FunctionType >::get_best_kernel_info().

◆ has_sse42()

bool DebugFlags::CPU::has_sse42 ( )
inline

Definition at line 38 of file debug.h.

References sse42.

Referenced by has_avx2().

◆ reset()

void DebugFlags::CPU::reset ( )

Definition at line 21 of file debug.cpp.

References BVH_LAYOUT_AUTO, and CHECK_CPU_FLAGS.

Referenced by CPU(), and DebugFlags::reset().

Member Data Documentation

◆ avx2

bool DebugFlags::CPU::avx2 = true

Definition at line 28 of file debug.h.

Referenced by CCL_NAMESPACE_BEGIN::debug_flags_sync_from_scene(), and has_avx2().

◆ bvh_layout

BVHLayout DebugFlags::CPU::bvh_layout = BVH_LAYOUT_AUTO

◆ sse42

bool DebugFlags::CPU::sse42 = true

Definition at line 29 of file debug.h.

Referenced by CCL_NAMESPACE_BEGIN::debug_flags_sync_from_scene(), and has_sse42().


The documentation for this struct was generated from the following files: