Vc  1.4.1
SIMD Vector Classes for C++
ImplementationT< Features > Struct Template Reference

Detailed Description

template<unsigned int Features>
struct Vc::ImplementationT< Features >

This class identifies the specific implementation Vc uses in the current translation unit in terms of a type.

Most importantantly, the type CurrentImplementation instantiates the class template with the bitmask identifying the current implementation. The contents of the bitmask can be queried with the static member functions of the class.

Definition at line 531 of file global.h.

#include <global.h>

Static Public Member Functions

static constexpr Implementation current ()
 Returns the currently used Vc::Implementation.
 
static constexpr bool is (Implementation impl)
 Returns whether impl is the current Vc::Implementation.
 
static constexpr bool is_between (Implementation low, Implementation high)
 Returns whether the current Vc::Implementation implements at least low and at most high.
 
static constexpr bool runs_on (unsigned int extraInstructions)
 Returns whether the current code would run on a CPU providing extraInstructions.
 

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