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

#include <detail/handler_impl.hpp>

Collaboration diagram for cl::sycl::detail::handler_impl:

Public Member Functions

 handler_impl (std::shared_ptr< queue_impl > SubmissionPrimaryQueue, std::shared_ptr< queue_impl > SubmissionSecondaryQueue)
 
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
 

Detailed Description

Definition at line 25 of file handler_impl.hpp.

Constructor & Destructor Documentation

◆ handler_impl()

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

Definition at line 27 of file handler_impl.hpp.

Member Function Documentation

◆ isStateExplicitKernelBundle()

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

Definition at line 50 of file handler_impl.hpp.

◆ setStateExplicitKernelBundle()

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

Definition at line 32 of file handler_impl.hpp.

References cl::sycl::make_error_code().

◆ setStateSpecConstSet()

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

Definition at line 41 of file handler_impl.hpp.

References cl::sycl::make_error_code().

Member Data Documentation

◆ MAuxiliaryResources

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

Definition at line 70 of file handler_impl.hpp.

◆ MSubmissionPrimaryQueue

std::shared_ptr<queue_impl> cl::sycl::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 61 of file handler_impl.hpp.

◆ MSubmissionSecondaryQueue

std::shared_ptr<queue_impl> cl::sycl::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 67 of file handler_impl.hpp.

◆ MSubmissionState

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

Registers mutually exclusive submission states.

Definition at line 56 of file handler_impl.hpp.


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