DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::detail::HostTask Class Reference

#include <CL/sycl/detail/cg_types.hpp>

Public Member Functions

 HostTask ()
 
 HostTask (std::function< void()> &&Func)
 
 HostTask (std::function< void(interop_handle)> &&Func)
 
bool isInteropTask () const
 
void call ()
 
void call (interop_handle handle)
 

Detailed Description

Definition at line 229 of file cg_types.hpp.

Constructor & Destructor Documentation

◆ HostTask() [1/3]

cl::sycl::detail::HostTask::HostTask ( )
inline

Definition at line 234 of file cg_types.hpp.

◆ HostTask() [2/3]

cl::sycl::detail::HostTask::HostTask ( std::function< void()> &&  Func)
inline

Definition at line 235 of file cg_types.hpp.

◆ HostTask() [3/3]

cl::sycl::detail::HostTask::HostTask ( std::function< void(interop_handle)> &&  Func)
inline

Definition at line 236 of file cg_types.hpp.

Member Function Documentation

◆ call() [1/2]

void cl::sycl::detail::HostTask::call ( )
inline

Definition at line 240 of file cg_types.hpp.

◆ call() [2/2]

void cl::sycl::detail::HostTask::call ( interop_handle  handle)
inline

Definition at line 241 of file cg_types.hpp.

◆ isInteropTask()

bool cl::sycl::detail::HostTask::isInteropTask ( ) const
inline

Definition at line 238 of file cg_types.hpp.


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