OpenCL C++ Bindings: cl::compatibility::make_kernel< Ts > Struct Template Reference

OpenCL C++ Bindings

Public Types | Public Member Functions | Public Attributes | List of all members
cl::compatibility::make_kernel< Ts > Struct Template Reference

## Public Types
typedef KernelFunctor< Ts... > | FunctorType
typedef Event | result_type
| Return type of the functor.
typedef Event | type_(const EnqueueArgs &, Ts...)
| Function signature of kernel functor with no event dependency.

## Public Member Functions
| make_kernel (const Program &program, const string name, cl_int *err=NULL)
| make_kernel (const Kernel kernel)
Event | operator() (const EnqueueArgs &enqueueArgs, Ts... args)

## Public Attributes
FunctorType | functor_

## Detailed Description

### template<typename... Ts>
struct cl::compatibility::make_kernel< Ts >

Backward compatibility class to ensure that cl.hpp code works with opencl.hpp. Please use KernelFunctor directly.

Definition at line 10173 of file opencl.hpp.

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

- opencl.hpp