From fe63e4929260838d6acc0d402a773c23f7927387 Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Thu, 17 Aug 2023 08:29:51 -0700 Subject: [PATCH] Formatting and cleanup Signed-off-by: Sarnie, Nick --- include/ur.py | 4 +--- include/ur_api.h | 2 +- source/common/ur_params.hpp | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/ur.py b/include/ur.py index 041478317c..004a24ba6b 100644 --- a/include/ur.py +++ b/include/ur.py @@ -827,8 +827,7 @@ class ur_device_info_v(IntEnum): ## is implementation-defined, but newer devices should have a higher ## version than older devices. VIRTUAL_MEMORY_SUPPORT = 114 ## [::ur_bool_t] return true if the device supports virtual memory. - ESIMD_SUPPORT = 115 ## [::ur_bool_t] returns true if the device supports ESIMD. - + ESIMD_SUPPORT = 115 ## [::ur_bool_t] return true if the device supports ESIMD. BINDLESS_IMAGES_SUPPORT_EXP = 0x2000 ## [::ur_bool_t] returns true if the device supports the creation of ## bindless images BINDLESS_IMAGES_SHARED_USM_SUPPORT_EXP = 0x2001 ## [::ur_bool_t] returns true if the device supports the creation of @@ -861,7 +860,6 @@ class ur_device_info_v(IntEnum): ## semaphore resources INTEROP_SEMAPHORE_EXPORT_SUPPORT_EXP = 0x200F ## [::ur_bool_t] returns true if the device supports exporting internal ## event resources - ESIMD_SUPPORT_EXP = 0x2010 ## [::ur_bool_t] returns true if the device supports ESIMD class ur_device_info_t(c_int): def __str__(self): diff --git a/include/ur_api.h b/include/ur_api.h index 802b80ac5f..45ff3822ce 100644 --- a/include/ur_api.h +++ b/include/ur_api.h @@ -1454,7 +1454,7 @@ typedef enum ur_device_info_t { ///< is implementation-defined, but newer devices should have a higher ///< version than older devices. UR_DEVICE_INFO_VIRTUAL_MEMORY_SUPPORT = 114, ///< [::ur_bool_t] return true if the device supports virtual memory. - UR_DEVICE_INFO_ESIMD_SUPPORT = 115, ///< [::ur_bool_t] returns true if the device supports ESIMD. + UR_DEVICE_INFO_ESIMD_SUPPORT = 115, ///< [::ur_bool_t] return true if the device supports ESIMD. UR_DEVICE_INFO_BINDLESS_IMAGES_SUPPORT_EXP = 0x2000, ///< [::ur_bool_t] returns true if the device supports the creation of ///< bindless images UR_DEVICE_INFO_BINDLESS_IMAGES_SHARED_USM_SUPPORT_EXP = 0x2001, ///< [::ur_bool_t] returns true if the device supports the creation of diff --git a/source/common/ur_params.hpp b/source/common/ur_params.hpp index c4486eca2c..366df502b7 100644 --- a/source/common/ur_params.hpp +++ b/source/common/ur_params.hpp @@ -2839,7 +2839,6 @@ inline std::ostream &operator<<(std::ostream &os, enum ur_device_info_t value) { case UR_DEVICE_INFO_INTEROP_SEMAPHORE_EXPORT_SUPPORT_EXP: os << "UR_DEVICE_INFO_INTEROP_SEMAPHORE_EXPORT_SUPPORT_EXP"; break; - default: os << "unknown enumerator"; break;