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

"Copy memory" command group class. More...

#include <sycl/detail/cg.hpp>

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

Public Member Functions

 CGCopy (CGTYPE CopyType, void *Src, void *Dst, CG::StorageInitHelper CGData, std::vector< std::shared_ptr< const void >> AuxiliaryResources, detail::code_location loc={})
 
void * getSrc ()
 
void * getDst ()
 
std::vector< std::shared_ptr< const void > > getAuxiliaryResources () const override
 
void clearAuxiliaryResources () override
 
- 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 ~CG ()=default
 

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...
 
- Public Attributes inherited from sycl::_V1::detail::CG
std::string MFunctionName
 
std::string MFileName
 
int32_t MLine
 
int32_t MColumn
 

Detailed Description

"Copy memory" command group class.

Definition at line 225 of file cg.hpp.

Constructor & Destructor Documentation

◆ CGCopy()

sycl::_V1::detail::CGCopy::CGCopy ( CGTYPE  CopyType,
void *  Src,
void *  Dst,
CG::StorageInitHelper  CGData,
std::vector< std::shared_ptr< const void >>  AuxiliaryResources,
detail::code_location  loc = {} 
)
inline

Definition at line 231 of file cg.hpp.

Member Function Documentation

◆ clearAuxiliaryResources()

void sycl::_V1::detail::CGCopy::clearAuxiliaryResources ( )
inlineoverridevirtual

Reimplemented from sycl::_V1::detail::CG.

Definition at line 243 of file cg.hpp.

◆ getAuxiliaryResources()

std::vector<std::shared_ptr<const void> > sycl::_V1::detail::CGCopy::getAuxiliaryResources ( ) const
inlineoverridevirtual

Reimplemented from sycl::_V1::detail::CG.

Definition at line 240 of file cg.hpp.

◆ getDst()

void* sycl::_V1::detail::CGCopy::getDst ( )
inline

Definition at line 237 of file cg.hpp.

◆ getSrc()

void* sycl::_V1::detail::CGCopy::getSrc ( )
inline

Definition at line 236 of file cg.hpp.


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