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

Base class for all types of command groups. More...

#include <detail/cg.hpp>

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

Classes

struct  StorageInitHelper
 

Public Member Functions

 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::string MFunctionName
 
std::string MFileName
 
int32_t MLine
 
int32_t MColumn
 

Detailed Description

Base class for all types of command groups.

Definition at line 160 of file cg.hpp.

Constructor & Destructor Documentation

◆ CG() [1/3]

sycl::_V1::detail::CG::CG ( CGType  Type,
StorageInitHelper  D,
detail::code_location  loc = {} 
)
inline

Definition at line 191 of file cg.hpp.

◆ CG() [2/3]

sycl::_V1::detail::CG::CG ( CG &&  CommandGroup)
default

◆ CG() [3/3]

sycl::_V1::detail::CG::CG ( const CG CommandGroup)
default

◆ ~CG()

virtual sycl::_V1::detail::CG::~CG ( )
virtualdefault

Member Function Documentation

◆ clearAuxiliaryResources()

virtual void sycl::_V1::detail::CG::clearAuxiliaryResources ( )
inlinevirtual

Reimplemented in sycl::_V1::detail::CGCopy, and sycl::_V1::detail::CGExecKernel.

Definition at line 228 of file cg.hpp.

◆ getAccStorage()

std::vector<detail::AccessorImplPtr>& sycl::_V1::detail::CG::getAccStorage ( )
inline

Definition at line 212 of file cg.hpp.

◆ getArgsStorage()

std::vector<std::vector<char> >& sycl::_V1::detail::CG::getArgsStorage ( )
inline

Definition at line 209 of file cg.hpp.

◆ getAuxiliaryResources()

virtual std::vector<std::shared_ptr<const void> > sycl::_V1::detail::CG::getAuxiliaryResources ( ) const
inlinevirtual

Reimplemented in sycl::_V1::detail::CGCopy, and sycl::_V1::detail::CGExecKernel.

Definition at line 225 of file cg.hpp.

◆ getEvents()

std::vector<detail::EventImplPtr>& sycl::_V1::detail::CG::getEvents ( )
inline

Definition at line 222 of file cg.hpp.

◆ getRequirements()

std::vector<AccessorImplHost *>& sycl::_V1::detail::CG::getRequirements ( )
inline

Definition at line 219 of file cg.hpp.

◆ getSharedPtrStorage()

std::vector<std::shared_ptr<const void> >& sycl::_V1::detail::CG::getSharedPtrStorage ( )
inline

Definition at line 215 of file cg.hpp.

◆ getType()

CGType sycl::_V1::detail::CG::getType ( ) const
inline

Member Data Documentation

◆ MColumn

int32_t sycl::_V1::detail::CG::MColumn

Definition at line 242 of file cg.hpp.

◆ MFileName

std::string sycl::_V1::detail::CG::MFileName

Definition at line 240 of file cg.hpp.

◆ MFunctionName

std::string sycl::_V1::detail::CG::MFunctionName

Definition at line 240 of file cg.hpp.

◆ MLine

int32_t sycl::_V1::detail::CG::MLine

Definition at line 242 of file cg.hpp.


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