[XLA:GPU]: Add peer to peer copies for cupti tracing.

Before this change peer to peer copies done using
cuMemcpyPeerAsync was not being tracked with the driver API.

PiperOrigin-RevId: 825040246
This commit is contained in:
Sohaib Iftikhar 2025-10-28 07:57:28 -07:00 committed by TensorFlower Gardener
parent 034d750525
commit 542ffe0410

View File

@ -1225,6 +1225,8 @@ CuptiTracer::CreateDefaultCallbackIds() {
CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DAsync_v2,
CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoA_v2,
CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoAAsync_v2,
CUPTI_DRIVER_TRACE_CBID_cuMemcpyPeer,
CUPTI_DRIVER_TRACE_CBID_cuMemcpyPeerAsync,
// MemAlloc
CUPTI_DRIVER_TRACE_CBID_cuMemAlloc_v2,
CUPTI_DRIVER_TRACE_CBID_cuMemAllocPitch_v2,