7.204. CUpti_RangeProfiler_GetDevicePartitionInfo_Params#

struct CUpti_RangeProfiler_GetDevicePartitionInfo_Params#

Params for cuptiRangeProfilerGetDevicePartitionInfo.

Public Members

size_t structSize#

[in] Size of the data structure.

void *pPriv#

[in] Set to NULL.

CUpti_RangeProfiler_Object *pRangeProfilerObject#

[in] Range profiler object created via cuptiRangeProfilerEnable on a Green Context.

size_t devicePartitionInfoSize#

[inout] If pDevicePartitionInfo is NULL, then the required buffer size is returned in devicePartitionInfoSize. Otherwise, devicePartitionInfoSize should be set to the allocated buffer size of pDevicePartitionInfo.

uint8_t *pDevicePartitionInfo#

[inout] Buffer to store the device partition information. Set to NULL in the first call to query the required buffer size. In the second call, pass an allocated buffer of size devicePartitionInfoSize to receive the partition information encoding the SM resource allocation for the Green Context.