Table of Contents

Class CudaLogSnapshot

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Captures a copied UTF-8 CUDA runtime log dump. 捕获复制出的 UTF-8 CUDA runtime 日志。

public sealed class CudaLogSnapshot
Inheritance
CudaLogSnapshot
Inherited Members

Constructors

CudaLogSnapshot(string, int, CudaLogCursor?)

Initializes a CUDA log snapshot. 初始化 CUDA 日志快照。

public CudaLogSnapshot(string text, int bytesWritten, CudaLogCursor? nextCursor)

Parameters

text string
bytesWritten int
nextCursor CudaLogCursor?

Properties

BytesWritten

Gets the number of UTF-8 bytes copied. 获取复制出的 UTF-8 字节数。

public int BytesWritten { get; }

Property Value

int

NextCursor

Gets the advanced cursor when cursor-based dumping was requested. 获取使用 cursor dump 时推进后的 cursor。

public CudaLogCursor? NextCursor { get; }

Property Value

CudaLogCursor?

Text

Gets the copied log text. 获取复制出的日志文本。

public string Text { get; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.