Base class for all types of command groups. More...
#include <sycl/detail/cg.hpp>
Classes | |
struct | StorageInitHelper |
Public Types | |
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 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 |
enum sycl::_V1::detail::CG::CGTYPE : unsigned int |
Type of the command group.
|
inline |
|
default |
|
default |
|
virtualdefault |
|
inlinevirtual |
Reimplemented in sycl::_V1::detail::CGCopy, and sycl::_V1::detail::CGExecKernel.
|
inline |
Definition at line 133 of file cg.hpp.
References sycl::_V1::detail::CG::StorageInitHelper::MAccStorage.
|
inline |
Definition at line 130 of file cg.hpp.
References sycl::_V1::detail::CG::StorageInitHelper::MArgsStorage.
|
inlinevirtual |
Reimplemented in sycl::_V1::detail::CGCopy, and sycl::_V1::detail::CGExecKernel.
|
inline |
Definition at line 143 of file cg.hpp.
References sycl::_V1::detail::CG::StorageInitHelper::MEvents.
|
inline |
Definition at line 140 of file cg.hpp.
References sycl::_V1::detail::CG::StorageInitHelper::MRequirements.
|
inline |
Definition at line 136 of file cg.hpp.
References sycl::_V1::detail::CG::StorageInitHelper::MSharedPtrStorage.
|
inline |
Definition at line 128 of file cg.hpp.
Referenced by sycl::_V1::detail::Command::isFusable(), sycl::_V1::detail::isInteropHostTask(), and sycl::_V1::detail::DispatchHostTask::operator()().