Intel® Implicit SPMD Program Compiler (Intel® ISPC)  1.13.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
AllCPUs Class Reference
Collaboration diagram for AllCPUs:
Collaboration graph
[legend]

Public Member Functions

 AllCPUs ()
 
std::string HumanReadableListOfNames ()
 
std::string & GetDefaultNameFromType (CPUtype type)
 
CPUtype GetTypeFromName (std::string name)
 
bool BackwardCompatible (CPUtype what, CPUtype with)
 

Private Member Functions

std::set< CPUtypeSet (int type,...)
 

Private Attributes

std::vector< std::vector< std::string > > names
 
std::vector< std::set< CPUtype > > compat
 

Detailed Description

Definition at line 281 of file ispc.cpp.

Constructor & Destructor Documentation

◆ AllCPUs()

AllCPUs::AllCPUs ( )
inline

Member Function Documentation

◆ BackwardCompatible()

bool AllCPUs::BackwardCompatible ( CPUtype  what,
CPUtype  with 
)
inline

Definition at line 436 of file ispc.cpp.

References Assert, CPU_None, and sizeofCPUtype.

Referenced by Target::Target().

◆ GetDefaultNameFromType()

std::string& AllCPUs::GetDefaultNameFromType ( CPUtype  type)
inline

Definition at line 421 of file ispc.cpp.

References Assert, CPU_None, and sizeofCPUtype.

Referenced by Target::Target().

◆ GetTypeFromName()

CPUtype AllCPUs::GetTypeFromName ( std::string  name)
inline

Definition at line 426 of file ispc.cpp.

References CPU_None, and sizeofCPUtype.

Referenced by Target::Target().

◆ HumanReadableListOfNames()

std::string AllCPUs::HumanReadableListOfNames ( )
inline

Definition at line 405 of file ispc.cpp.

References CPU_Generic, and sizeofCPUtype.

Referenced by Target::SupportedCPUs(), and Target::Target().

◆ Set()

std::set<CPUtype> AllCPUs::Set ( int  type,
  ... 
)
inlineprivate

Definition at line 286 of file ispc.cpp.

References CPU_None.

Referenced by AllCPUs().

Member Data Documentation

◆ compat

std::vector<std::set<CPUtype> > AllCPUs::compat
private

Definition at line 284 of file ispc.cpp.

◆ names

std::vector<std::vector<std::string> > AllCPUs::names
private

Definition at line 283 of file ispc.cpp.


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