Base class for all types of command groups. More...
#include <CL/sycl/detail/cg.hpp>
Public Types | |
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 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< 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 |
Public Attributes | |
std::vector< Requirement * > | 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 |
|
strong |
enum cl::sycl::detail::CG::CGTYPE : unsigned int |
|
inline |
|
default |
|
virtualdefault |
|
inline |
Definition at line 203 of file cg.hpp.
References cl::sycl::detail::convertToExtendedMembers(), and cl::sycl::detail::getCGTypeVersion().
|
inline |
Definition at line 197 of file cg.hpp.
References cl::sycl::detail::getUnversionedCGType().
Referenced by cl::sycl::detail::DispatchHostTask::operator()().
|
inline |
Definition at line 199 of file cg.hpp.
References cl::sycl::detail::getCGTypeVersion().
std::vector<detail::EventImplPtr> cl::sycl::detail::CG::MEvents |
std::vector<Requirement *> cl::sycl::detail::CG::MRequirements |