Table of Contents

Struct CudaPos

Namespace
DotCompute.Backends.CUDA.Types.Native
Assembly
DotCompute.Backends.CUDA.dll

3D position for CUDA operations.

public struct CudaPos : IEquatable<CudaPos>
Implements
Inherited Members

Fields

x

The x.

public nuint x

Field Value

nuint

y

The y.

public nuint y

Field Value

nuint

z

The z.

public nuint z

Field Value

nuint

Methods

Equals(CudaPos)

Determines whether this instance is equal to another CudaPos.

public readonly bool Equals(CudaPos other)

Parameters

other CudaPos

The other instance to compare.

Returns

bool

True if equal; otherwise, false.

Equals(object?)

Determines whether this instance is equal to another object.

public override readonly bool Equals(object? obj)

Parameters

obj object

The object to compare.

Returns

bool

True if equal; otherwise, false.

GetHashCode()

Gets the hash code for this instance.

public override readonly int GetHashCode()

Returns

int

The hash code.

Operators

operator ==(CudaPos, CudaPos)

Determines whether two CudaPos instances are equal.

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

Parameters

left CudaPos

The left operand.

right CudaPos

The right operand.

Returns

bool

True if equal; otherwise, false.

operator !=(CudaPos, CudaPos)

Determines whether two CudaPos instances are not equal.

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

Parameters

left CudaPos

The left operand.

right CudaPos

The right operand.

Returns

bool

True if not equal; otherwise, false.