DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::detail::CGCopyUSM Class Reference

"Copy USM" command group class. More...

#include <CL/sycl/detail/cg.hpp>

Inheritance diagram for cl::sycl::detail::CGCopyUSM:
Collaboration diagram for cl::sycl::detail::CGCopyUSM:

Public Member Functions

 CGCopyUSM (void *Src, void *Dst, size_t Length, std::vector< std::vector< char >> ArgsStorage, std::vector< detail::AccessorImplPtr > AccStorage, std::vector< std::shared_ptr< const void >> SharedPtrStorage, std::vector< Requirement * > Requirements, std::vector< detail::EventImplPtr > Events, detail::code_location loc={})
 
void * getSrc ()
 
void * getDst ()
 
size_t getLength ()
 
- Public Member Functions inherited from cl::sycl::detail::CG
 CG (CGTYPE Type, std::vector< std::vector< char >> ArgsStorage, std::vector< detail::AccessorImplPtr > AccStorage, std::vector< std::shared_ptr< const void >> SharedPtrStorage, std::vector< Requirement * > Requirements, std::vector< detail::EventImplPtr > Events, detail::code_location loc={})
 
 CG (CG &&CommandGroup)=default
 
CGTYPE getType ()
 
CG_VERSION getVersion ()
 
std::shared_ptr< std::vector< ExtendedMemberT > > getExtendedMembers ()
 
virtual ~CG ()=default
 

Additional Inherited Members

- Public Types inherited from cl::sycl::detail::CG
enum  CG_VERSION : unsigned char { CG_VERSION::V0 = 0, CG_VERSION::V1 = 1 }
 
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
}
 Type of the command group. More...
 
- Public Attributes inherited from cl::sycl::detail::CG
std::vector< Requirement * > MRequirements
 List of requirements that specify which memory is needed for the command group to be executed. More...
 
std::vector< detail::EventImplPtrMEvents
 List of events that order the execution of this CG. More...
 
std::string MFunctionName
 
std::string MFileName
 
int32_t MLine
 
int32_t MColumn
 

Detailed Description

"Copy USM" command group class.

Definition at line 367 of file cg.hpp.

Constructor & Destructor Documentation

◆ CGCopyUSM()

cl::sycl::detail::CGCopyUSM::CGCopyUSM ( void *  Src,
void *  Dst,
size_t  Length,
std::vector< std::vector< char >>  ArgsStorage,
std::vector< detail::AccessorImplPtr AccStorage,
std::vector< std::shared_ptr< const void >>  SharedPtrStorage,
std::vector< Requirement * >  Requirements,
std::vector< detail::EventImplPtr Events,
detail::code_location  loc = {} 
)
inline

Definition at line 373 of file cg.hpp.

Member Function Documentation

◆ getDst()

void* cl::sycl::detail::CGCopyUSM::getDst ( )
inline

Definition at line 386 of file cg.hpp.

◆ getLength()

size_t cl::sycl::detail::CGCopyUSM::getLength ( )
inline

Definition at line 387 of file cg.hpp.

◆ getSrc()

void* cl::sycl::detail::CGCopyUSM::getSrc ( )
inline

Definition at line 385 of file cg.hpp.


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