Intel clGPU
selector_accept< Func, ScoreCalculator > Struct Template Reference

Helper class to select function implementation by calling accept() method for each implementation. More...

#include <functions_base.hpp>

Inherits holder.

Public Member Functions

 selector_accept (const std::shared_ptr< iclgpu::context > &ctx)
 
scored_impls_list< Func > select (const typename Func::params &params)
 Creates the list of function implementations which accept specified function parameters. More...
 

Detailed Description

template<class Func, class ScoreCalculator = score_builder_dot_product<Func>>
struct iclgpu::functions::selector_accept< Func, ScoreCalculator >

Helper class to select function implementation by calling accept() method for each implementation.

Template Parameters
Funcfunction type
ScoreCalculatorHelper class to calculate implementation score

Definition at line 183 of file functions_base.hpp.

Member Function Documentation

◆ select()

scored_impls_list<Func> select ( const typename Func::params &  params)
inline

Creates the list of function implementations which accept specified function parameters.

Parameters
paramsActual function parameters

Definition at line 192 of file functions_base.hpp.


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