File tree 2 files changed +2
-1
lines changed
test/conformance/testing/include/uur
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1480,7 +1480,7 @@ urDeviceGetSelected(
1480
1480
typedef enum ur_device_info_t {
1481
1481
UR_DEVICE_INFO_TYPE = 0, ///< [::ur_device_type_t] type of the device
1482
1482
UR_DEVICE_INFO_VENDOR_ID = 1, ///< [uint32_t] vendor Id of the device
1483
- UR_DEVICE_INFO_DEVICE_ID = 2, ///< [uint32_t] Id of the device
1483
+ UR_DEVICE_INFO_DEVICE_ID = 2, ///< [uint32_t][optional-query] Id of the device
1484
1484
UR_DEVICE_INFO_MAX_COMPUTE_UNITS = 3, ///< [uint32_t] the number of compute units
1485
1485
UR_DEVICE_INFO_MAX_WORK_ITEM_DIMENSIONS = 4, ///< [uint32_t] max work item dimensions
1486
1486
UR_DEVICE_INFO_MAX_WORK_ITEM_SIZES = 5, ///< [size_t[]] return an array of max work item sizes
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ namespace uur {
24
24
template <class T > bool isQueryOptional (T) { return false ; }
25
25
26
26
constexpr std::array optional_ur_device_info_t = {
27
+ UR_DEVICE_INFO_DEVICE_ID,
27
28
UR_DEVICE_INFO_MEMORY_CLOCK_RATE,
28
29
UR_DEVICE_INFO_GLOBAL_MEM_FREE,
29
30
UR_DEVICE_INFO_UUID,
You can’t perform that action at this time.
0 commit comments