We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a6622f + 7a6d2bd commit c015f89Copy full SHA for c015f89
test/conformance/testing/include/uur/utils.h
@@ -189,9 +189,13 @@ inline std::string GetPlatformName(ur_platform_handle_t hPlatform) {
189
}
190
191
inline std::string GetDeviceName(ur_device_handle_t device) {
192
- std::string device_name;
+ std::string device_name, device_uuid;
193
GetDeviceInfo<std::string>(device, UR_DEVICE_INFO_NAME, device_name);
194
- return GTestSanitizeString(device_name);
+ GetDeviceInfo<std::string>(device, UR_DEVICE_INFO_UUID, device_uuid);
195
+ if (!device_uuid.empty()) {
196
+ device_uuid += "____";
197
+ }
198
+ return GTestSanitizeString(device_name + device_uuid);
199
200
201
inline std::string GetPlatformAndDeviceName(ur_device_handle_t device) {
0 commit comments