Speclib  0.1.2
The library for writing better CUDA libraries

A system for compiling LUTs efficiently on the GPU in one of several ways. More...

Classes

class  sp::LUTSpec
 The base class for the LUT Spec template parameter. More...
 
class  sp::HostLUTSpec
 Default LUT specification template for use on CPUs. More...
 
class  sp::DeviceLUTSpec
 Default LUT specification template for use on GPUs. More...
 
class  sp::LUT< Spec >
 Implement a lookup table. More...
 

Typedefs

using sp::DefaultLUTSpecTemplate = std::conditional_t< OnDevice, DeviceLUTSpec, HostLUTSpec >
 Default LUT specification template. More...
 

Detailed Description

A system for compiling LUTs efficiently on the GPU in one of several ways.

Typedef Documentation

◆ DefaultLUTSpecTemplate

Default LUT specification template.

This is useful for testing to get something close to a device-like LUT on the host.