PR #10082: [ROCm] Enable GpuCommandBuffer::Trace
PR #10082: [ROCm] Enable GpuCommandBuffer::Trace

Imported from GitHub PR https://github.com/openxla/xla/pull/10082


Copybara import of the project:

--
e7c8de8fcdadd7bf9b02e4e79afe941afc35d190 by Dragan Mladjenovic <Dragan.Mladjenovic@amd.com>:

[ROCm] Enable GpuCommandBuffer::Trace

--
b66e16f53a9a6d6a44f51439a5b39e2670effaf7 by Dragan Mladjenovic <Dragan.Mladjenovic@amd.com>:

[ROCm] Allow capturing operations to command buffer that require tracing

Merging this change closes #10082

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/10082 from ROCm:cmmand_trace b66e16f53a9a6d6a44f51439a5b39e2670effaf7
