Table of Contents

Struct CudaLogCursor

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Identifies a position in CUDA's runtime log buffer. 标识 CUDA runtime 日志缓冲区中的位置。

public readonly struct CudaLogCursor : IEquatable<CudaLogCursor>
Implements
Inherited Members

Methods

Equals(CudaLogCursor)

Compares two CUDA log cursors. 比较两个 CUDA log cursor。

public bool Equals(CudaLogCursor other)

Parameters

other CudaLogCursor

Returns

bool

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

operator ==(CudaLogCursor, CudaLogCursor)

Tests two CUDA log cursors for equality. 测试两个 CUDA log cursor 是否相等。

public static bool operator ==(CudaLogCursor left, CudaLogCursor right)

Parameters

left CudaLogCursor
right CudaLogCursor

Returns

bool

operator !=(CudaLogCursor, CudaLogCursor)

Tests two CUDA log cursors for inequality. 测试两个 CUDA log cursor 是否不相等。

public static bool operator !=(CudaLogCursor left, CudaLogCursor right)

Parameters

left CudaLogCursor
right CudaLogCursor

Returns

bool