Blender V5.0
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 20 of file debug.h.

Constructor & Destructor Documentation

◆ CPU()

CCL_NAMESPACE_BEGIN DebugFlags::CPU::CPU ( )

Definition at line 13 of file debug.cpp.

References reset().

Member Function Documentation

◆ has_avx2()

bool DebugFlags::CPU::has_avx2 ( )
inline

Definition at line 33 of file debug.h.

References avx2, and has_sse42().

◆ has_sse42()

bool DebugFlags::CPU::has_sse42 ( )
inline

Definition at line 37 of file debug.h.

References sse42.

Referenced by has_avx2().

◆ reset()

void DebugFlags::CPU::reset ( )

Definition at line 18 of file debug.cpp.

References avx2, bvh_layout, BVH_LAYOUT_AUTO, and CHECK_CPU_FLAGS.

Referenced by CPU().

Member Data Documentation

◆ avx2

bool DebugFlags::CPU::avx2 = true

Definition at line 27 of file debug.h.

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

◆ bvh_layout

BVHLayout DebugFlags::CPU::bvh_layout = BVH_LAYOUT_AUTO

◆ sse42

bool DebugFlags::CPU::sse42 = true

Definition at line 28 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: