NGFX_GPUTrace_StopTrace_CUDA_Params_V1#

struct NGFX_GPUTrace_StopTrace_CUDA_Params_V1#

Parameters for stopping a GPU trace.

Public Members

uint32_t version#

Used for versioning; must be assigned a value of NGFX_GPUTrace_StopTrace_CUDA_Params_VER.

NGFX_GPUTrace_StopTraceFlags flags#

Flags controlling the stop trace behavior.

CUcontext ctx#

The CUDA context that owns the associated stream.

CUstream hStream#

A CUDA stream handle, when all scheduled work on this stream has completed; the trace is complete.

If the stream handle is set to NGFX_CUDA_INVALID_STREAM_HANDLE, the trace may immediately stop collecting data. Ignored if NGFX_GPUTrace_StopTraceFlag_NextFrameBoundary is used.

bool perThreadDefaultStream#

Indicates if the default stream is per-thread.