-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a new DPCTLEvent_GetCommandExecutionStatus function #516
Add a new DPCTLEvent_GetCommandExecutionStatus function #516
Conversation
@@ -196,3 +196,16 @@ DPCTLPartitionAffinityDomainType DPCTL_SyclPartitionAffinityDomainToDPCTLType( | |||
*/ | |||
DPCTL_API | |||
int64_t DPCTL_GetRelativeDeviceId(const sycl::device &Device); | |||
|
|||
/*! | |||
* @brief Converts a sycl::info::event_command_status enum value to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @brief Converts a sycl::info::event_command_status enum value to | |
* @brief Converts a ``sycl::info::event_command_status`` enum value to |
* @brief Converts a sycl::info::event_command_status enum value to | ||
* corresponding DPCTLSyclEventStatusType enum value. | ||
* | ||
* @param SyclESTy sycl::info::event_command_status to be converted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param SyclESTy sycl::info::event_command_status to be converted | |
* @param SyclESTy ``sycl::info::event_command_status`` to be converted |
* @param SyclESTy sycl::info::event_command_status to be converted | ||
* to DPCTLSyclEventStatusType enum. | ||
* @return A DPCTLSyclEventStatusType enum value for the input | ||
* sycl::info::event_command_status enum value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* sycl::info::event_command_status enum value. | |
* ``sycl::info::event_command_status`` enum value. |
* @brief Returns the DPCTLSyclEventStatusType enum value for the | ||
* DPCTLSyclEventRef argument. | ||
* | ||
* @param ERef Opaque pointer to a sycl::event |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param ERef Opaque pointer to a sycl::event | |
* @param ERef Opaque pointer to a ``sycl::event`` |
2c4172c
to
40a90c8
Compare
40a90c8
to
9aff276
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @vlad-perevezentsev
This PR
DPCTLEvent_GetCommandExecutionStatus
function, which returns the value of theDPCTLSyclEventStatusType
enumeration for the DPCTLSyclEventRef argument.DPCTLSyclEventStatusType
enumeration for all types from the SYCL specificationDPCTL_SyclEventStatusToDPCTLEventStatusType
converter function fromsycl:: info
toDPCTLSyclEventStatusType
enumeration types