7.141. CUpti_LogicalEndpointResourceData#
-
struct CUpti_LogicalEndpointResourceData#
Logical endpoint data passed into a resource callback function.
Logical endpoint data passed into a resource callback function as the
cbdataargument to CUpti_CallbackFunc. Thecbdatawill be this type fordomainequal to CUPTI_CB_DOMAIN_RESOURCE andcbidequal to CUPTI_CBID_RESOURCE_LOGICAL_ENDPOINT_CREATED or CUPTI_CBID_RESOURCE_LOGICAL_ENDPOINT_DESTROYED. The data is valid only within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of that data.Public Members
-
uint32_t logicalEndpointId#
Identifier of the logical endpoint.
Valid for both created and destroyed callbacks.
-
CUpti_LogicalEndpointType type#
Type of the logical endpoint.
Valid only for the created callback; set to CUPTI_LOGICAL_ENDPOINT_TYPE_INVALID for the destroyed callback.
-
uint64_t size#
Size in bytes of the region bound to the logical endpoint.
Valid for both created and destroyed callbacks.
-
uint32_t unicastDeviceId#
For a unicast logical endpoint (type == CUPTI_LOGICAL_ENDPOINT_TYPE_UNICAST), the owning device id.
-
uint32_t multicastTeamSize#
For a multicast logical endpoint (type == CUPTI_LOGICAL_ENDPOINT_TYPE_MULTICAST), the number of devices in the multicast team.
-
uint32_t flags#
Flags associated with the logical endpoint construction.
Valid only for the created callback.
-
uint32_t logicalEndpointId#