kineto icon indicating copy to clipboard operation
kineto copied to clipboard

Roctracer: Device ID is off by 2, manually start from 0

Open aaronenyeshi opened this issue 1 year ago • 4 comments

Summary: Although hipGetDeviceProperties shows 8 devices enumerating from 0 to 7, when using roctracer_record_t, the record->device_id enumerates from 2 to 9.

Manually enumerate from 0-7 by subtracting 2, and opened a bug report in ROCm/roctracer: https://github.com/ROCm/roctracer/issues/98.

Differential Revision: D56951239

aaronenyeshi avatar May 03 '24 20:05 aaronenyeshi

This pull request was exported from Phabricator. Differential Revision: D56951239

facebook-github-bot avatar May 03 '24 20:05 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D56951239

facebook-github-bot avatar May 03 '24 20:05 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D56951239

facebook-github-bot avatar May 03 '24 20:05 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D56951239

facebook-github-bot avatar May 03 '24 20:05 facebook-github-bot

Closing this as we may have a better fix via: https://github.com/pytorch/kineto/pull/926. prototyping it.

aaronenyeshi avatar May 07 '24 19:05 aaronenyeshi