CUpti_ActivityMemoryPool Struct Reference
[CUPTI Activity API]

The activity record for memory pool. More...


Data Fields

uint64_t address
uint32_t correlationId
uint32_t deviceId
CUpti_ActivityKind kind
CUpti_ActivityMemoryPoolOperationType memoryPoolOperationType
CUpti_ActivityMemoryPoolType memoryPoolType
size_t minBytesToKeep
uint32_t pad
uint32_t processId
uint64_t releaseThreshold
uint64_t size
uint64_t timestamp


Detailed Description

This activity record represents a memory pool creation, destruction and trimming (CUPTI_ACTIVITY_KIND_MEMORY_POOL). This activity record provides separate records for memory pool creation, destruction and triming operations. This allows to correlate the corresponding driver and runtime API activity record with the memory pool operation.

Field Documentation

The virtual address of the allocation.

The correlation ID of the memory pool operation. Each memory pool operation is assigned a unique correlation ID that is identical to the correlation ID in the driver and runtime API activity record that launched the memory operation.

The ID of the device where the memory pool is created.

The activity record kind, must be CUPTI_ACTIVITY_KIND_MEMORY_POOL

The memory operation requested by the user, CUpti_ActivityMemoryPoolOperationType.

The type of the memory pool, CUpti_ActivityMemoryPoolType

The minimum bytes to keep of the memory pool.

Parameters:
minBytesToKeep is valid for CUPTI_ACTIVITY_MEMORY_POOL_OPERATION_TYPE_TRIMMED, CUpti_ActivityMemoryPoolOperationType

Undefined. Reserved for internal use.

The ID of the process to which this record belongs to.

The release threshold of the memory pool.

Parameters:
releaseThreshold is valid for CUPTI_ACTIVITY_MEMORY_POOL_TYPE_LOCAL, CUpti_ActivityMemoryPoolType.

The size of the memory pool operation in bytes.

Parameters:
size is valid for CUPTI_ACTIVITY_MEMORY_POOL_TYPE_LOCAL, CUpti_ActivityMemoryPoolType.

The start timestamp for the memory operation, in ns.


Generated on Sun Feb 14 21:14:24 2021 for Cupti by  doxygen 1.5.8