Speclib  0.1.2
The library for writing better CUDA libraries
sp::HostLUTSpec Class Reference

Default LUT specification template for use on CPUs. More...

#include <LUT.hpp>

Inheritance diagram for sp::HostLUTSpec:
[legend]

Static Public Member Functions

static constexpr bool allowFlatLUT ()
 
static constexpr int maxMemoryLUTBytes ()
 
static constexpr int getVectorizationWidth ()
 
- Static Public Member Functions inherited from sp::LUTSpec
template<int Dummy = 0>
static constexpr uint32_t getMaxInput ()
 Get the value of the largest input in the lookup table. More...
 
template<int Dummy = 0>
static constexpr ThreeValue getOutput (uint32_t input)
 Get the output that corresponds to a given input. More...
 
static constexpr bool assumeInputInRange ()
 Assume the input is in range. More...
 
static constexpr bool allowBitwiseLUT ()
 Allow using a large number of bitwise operations to build a LUT. More...
 
static constexpr int maxMemoryLUTBytes ()
 Allow generating a lookup table in memory in flat or constant address space. More...
 
static constexpr int memoryLUTPackWidth ()
 The width, in bits, to use for packed memory lookup tables. More...
 
static constexpr int getVectorizationWidth ()
 Get the width in bits of the integer-vector type to use for vectorized bitwise operations. More...
 

Detailed Description

Default LUT specification template for use on CPUs.