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

#include <detail/handler_impl.hpp>

Collaboration diagram for sycl::_V1::detail::handler_impl:

Public Member Functions

 handler_impl (std::shared_ptr< queue_impl > SubmissionPrimaryQueue, std::shared_ptr< queue_impl > SubmissionSecondaryQueue)
 
 handler_impl ()=default
 
void setStateExplicitKernelBundle ()
 
void setStateSpecConstSet ()
 
bool isStateExplicitKernelBundle () const
 

Public Attributes

HandlerSubmissionState MSubmissionState = HandlerSubmissionState::NO_STATE
 Registers mutually exclusive submission states. More...
 
std::shared_ptr< queue_implMSubmissionPrimaryQueue
 Shared pointer to the primary queue implementation. More...
 
std::shared_ptr< queue_implMSubmissionSecondaryQueue
 Shared pointer to the secondary queue implementation. More...
 
std::vector< std::shared_ptr< const void > > MAuxiliaryResources
 
std::shared_ptr< detail::kernel_bundle_implMKernelBundle
 
pi_mem_advice MAdvice
 
size_t MSrcPitch
 
size_t MDstPitch
 
size_t MWidth
 
size_t MHeight
 
size_t MOffset = 0
 Offset into a device_global for copy operations. More...
 
bool MIsDeviceImageScoped = false
 Boolean flag for whether the device_global had the device_image_scope property. More...
 
std::string HostPipeName
 
void * HostPipePtr = nullptr
 
bool HostPipeBlocking = false
 
size_t HostPipeTypeSize = 0
 
bool HostPipeRead = true
 
sycl::detail::pi::PiKernelCacheConfig MKernelCacheConfig
 
sycl::detail::pi::PiMemImageDesc MImageDesc
 
sycl::detail::pi::PiMemImageFormat MImageFormat
 
sycl::detail::pi::PiImageCopyFlags MImageCopyFlags
 
sycl::detail::pi::PiImageOffset MSrcOffset
 
sycl::detail::pi::PiImageOffset MDestOffset
 
sycl::detail::pi::PiImageRegion MHostExtent
 
sycl::detail::pi::PiImageRegion MCopyExtent
 
sycl::detail::pi::PiInteropSemaphoreHandle MInteropSemaphoreHandle
 
sycl::ext::oneapi::experimental::node_type MUserFacingNodeType
 

Detailed Description

Definition at line 28 of file handler_impl.hpp.

Constructor & Destructor Documentation

◆ handler_impl() [1/2]

sycl::_V1::detail::handler_impl::handler_impl ( std::shared_ptr< queue_impl SubmissionPrimaryQueue,
std::shared_ptr< queue_impl SubmissionSecondaryQueue 
)
inline

Definition at line 30 of file handler_impl.hpp.

◆ handler_impl() [2/2]

sycl::_V1::detail::handler_impl::handler_impl ( )
default

Member Function Documentation

◆ isStateExplicitKernelBundle()

bool sycl::_V1::detail::handler_impl::isStateExplicitKernelBundle ( ) const
inline

◆ setStateExplicitKernelBundle()

void sycl::_V1::detail::handler_impl::setStateExplicitKernelBundle ( )
inline

◆ setStateSpecConstSet()

void sycl::_V1::detail::handler_impl::setStateSpecConstSet ( )
inline

Member Data Documentation

◆ HostPipeBlocking

bool sycl::_V1::detail::handler_impl::HostPipeBlocking = false

Definition at line 100 of file handler_impl.hpp.

◆ HostPipeName

std::string sycl::_V1::detail::handler_impl::HostPipeName

Definition at line 96 of file handler_impl.hpp.

◆ HostPipePtr

void* sycl::_V1::detail::handler_impl::HostPipePtr = nullptr

Definition at line 98 of file handler_impl.hpp.

◆ HostPipeRead

bool sycl::_V1::detail::handler_impl::HostPipeRead = true

Definition at line 104 of file handler_impl.hpp.

◆ HostPipeTypeSize

size_t sycl::_V1::detail::handler_impl::HostPipeTypeSize = 0

Definition at line 102 of file handler_impl.hpp.

◆ MAdvice

pi_mem_advice sycl::_V1::detail::handler_impl::MAdvice

Definition at line 79 of file handler_impl.hpp.

◆ MAuxiliaryResources

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

Definition at line 75 of file handler_impl.hpp.

