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

#include <sycl/detail/host_task_impl.hpp>

Inheritance diagram for sycl::_V1::detail::CGHostTask:
Collaboration diagram for sycl::_V1::detail::CGHostTask:

Public Member Functions

 CGHostTask (std::unique_ptr< HostTask > HostTask, std::shared_ptr< detail::queue_impl > Queue, std::shared_ptr< detail::context_impl > Context, std::vector< ArgDesc > Args, CG::StorageInitHelper CGData, CGTYPE Type, detail::code_location loc={})
 
- Public Member Functions inherited from sycl::_V1::detail::CG
 CG (CGTYPE Type, StorageInitHelper D, detail::code_location loc={})
 
 CG (CG &&CommandGroup)=default
 
 CG (const CG &CommandGroup)=default
 
CGTYPE getType () const
 
std::vector< std::vector< char > > & getArgsStorage ()
 
std::vector< detail::AccessorImplPtr > & getAccStorage ()
 
std::vector< std::shared_ptr< const void > > & getSharedPtrStorage ()
 
std::vector< AccessorImplHost * > & getRequirements ()
 
std::vector< detail::EventImplPtr > & getEvents ()
 
virtual std::vector< std::shared_ptr< const void > > getAuxiliaryResources () const
 
virtual void clearAuxiliaryResources ()
 
virtual ~CG ()=default
 

Public Attributes

std::unique_ptr< HostTaskMHostTask
 
std::shared_ptr< detail::queue_implMQueue
 
std::shared_ptr< detail::context_implMContext
 
std::vector< ArgDescMArgs
 
- Public Attributes inherited from sycl::_V1::detail::CG
std::string MFunctionName
 
std::string MFileName
 
int32_t MLine
 
int32_t MColumn
 

Additional Inherited Members

- Public Types inherited from sycl::_V1::detail::CG
enum  CGTYPE : unsigned int {
  None = 0 , Kernel = 1 , CopyAccToPtr = 2 , CopyPtrToAcc = 3 ,
  CopyAccToAcc = 4 , Barrier = 5 , BarrierWaitlist = 6 , Fill = 7 ,
  UpdateHost = 8 , CopyUSM = 10 , FillUSM = 11 , PrefetchUSM = 12 ,
  CodeplayHostTask = 14 , AdviseUSM = 15 , Copy2DUSM = 16 , Fill2DUSM = 17 ,
  Memset2DUSM = 18 , CopyToDeviceGlobal = 19 , CopyFromDeviceGlobal = 20 , ReadWriteHostPipe = 21 ,
  ExecCommandBuffer = 22 , CopyImage = 23 , SemaphoreWait = 24 , SemaphoreSignal = 25 ,
  ProfilingTag = 26
}
 Type of the command group. More...
 

Detailed Description

Definition at line 52 of file host_task_impl.hpp.

Constructor & Destructor Documentation

◆ CGHostTask()

sycl::_V1::detail::CGHostTask::CGHostTask ( std::unique_ptr< HostTask HostTask,
std::shared_ptr< detail::queue_impl Queue,
std::shared_ptr< detail::context_impl Context,
std::vector< ArgDesc Args,
CG::StorageInitHelper  CGData,
CGTYPE  Type,
detail::code_location  loc = {} 
)
inline

Definition at line 61 of file host_task_impl.hpp.

Member Data Documentation

◆ MArgs

std::vector<ArgDesc> sycl::_V1::detail::CGHostTask::MArgs

Definition at line 59 of file host_task_impl.hpp.

◆ MContext

std::shared_ptr<detail::context_impl> sycl::_V1::detail::CGHostTask::MContext

Definition at line 58 of file host_task_impl.hpp.

◆ MHostTask

std::unique_ptr<HostTask> sycl::_V1::detail::CGHostTask::MHostTask

Definition at line 54 of file host_task_impl.hpp.

Referenced by sycl::_V1::detail::isInteropHostTask().

◆ MQueue

std::shared_ptr<detail::queue_impl> sycl::_V1::detail::CGHostTask::MQueue

Definition at line 56 of file host_task_impl.hpp.

Referenced by sycl::_V1::detail::ExecCGCommand::ExecCGCommand().


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