DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::CGExecKernel Class Reference

"Execute kernel" command group class. More...

#include <detail/cg.hpp>

Inheritance diagram for sycl::_V1::detail::CGExecKernel:
Collaboration diagram for sycl::_V1::detail::CGExecKernel:

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< ArgDescgetArguments () 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_implgetKernelBundle ()
 
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< HostKernelBaseMHostKernel
 
std::shared_ptr< detail::kernel_implMSyclKernel
 
std::shared_ptr< detail::kernel_bundle_implMKernelBundle
 
std::vector< ArgDescMArgs
 
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
 

Detailed Description

"Execute kernel" command group class.

Definition at line 246 of file cg.hpp.

Constructor & Destructor Documentation

◆ CGExecKernel() [1/2]

sycl::_V1::detail::CGExecKernel::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 = {} 
)
inline

Definition at line 261 of file cg.hpp.

◆ CGExecKernel() [2/2]

sycl::_V1::detail::CGExecKernel::CGExecKernel ( const CGExecKernel CGExec)
default

Member Function Documentation

◆ clearAuxiliaryResources()

void sycl::_V1::detail::CGExecKernel::clearAuxiliaryResources ( )
inlineoverridevirtual

Reimplemented from sycl::_V1::detail::CG.

Definition at line 295 of file cg.hpp.

◆ clearStreams()

void sycl::_V1::detail::CGExecKernel::clearStreams ( )
inline

Definition at line 301 of file cg.hpp.

◆ getArguments()

std::vector<ArgDesc> sycl::_V1::detail::CGExecKernel::getArguments ( ) const
inline

Definition at line 285 of file cg.hpp.

◆ getAuxiliaryResources()

std::vector<std::shared_ptr<const void> > sycl::_V1::detail::CGExecKernel::getAuxiliaryResources ( ) const
inlineoverridevirtual

Reimplemented from sycl::_V1::detail::CG.

Definition at line 292 of file cg.hpp.

◆ getKernelBundle()

std::shared_ptr<detail::kernel_bundle_impl> sycl::_V1::detail::CGExecKernel::getKernelBundle ( )
inline

Definition at line 297 of file cg.hpp.

Referenced by sycl::_V1::detail::retrieveKernelBinary().

◆ getKernelName()

std::string sycl::_V1::detail::CGExecKernel::getKernelName ( ) const
inline

Definition at line 286 of file cg.hpp.

◆ getStreams()

std::vector<std::shared_ptr<detail::stream_impl> > sycl::_V1::detail::CGExecKernel::getStreams ( ) const
inline

Definition at line 287 of file cg.hpp.

◆ hasStreams()

bool sycl::_V1::detail::CGExecKernel::hasStreams ( )
inline

Definition at line 302 of file cg.hpp.

Member Data Documentation

◆ MArgs

std::vector<ArgDesc> sycl::_V1::detail::CGExecKernel::MArgs

Definition at line 253 of file cg.hpp.

Referenced by sycl::_V1::detail::enqueueImpCommandBufferKernel().

◆ MAuxiliaryResources

std::vector<std::shared_ptr<const void> > sycl::_V1::detail::CGExecKernel::MAuxiliaryResources

Definition at line 256 of file cg.hpp.

◆ MHostKernel

std::shared_ptr<HostKernelBase> sycl::_V1::detail::CGExecKernel::MHostKernel

Definition at line 250 of file cg.hpp.

◆ MKernelBundle

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().

◆ MKernelCacheConfig

ur_kernel_cache_config_t sycl::_V1::detail::CGExecKernel::MKernelCacheConfig

Definition at line 257 of file cg.hpp.

◆ MKernelIsCooperative

bool sycl::_V1::detail::CGExecKernel::MKernelIsCooperative = false

Definition at line 258 of file cg.hpp.

Referenced by sycl::_V1::detail::Command::isFusable().

◆ MKernelName

std::string sycl::_V1::detail::CGExecKernel::MKernelName

Definition at line 254 of file cg.hpp.

Referenced by sycl::_V1::detail::enqueueImpCommandBufferKernel().

◆ MKernelUsesClusterLaunch

bool sycl::_V1::detail::CGExecKernel::MKernelUsesClusterLaunch = false

Definition at line 259 of file cg.hpp.

Referenced by sycl::_V1::detail::Command::isFusable().

◆ MNDRDesc

NDRDescT sycl::_V1::detail::CGExecKernel::MNDRDesc

Stores ND-range description.

Definition at line 249 of file cg.hpp.

Referenced by sycl::_V1::detail::enqueueImpCommandBufferKernel().

◆ MStreams

std::vector<std::shared_ptr<detail::stream_impl> > sycl::_V1::detail::CGExecKernel::MStreams

Definition at line 255 of file cg.hpp.

◆ MSyclKernel

std::shared_ptr<detail::kernel_impl> sycl::_V1::detail::CGExecKernel::MSyclKernel

The documentation for this class was generated from the following file: