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
{{ message }}
Repository navigation
DPCTLQueue_HasProperty should be added to C-API #506
Creating a sycl::queue one can specify properties, such as in_order and/or, enable_profiling.
SyclQueue has .is_in_order method that allows to check if the queue is in order, but provides no way to query whether or not the queue enables profiling.
Having this in CAPI would enable Python API to provide a way to query this property.
Whether it should be designed to as bool DPCTLQueue_HasProperty(enum), or we should just add bool DPCTLQueue_HasInOrderProperty(void), bool DPCTLQueue_HasEnableProfilingProperty(void).
I think I would prefer the latter (lesss overhead).
Activity
oleksandr-pavlyk commentedon Aug 18, 2021
Implemented in #531 in C-API as
DPCTLQueue_HasEnableProfilingand in Python API via propertydpctl.SyclQueue.has_enable_profiling.