"Execute kernel" command group class. More...
#include <sycl/detail/cg.hpp>
Public Member Functions | |
CGExecKernel (NDRDescT NDRDesc, std::unique_ptr< HostKernelBase > HKernel, std::shared_ptr< detail::kernel_impl > SyclKernel, std::shared_ptr< detail::kernel_bundle_impl > KernelBundle, CG::StorageInitHelper CGData, std::vector< ArgDesc > Args, std::string KernelName, detail::OSModuleHandle OSModuleHandle, std::vector< std::shared_ptr< detail::stream_impl >> Streams, std::vector< std::shared_ptr< const void >> AuxiliaryResources, CGTYPE Type, RT::PiKernelCacheConfig KernelCacheConfig, detail::code_location loc={}) | |
std::vector< ArgDesc > | getArguments () const |
std::string | getKernelName () const |
std::vector< std::shared_ptr< detail::stream_impl > > | getStreams () const |
std::vector< std::shared_ptr< const void > > | getAuxiliaryResources () const |
std::shared_ptr< detail::kernel_bundle_impl > | getKernelBundle () |
void | clearStreams () |
bool | hasStreams () |
void | clearAuxiliaryResources () |
bool | hasAuxiliaryResources () |
![]() | |
CG (CGTYPE Type, StorageInitHelper D, detail::code_location loc={}) | |
CG (CG &&CommandGroup)=default | |
CGTYPE | getType () |
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 | ~CG ()=default |
Public Attributes | |
NDRDescT | MNDRDesc |
Stores ND-range description. More... | |
std::unique_ptr< HostKernelBase > | MHostKernel |
std::shared_ptr< detail::kernel_impl > | MSyclKernel |
std::shared_ptr< detail::kernel_bundle_impl > | MKernelBundle |
std::vector< ArgDesc > | MArgs |
std::string | MKernelName |
detail::OSModuleHandle | MOSModuleHandle |
std::vector< std::shared_ptr< detail::stream_impl > > | MStreams |
std::vector< std::shared_ptr< const void > > | MAuxiliaryResources |
RT::PiKernelCacheConfig | MKernelCacheConfig |
![]() | |
std::string | MFunctionName |
std::string | MFileName |
int32_t | MLine |
int32_t | MColumn |
Additional Inherited Members | |
![]() | |
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, ReadWriteHostPipe = 21 } |
Type of the command group. More... | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 187 of file cg.hpp.
Referenced by sycl::_V1::detail::Scheduler::addCG().
|
inline |
std::vector<std::shared_ptr<const void> > sycl::_V1::detail::CGExecKernel::MAuxiliaryResources |
std::unique_ptr<HostKernelBase> sycl::_V1::detail::CGExecKernel::MHostKernel |
std::shared_ptr<detail::kernel_bundle_impl> sycl::_V1::detail::CGExecKernel::MKernelBundle |
RT::PiKernelCacheConfig sycl::_V1::detail::CGExecKernel::MKernelCacheConfig |
NDRDescT sycl::_V1::detail::CGExecKernel::MNDRDesc |
detail::OSModuleHandle sycl::_V1::detail::CGExecKernel::MOSModuleHandle |
std::vector<std::shared_ptr<detail::stream_impl> > sycl::_V1::detail::CGExecKernel::MStreams |
std::shared_ptr<detail::kernel_impl> sycl::_V1::detail::CGExecKernel::MSyclKernel |