"Execute kernel" command group class. More...
#include <detail/cg.hpp>
Public Member Functions | |
CGExecKernel (NDRDescT NDRDesc, std::shared_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, std::vector< std::shared_ptr< detail::stream_impl >> Streams, std::vector< std::shared_ptr< const void >> AuxiliaryResources, CGType Type, ur_kernel_cache_config_t KernelCacheConfig, bool KernelIsCooperative, bool MKernelUsesClusterLaunch, detail::code_location loc={}) | |
CGExecKernel (const CGExecKernel &CGExec)=default | |
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 override |
void | clearAuxiliaryResources () override |
std::shared_ptr< detail::kernel_bundle_impl > | getKernelBundle () |
void | clearStreams () |
bool | hasStreams () |
Public Member Functions inherited from sycl::_V1::detail::CG | |
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 | ~CG ()=default |
Public Attributes | |
NDRDescT | MNDRDesc |
Stores ND-range description. More... | |
std::shared_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 |
std::vector< std::shared_ptr< detail::stream_impl > > | MStreams |
std::vector< std::shared_ptr< const void > > | MAuxiliaryResources |
ur_kernel_cache_config_t | MKernelCacheConfig |
bool | MKernelIsCooperative = false |
bool | MKernelUsesClusterLaunch = false |
Public Attributes inherited from sycl::_V1::detail::CG | |
std::string | MFunctionName |
std::string | MFileName |
int32_t | MLine |
int32_t | MColumn |
|
inline |
|
default |
|
inlineoverridevirtual |
Reimplemented from sycl::_V1::detail::CG.
|
inline |
|
inline |
|
inlineoverridevirtual |
Reimplemented from sycl::_V1::detail::CG.
|
inline |
Definition at line 297 of file cg.hpp.
Referenced by sycl::_V1::detail::retrieveKernelBinary().
|
inline |
|
inline |
std::vector<ArgDesc> sycl::_V1::detail::CGExecKernel::MArgs |
Definition at line 253 of file cg.hpp.
Referenced by sycl::_V1::detail::enqueueImpCommandBufferKernel().
std::vector<std::shared_ptr<const void> > sycl::_V1::detail::CGExecKernel::MAuxiliaryResources |
std::shared_ptr<HostKernelBase> sycl::_V1::detail::CGExecKernel::MHostKernel |
std::shared_ptr<detail::kernel_bundle_impl> sycl::_V1::detail::CGExecKernel::MKernelBundle |
Definition at line 252 of file cg.hpp.
Referenced by sycl::_V1::detail::enqueueImpCommandBufferKernel().
ur_kernel_cache_config_t sycl::_V1::detail::CGExecKernel::MKernelCacheConfig |
bool sycl::_V1::detail::CGExecKernel::MKernelIsCooperative = false |
Definition at line 258 of file cg.hpp.
Referenced by sycl::_V1::detail::Command::isFusable().
std::string sycl::_V1::detail::CGExecKernel::MKernelName |
Definition at line 254 of file cg.hpp.
Referenced by sycl::_V1::detail::enqueueImpCommandBufferKernel().
bool sycl::_V1::detail::CGExecKernel::MKernelUsesClusterLaunch = false |
Definition at line 259 of file cg.hpp.
Referenced by sycl::_V1::detail::Command::isFusable().
NDRDescT sycl::_V1::detail::CGExecKernel::MNDRDesc |
Stores ND-range description.
Definition at line 249 of file cg.hpp.
Referenced by sycl::_V1::detail::enqueueImpCommandBufferKernel().
std::vector<std::shared_ptr<detail::stream_impl> > sycl::_V1::detail::CGExecKernel::MStreams |
std::shared_ptr<detail::kernel_impl> sycl::_V1::detail::CGExecKernel::MSyclKernel |
Definition at line 251 of file cg.hpp.
Referenced by sycl::_V1::detail::enqueueImpCommandBufferKernel(), and sycl::_V1::detail::retrieveKernelBinary().