Skip to content

Commit 3c32aa1

Browse files
committed
Work size props
1 parent 67663e5 commit 3c32aa1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ ol_result_t printDevice(std::ostream &S, ol_device_handle_t D) {
181181
OFFLOAD_ERR(printDeviceValue<ol_dimensions_t>(
182182
S, D, OL_DEVICE_INFO_MAX_WORK_GROUP_SIZE_PER_DIMENSION,
183183
"Max Work Group Size Per Dimension"));
184+
OFFLOAD_ERR(printDeviceValue<uint32_t>(S, D, OL_DEVICE_INFO_MAX_WORK_SIZE,
185+
"Max Work Size"));
186+
OFFLOAD_ERR(printDeviceValue<ol_dimensions_t>(
187+
S, D, OL_DEVICE_INFO_MAX_WORK_SIZE_PER_DIMENSION,
188+
"Max Work Size Per Dimension"));
184189
OFFLOAD_ERR(
185190
printDeviceValue<uint32_t>(S, D, OL_DEVICE_INFO_VENDOR_ID, "Vendor ID"));
186191
OFFLOAD_ERR(printDeviceValue<uint32_t>(S, D, OL_DEVICE_INFO_NUM_COMPUTE_UNITS,

0 commit comments

Comments
 (0)