Table of Contents

Struct dim3

Namespace
DotCompute.Backends.CUDA.Advanced
Assembly
DotCompute.Backends.CUDA.dll

CUDA dimension structure.

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

Constructors

dim3(uint, uint, uint)

CUDA dimension structure.

public dim3(uint x, uint y, uint z)

Parameters

x uint
y uint
z uint

Properties

x

The x coordinate.

public uint x { get; }

Property Value

uint

y

The y coordinate.

public uint y { get; }

Property Value

uint

z

The z coordinate.

public uint z { get; }

Property Value

uint

Methods

Equals(dim3)

Determines whether the specified dim3 is equal to the current dim3.

public bool Equals(dim3 other)

Parameters

other dim3

The dim3 to compare.

Returns

bool

True if equal; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current dim3.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare.

Returns

bool

True if equal; otherwise, false.

GetHashCode()

Returns the hash code for this dim3.

public override int GetHashCode()

Returns

int

A hash code for the current dim3.

Operators

operator ==(dim3, dim3)

Determines whether two dim3 instances are equal.

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

Parameters

left dim3

The first dim3 to compare.

right dim3

The second dim3 to compare.

Returns

bool

True if equal; otherwise, false.

operator !=(dim3, dim3)

Determines whether two dim3 instances are not equal.

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

Parameters

left dim3

The first dim3 to compare.

right dim3

The second dim3 to compare.

Returns

bool

True if not equal; otherwise, false.