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

#include <detail/host_task.hpp>

Public Member Functions

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

Friends

class DispatchHostTask
 
class ExecCGCommand
 

Detailed Description

Definition at line 24 of file host_task.hpp.

Constructor & Destructor Documentation

◆ HostTask() [1/3]

sycl::_V1::detail::HostTask::HostTask ( )
inline

Definition at line 29 of file host_task.hpp.

◆ HostTask() [2/3]

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

Definition at line 30 of file host_task.hpp.

◆ HostTask() [3/3]

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

Definition at line 31 of file host_task.hpp.

Member Function Documentation

◆ call() [1/2]

void sycl::_V1::detail::HostTask::call ( HostProfilingInfo HPI)
inline

◆ call() [2/2]

void sycl::_V1::detail::HostTask::call ( HostProfilingInfo HPI,
interop_handle  handle 
)
inline

◆ isInteropTask()

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

Definition at line 33 of file host_task.hpp.

Friends And Related Function Documentation

◆ DispatchHostTask

friend class DispatchHostTask
friend

Definition at line 51 of file host_task.hpp.

◆ ExecCGCommand

friend class ExecCGCommand
friend

Definition at line 52 of file host_task.hpp.


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