Blender  V3.3
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CPUKernelFunction< FunctionType > Class Template Reference

#include <kernel_function.h>

Classes

class  KernelInfo
 

Public Member Functions

 CPUKernelFunction (FunctionType kernel_default, FunctionType kernel_sse2, FunctionType kernel_sse3, FunctionType kernel_sse41, FunctionType kernel_avx, FunctionType kernel_avx2)
 
template<typename... Args>
auto operator() (Args... args) const
 
const char * get_uarch_name () const
 

Protected Member Functions

KernelInfo get_best_kernel_info (FunctionType kernel_default, FunctionType kernel_sse2, FunctionType kernel_sse3, FunctionType kernel_sse41, FunctionType kernel_avx, FunctionType kernel_avx2)
 

Protected Attributes

KernelInfo kernel_info_
 

Detailed Description

template<typename FunctionType>
class CPUKernelFunction< FunctionType >

Definition at line 16 of file kernel_function.h.

Constructor & Destructor Documentation

◆ CPUKernelFunction()

template<typename FunctionType >
CPUKernelFunction< FunctionType >::CPUKernelFunction ( FunctionType  kernel_default,
FunctionType  kernel_sse2,
FunctionType  kernel_sse3,
FunctionType  kernel_sse41,
FunctionType  kernel_avx,
FunctionType  kernel_avx2 
)
inline

Member Function Documentation

◆ get_best_kernel_info()

template<typename FunctionType >
KernelInfo CPUKernelFunction< FunctionType >::get_best_kernel_info ( FunctionType  kernel_default,
FunctionType  kernel_sse2,
FunctionType  kernel_sse3,
FunctionType  kernel_sse41,
FunctionType  kernel_avx,
FunctionType  kernel_avx2 
)
inlineprotected

◆ get_uarch_name()

template<typename FunctionType >
const char* CPUKernelFunction< FunctionType >::get_uarch_name ( ) const
inline

◆ operator()()

template<typename FunctionType >
template<typename... Args>
auto CPUKernelFunction< FunctionType >::operator() ( Args...  args) const
inline

Member Data Documentation

◆ kernel_info_

template<typename FunctionType >
KernelInfo CPUKernelFunction< FunctionType >::kernel_info_
protected

The documentation for this class was generated from the following file: