.. _experimental-clock: ================================================================================ Clock ================================================================================ .. warning:: Experimental features: * May be replaced, updated, or removed at any time. * Do not require maintaining API/ABI stability of their own additions over time. * Do not require conformance testing of their own additions. Motivation -------------------------------------------------------------------------------- This experimental extension enables the sycl_ext_oneapi_clock feature: https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/proposed/sycl_ext_oneapi_clock.asciidoc It introduces descriptors to query sub-group/work-group/device clock support. API -------------------------------------------------------------------------------- Enums ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * :ref:`ur-device-info-t` * :ref:`UR_DEVICE_INFO_CLOCK_SUB_GROUP_SUPPORT_EXP ` * :ref:`UR_DEVICE_INFO_CLOCK_WORK_GROUP_SUPPORT_EXP ` * :ref:`UR_DEVICE_INFO_CLOCK_DEVICE_SUPPORT_EXP ` Changelog -------------------------------------------------------------------------------- +-----------+------------------------+ | Revision | Changes | +===========+========================+ | 1.0 | Initial Draft | +-----------+------------------------+ Support -------------------------------------------------------------------------------- Adapters which support this experimental feature *must* return :ref:`UR_RESULT_SUCCESS ` from the :ref:`urDeviceGetInfo` call with new :ref:`UR_DEVICE_INFO_CLOCK_SUB_GROUP_SUPPORT_EXP `\, :ref:`UR_DEVICE_INFO_CLOCK_WORK_GROUP_SUPPORT_EXP ` or :ref:`UR_DEVICE_INFO_CLOCK_DEVICE_SUPPORT_EXP ` device descriptors. Contributors -------------------------------------------------------------------------------- * Kornev, Nikita `nikita.kornev@intel.com `_