Speclib  0.1.2
The library for writing better CUDA libraries
sp::RunSpecialisedWrapper< Function > Struct Template Referencefinal

A functor to wrap the call to Function::run(). More...

#include <RunSpecialised.hpp>

Public Types

using OperatorType = Function
 

Public Member Functions

template<typename... Args>
auto operator() (Args &&... args) const
 Call Function::run() with the arguments given to this method and return its value. More...
 

Detailed Description

template<typename Function>
struct sp::RunSpecialisedWrapper< Function >

A functor to wrap the call to Function::run().

Used by runSpecialised() when targeting a static function.

Member Function Documentation

◆ operator()()

template<typename Function >
template<typename... Args>
auto sp::RunSpecialisedWrapper< Function >::operator() ( Args &&...  args) const

Call Function::run() with the arguments given to this method and return its value.