Blender  V2.93
Public Member Functions | Public Attributes | List of all members
DebugFlags::CPU Struct Reference

#include <util_debug.h>

Public Member Functions

 CPU ()
 
void reset ()
 
bool has_avx2 ()
 
bool has_avx ()
 
bool has_sse41 ()
 
bool has_sse3 ()
 
bool has_sse2 ()
 

Public Attributes

bool avx2
 
bool avx
 
bool sse41
 
bool sse3
 
bool sse2
 
BVHLayout bvh_layout
 
bool split_kernel
 

Detailed Description

Definition at line 39 of file util_debug.h.

Constructor & Destructor Documentation

◆ CPU()

CCL_NAMESPACE_BEGIN DebugFlags::CPU::CPU ( )

Definition at line 28 of file util_debug.cpp.

References reset().

Member Function Documentation

◆ has_avx()

bool DebugFlags::CPU::has_avx ( )
inline

Definition at line 59 of file util_debug.h.

References avx, and has_sse41().

Referenced by has_avx2(), and KernelFunctions< F >::KernelFunctions().

◆ has_avx2()

bool DebugFlags::CPU::has_avx2 ( )
inline

Definition at line 55 of file util_debug.h.

References avx2, and has_avx().

Referenced by KernelFunctions< F >::KernelFunctions().

◆ has_sse2()

bool DebugFlags::CPU::has_sse2 ( )
inline

Definition at line 71 of file util_debug.h.

References sse2.

Referenced by has_sse3(), and KernelFunctions< F >::KernelFunctions().

◆ has_sse3()

bool DebugFlags::CPU::has_sse3 ( )
inline

Definition at line 67 of file util_debug.h.

References has_sse2(), and sse3.

Referenced by has_sse41(), and KernelFunctions< F >::KernelFunctions().

◆ has_sse41()

bool DebugFlags::CPU::has_sse41 ( )
inline

Definition at line 63 of file util_debug.h.

References has_sse3(), and sse41.

Referenced by has_avx(), and KernelFunctions< F >::KernelFunctions().

◆ reset()

void DebugFlags::CPU::reset ( )

Definition at line 40 of file util_debug.cpp.

References BVH_LAYOUT_AUTO, and CHECK_CPU_FLAGS.

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

Member Data Documentation

◆ avx

bool DebugFlags::CPU::avx

◆ avx2

bool DebugFlags::CPU::avx2

◆ bvh_layout

BVHLayout DebugFlags::CPU::bvh_layout

◆ split_kernel

bool DebugFlags::CPU::split_kernel

◆ sse2

bool DebugFlags::CPU::sse2

◆ sse3

bool DebugFlags::CPU::sse3

◆ sse41

bool DebugFlags::CPU::sse41

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