Skip to content

Commit

Permalink
Formatting and cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
  • Loading branch information
sarnex committed Aug 17, 2023
1 parent 98ebdf5 commit fe63e49
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions include/ur.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion include/ur_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion source/common/ur_params.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fe63e49

Please sign in to comment.