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
y
The y.
public nuint y
Field Value
z
The z.
public nuint z
Field Value
Methods
Equals(CudaPos)
Determines whether this instance is equal to another CudaPos.
public readonly bool Equals(CudaPos other)
Parameters
otherCudaPosThe 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
objobjectThe 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
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
Returns
- bool
True if not equal; otherwise, false.