Intel clGPU
function_impl< Func > Struct Template Referenceabstract

Function implementation base class. More...

#include <functions_base.hpp>

Inherits holder.

Inherited by function_impl_command< Func >, and function_impl_execute< Func >.

Public Types

typedef Func func_type
 

Public Member Functions

virtual const char * name () const =0
 string representation of the implementation
 
virtual const char * full_name () const =0
 string representation of function and the implementation
 
virtual bool accept (const typename Func::params &, typename Func::score &)
 Check if the implementation supports actual function parameters values. More...
 

Detailed Description

template<typename Func>
struct iclgpu::functions::function_impl< Func >

Function implementation base class.

Template Parameters
Funcfunction type

Definition at line 99 of file functions_base.hpp.

Member Function Documentation

◆ accept()

virtual bool accept ( const typename Func::params &  ,
typename Func::score &   
)
inlinevirtual

Check if the implementation supports actual function parameters values.

Parameters
[in]paramsactual function parameters to be checked
[in,out]scoreassuming implementation performance function_score based on actual parameters
See also
function_score, score_builder_dot_product

Definition at line 114 of file functions_base.hpp.


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