Intel clGPU
function_impl_execute< Func > Struct Template Referenceabstract

Function implementation supporting direct execution. More...

#include <functions_base.hpp>

Inherits function_impl< Func >.

Public Member Functions

virtual event execute (const typename Func::params &params, const std::vector< event > &dep_events)=0
 Run function implementation. More...
 
- Public Member Functions inherited from function_impl< Func >
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...
 

Additional Inherited Members

- Public Types inherited from function_impl< Func >
typedef Func func_type
 

Detailed Description

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

Function implementation supporting direct execution.

Template Parameters
Funcfunction type

Definition at line 120 of file functions_base.hpp.

Member Function Documentation

◆ execute()

virtual event execute ( const typename Func::params &  params,
const std::vector< event > &  dep_events 
)
pure virtual

Run function implementation.

Parameters
paramsActual function parameters
dep_eventsList of events to be waited before start function execution
Returns
The event object which indicates whether function execution is completed

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