@@ -1580,26 +1580,17 @@ class device_impl : public std::enable_shared_from_this<device_impl> {
15801580 UR_DEVICE_INFO_MEMORY_EXPORT_EXPORTABLE_DEVICE_MEM_EXP>()
15811581 .value_or (0 );
15821582 }
1583- else if constexpr (Aspect == aspect::ext_oneapi_clock_sub_group ||
1584- Aspect == aspect::ext_oneapi_clock_work_group ||
1585- Aspect == aspect::ext_oneapi_clock_device) {
1586- detail::adapter_impl &Adapter = getAdapter ();
1587- uint32_t ipVersion = 0 ;
1588- auto res = Adapter.call_nocheck <detail::UrApiKind::urDeviceGetInfo>(
1589- getHandleRef (), UR_DEVICE_INFO_IP_VERSION, sizeof (uint32_t ),
1590- &ipVersion, nullptr );
1591- if (res != UR_RESULT_SUCCESS)
1592- return false ;
1593- std::string Feature;
1594- if (Aspect == aspect::ext_oneapi_clock_sub_group) {
1595- Feature = " __opencl_c_kernel_clock_scope_sub_group" ;
1596- } else if (Aspect == aspect::ext_oneapi_clock_work_group) {
1597- Feature = " __opencl_c_kernel_clock_scope_work_group" ;
1598- } else if (Aspect == aspect::ext_oneapi_clock_device) {
1599- Feature = " __opencl_c_kernel_clock_scope_device" ;
1600- }
1601- return ext::oneapi::experimental::detail::OpenCLC_Feature_Available (
1602- std::string (Feature), ipVersion);
1583+ CASE (ext_oneapi_clock_sub_group) {
1584+ // Will be updated in a follow-up UR patch.
1585+ return false ;
1586+ }
1587+ CASE (ext_oneapi_clock_work_group) {
1588+ // Will be updated in a follow-up UR patch.
1589+ return false ;
1590+ }
1591+ CASE (ext_oneapi_clock_device) {
1592+ // Will be updated in a follow-up UR patch.
1593+ return false ;
16031594 }
16041595 else {
16051596 return false ; // This device aspect has not been implemented yet.
0 commit comments