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
 
 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
}
 Type of the command group. More...
 

Detailed Description

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

Member Data Documentation

◆ MArgs

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

Definition at line 343 of file cg.hpp.

◆ MContext

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

Definition at line 342 of file cg.hpp.

◆ MHostTask

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

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

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


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