Base class for all types of command groups. More...
#include <sycl/detail/cg.hpp>
Public Types | |
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, Copy2DUSM = 16, Fill2DUSM = 17, Memset2DUSM = 18, CopyToDeviceGlobal = 19, CopyFromDeviceGlobal = 20 } |
Type of the command group. More... | |
Public Member Functions | |
CG (CGTYPE Type, std::vector< std::vector< char >> ArgsStorage, std::vector< detail::AccessorImplPtr > AccStorage, std::vector< std::shared_ptr< const void >> SharedPtrStorage, std::vector< AccessorImplHost * > Requirements, std::vector< detail::EventImplPtr > Events, detail::code_location loc={}) | |
CG (CG &&CommandGroup)=default | |
CGTYPE | getType () |
std::vector< std::vector< char > > & | getArgsStorage () |
std::vector< detail::AccessorImplPtr > & | getAccStorage () |
virtual | ~CG ()=default |
Public Attributes | |
std::vector< AccessorImplHost * > | MRequirements |
List of requirements that specify which memory is needed for the command group to be executed. More... | |
std::vector< detail::EventImplPtr > | MEvents |
List of events that order the execution of this CG. More... | |
std::string | MFunctionName |
std::string | MFileName |
int32_t | MLine |
int32_t | MColumn |
enum sycl::_V1::detail::CG::CGTYPE : unsigned int |
|
inline |
|
default |
|
virtualdefault |
|
inline |
|
inline |
|
inline |
Definition at line 101 of file cg.hpp.
Referenced by sycl::_V1::detail::isInteropHostTask(), and sycl::_V1::detail::DispatchHostTask::operator()().
std::vector<detail::EventImplPtr> sycl::_V1::detail::CG::MEvents |
std::vector<AccessorImplHost *> sycl::_V1::detail::CG::MRequirements |