You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue deals with extending the C-API to support sycl::event. The sub-tasks include:
Add a new function DPCTLEvent_Copy to create a copy of a sycl::event. Look at existing implementation of DPCTLQueue_CopyAdd a new DPCTLEvent_Copy function #504 .
Add a new function DPCTLEvent_GetCommandExecutionStatus(ERef) to wrap sycl::event::get_info<sycl::info::event::command_execution_status>() returning an enum class event_command_status : int { submitted, running, complete}. Add a new DPCTLEvent_GetCommandExecutionStatus function #516
sycl::event::get_profiling_info<sycl::info::event_profiling::command_end>()
All these functions will return a uint64_t value of device timer corresponding to the logged time of referenced operations. These are blocking operations (i.e. wait on the event), and throw sycl::invalid_object_code if the queue that created the event did not have profiling enabled. Add 3 new functions for sycl::event::get_profiling_info #519
Activity
oleksandr-pavlyk commentedon Aug 13, 2021
These were merged to dpctl main branch. Resolving.