◆ MCopyExtent

sycl::detail::pi::PiImageRegion sycl::_V1::detail::handler_impl::MCopyExtent

Definition at line 117 of file handler_impl.hpp.

◆ MDestOffset

sycl::detail::pi::PiImageOffset sycl::_V1::detail::handler_impl::MDestOffset

Definition at line 115 of file handler_impl.hpp.

◆ MDstPitch

size_t sycl::_V1::detail::handler_impl::MDstPitch

Definition at line 83 of file handler_impl.hpp.

◆ MHeight

size_t sycl::_V1::detail::handler_impl::MHeight

Definition at line 85 of file handler_impl.hpp.

◆ MHostExtent

sycl::detail::pi::PiImageRegion sycl::_V1::detail::handler_impl::MHostExtent

Definition at line 116 of file handler_impl.hpp.

◆ MImageCopyFlags

sycl::detail::pi::PiImageCopyFlags sycl::_V1::detail::handler_impl::MImageCopyFlags

Definition at line 112 of file handler_impl.hpp.

◆ MImageDesc

sycl::detail::pi::PiMemImageDesc sycl::_V1::detail::handler_impl::MImageDesc

Definition at line 110 of file handler_impl.hpp.

◆ MImageFormat

sycl::detail::pi::PiMemImageFormat sycl::_V1::detail::handler_impl::MImageFormat

Definition at line 111 of file handler_impl.hpp.

◆ MInteropSemaphoreHandle

sycl::detail::pi::PiInteropSemaphoreHandle sycl::_V1::detail::handler_impl::MInteropSemaphoreHandle

Definition at line 120 of file handler_impl.hpp.

◆ MIsDeviceImageScoped

bool sycl::_V1::detail::handler_impl::MIsDeviceImageScoped = false

Boolean flag for whether the device_global had the device_image_scope property.

Definition at line 91 of file handler_impl.hpp.

◆ MKernelBundle

std::shared_ptr<detail::kernel_bundle_impl> sycl::_V1::detail::handler_impl::MKernelBundle

Definition at line 77 of file handler_impl.hpp.

◆ MKernelCacheConfig

sycl::detail::pi::PiKernelCacheConfig sycl::_V1::detail::handler_impl::MKernelCacheConfig
Initial value:
=
@ PI_EXT_KERNEL_EXEC_INFO_CACHE_DEFAULT
Definition: pi.h:781

Definition at line 106 of file handler_impl.hpp.

◆ MOffset

size_t sycl::_V1::detail::handler_impl::MOffset = 0

Offset into a device_global for copy operations.

Definition at line 88 of file handler_impl.hpp.

◆ MSrcOffset

sycl::detail::pi::PiImageOffset sycl::_V1::detail::handler_impl::MSrcOffset

Definition at line 114 of file handler_impl.hpp.

◆ MSrcPitch

size_t sycl::_V1::detail::handler_impl::MSrcPitch

Definition at line 82 of file handler_impl.hpp.

◆ MSubmissionPrimaryQueue

std::shared_ptr<queue_impl> sycl::_V1::detail::handler_impl::MSubmissionPrimaryQueue

Shared pointer to the primary queue implementation.

This is different from the queue associated with the handler if the corresponding submission is a fallback from a previous submission.

Definition at line 66 of file handler_impl.hpp.

◆ MSubmissionSecondaryQueue

std::shared_ptr<queue_impl> sycl::_V1::detail::handler_impl::MSubmissionSecondaryQueue

Shared pointer to the secondary queue implementation.

Nullptr if no secondary queue fallback was given in the associated submission. This is equal to the queue associated with the handler if the corresponding submission is a fallback from a previous submission.

Definition at line 72 of file handler_impl.hpp.

◆ MSubmissionState

HandlerSubmissionState sycl::_V1::detail::handler_impl::MSubmissionState = HandlerSubmissionState::NO_STATE

Registers mutually exclusive submission states.

Definition at line 61 of file handler_impl.hpp.

Referenced by isStateExplicitKernelBundle(), setStateExplicitKernelBundle(), and setStateSpecConstSet().

◆ MUserFacingNodeType

sycl::ext::oneapi::experimental::node_type sycl::_V1::detail::handler_impl::MUserFacingNodeType

◆ MWidth

size_t sycl::_V1::detail::handler_impl::MWidth

Definition at line 84 of file handler_impl.hpp.


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