6.164. CUpti_Profiler_IsPassCollected_Params

struct CUpti_Profiler_IsPassCollected_Params

cuptiProfilerIsPassCollected 的参数。

公共成员

size_t structSize

[in] CUpti_Profiler_IsPassCollected_Params_STRUCT_SIZE

void *pPriv

[in] 赋值为 NULL

CUcontext ctx

[in] 如果为 NULL,则使用当前的 CUcontext

size_t numRangesDropped

[out] 在处理的 pass 中数据被丢弃的 ranges 数量

size_t numTraceBytesDropped

[out] 由于缓冲区已满而未写入 TraceBuffer 的字节数

uint8_t onePassCollected

[out] 如果成功解码了一个 pass,则为 true

uint8_t allPassesCollected

[out] 当最后一个 pass 被解码后变为 true