Skip to content

Commit f334ac6

Browse files
authored
[Offload] Include product name in llvm-offload-device-info (#159384)
1 parent 15b665b commit f334ac6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

offload/tools/deviceinfo/llvm-offload-device-info.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ ol_result_t printDevice(std::ostream &S, ol_device_handle_t D) {
174174

175175
OFFLOAD_ERR(
176176
printDeviceValue<const char *>(S, D, OL_DEVICE_INFO_NAME, "Name"));
177+
OFFLOAD_ERR(printDeviceValue<const char *>(S, D, OL_DEVICE_INFO_PRODUCT_NAME,
178+
"Product Name"));
177179
OFFLOAD_ERR(
178180
printDeviceValue<ol_device_type_t>(S, D, OL_DEVICE_INFO_TYPE, "Type"));
179181
OFFLOAD_ERR(printDeviceValue<const char *>(

0 commit comments

Comments
 (0)