Skip to content

Commit fe63e49

Browse files
committed
Formatting and cleanup
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
1 parent 98ebdf5 commit fe63e49

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

include/ur.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -827,8 +827,7 @@ class ur_device_info_v(IntEnum):
827827
## is implementation-defined, but newer devices should have a higher
828828
## version than older devices.
829829
VIRTUAL_MEMORY_SUPPORT = 114 ## [::ur_bool_t] return true if the device supports virtual memory.
830-
ESIMD_SUPPORT = 115 ## [::ur_bool_t] returns true if the device supports ESIMD.
831-
830+
ESIMD_SUPPORT = 115 ## [::ur_bool_t] return true if the device supports ESIMD.
832831
BINDLESS_IMAGES_SUPPORT_EXP = 0x2000 ## [::ur_bool_t] returns true if the device supports the creation of
833832
## bindless images
834833
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):
861860
## semaphore resources
862861
INTEROP_SEMAPHORE_EXPORT_SUPPORT_EXP = 0x200F ## [::ur_bool_t] returns true if the device supports exporting internal
863862
## event resources
864-
ESIMD_SUPPORT_EXP = 0x2010 ## [::ur_bool_t] returns true if the device supports ESIMD
865863

866864
class ur_device_info_t(c_int):
867865
def __str__(self):

include/ur_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1454,7 +1454,7 @@ typedef enum ur_device_info_t {
14541454
///< is implementation-defined, but newer devices should have a higher
14551455
///< version than older devices.
14561456
UR_DEVICE_INFO_VIRTUAL_MEMORY_SUPPORT = 114, ///< [::ur_bool_t] return true if the device supports virtual memory.
1457-
UR_DEVICE_INFO_ESIMD_SUPPORT = 115, ///< [::ur_bool_t] returns true if the device supports ESIMD.
1457+
UR_DEVICE_INFO_ESIMD_SUPPORT = 115, ///< [::ur_bool_t] return true if the device supports ESIMD.
14581458
UR_DEVICE_INFO_BINDLESS_IMAGES_SUPPORT_EXP = 0x2000, ///< [::ur_bool_t] returns true if the device supports the creation of
14591459
///< bindless images
14601460
UR_DEVICE_INFO_BINDLESS_IMAGES_SHARED_USM_SUPPORT_EXP = 0x2001, ///< [::ur_bool_t] returns true if the device supports the creation of

source/common/ur_params.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2839,7 +2839,6 @@ inline std::ostream &operator<<(std::ostream &os, enum ur_device_info_t value) {
28392839
case UR_DEVICE_INFO_INTEROP_SEMAPHORE_EXPORT_SUPPORT_EXP:
28402840
os << "UR_DEVICE_INFO_INTEROP_SEMAPHORE_EXPORT_SUPPORT_EXP";
28412841
break;
2842-
28432842
default:
28442843
os << "unknown enumerator";
28452844
break;

0 commit comments

Comments
 (0)