File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
test/conformance/testing/include/uur Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1480,7 +1480,7 @@ urDeviceGetSelected(
14801480typedef enum ur_device_info_t {
14811481 UR_DEVICE_INFO_TYPE = 0, ///< [::ur_device_type_t] type of the device
14821482 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
14841484 UR_DEVICE_INFO_MAX_COMPUTE_UNITS = 3, ///< [uint32_t] the number of compute units
14851485 UR_DEVICE_INFO_MAX_WORK_ITEM_DIMENSIONS = 4, ///< [uint32_t] max work item dimensions
14861486 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 {
2424template <class T > bool isQueryOptional (T) { return false ; }
2525
2626constexpr std::array optional_ur_device_info_t = {
27+ UR_DEVICE_INFO_DEVICE_ID,
2728 UR_DEVICE_INFO_MEMORY_CLOCK_RATE,
2829 UR_DEVICE_INFO_GLOBAL_MEM_FREE,
2930 UR_DEVICE_INFO_UUID,
You can’t perform that action at this time.
0 commit comments