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

#include <sycl/detail/cg.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
 
CGTYPE getType ()
 
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 ~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, RunOnHostIntel = 9, CopyUSM = 10, FillUSM = 11,
  PrefetchUSM = 12, CodeplayInteropTask = 13, CodeplayHostTask = 14, AdviseUSM = 15,
  Copy2DUSM = 16, Fill2DUSM = 17, Memset2DUSM = 18, CopyToDeviceGlobal = 19,
  CopyFromDeviceGlobal = 20, ReadWriteHostPipe = 21
}
 Type of the command group. More...
 

Detailed Description

Definition at line 320 of file cg.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 329 of file cg.hpp.

Member Data Documentation

◆ MArgs

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

Definition at line 327 of file cg.hpp.

◆ MContext

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

Definition at line 326 of file cg.hpp.

◆ MHostTask

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

Definition at line 322 of file cg.hpp.

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

◆ MQueue

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

Definition at line 324 of file cg.hpp.

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


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