Struct BlockDimensions
Block dimensions for kernel launch
public struct BlockDimensions : IEquatable<BlockDimensions>
- Implements
- Inherited Members
Constructors
BlockDimensions(uint, uint, uint)
Block dimensions for kernel launch
public BlockDimensions(uint x, uint y = 1, uint z = 1)
Parameters
Properties
X
Gets or sets the x.
public uint X { readonly get; set; }
Property Value
- uint
The x.
Y
Gets or sets the y.
public uint Y { readonly get; set; }
Property Value
- uint
The y.
Z
Gets or sets the z.
public uint Z { readonly get; set; }
Property Value
- uint
The z.
Methods
Equals(BlockDimensions)
Determines equals.
public bool Equals(BlockDimensions other)
Parameters
otherBlockDimensionsThe other.
Returns
- bool
The result of the operation.
Equals(object?)
Determines equals.
public override bool Equals(object? obj)
Parameters
objobjectThe obj.
Returns
- bool
The result of the operation.
GetHashCode()
Gets the hash code.
public override int GetHashCode()
Returns
- int
The hash code.
Operators
operator ==(BlockDimensions, BlockDimensions)
Implements the equality operator to determine whether two values are equal.
public static bool operator ==(BlockDimensions left, BlockDimensions right)
Parameters
leftBlockDimensionsrightBlockDimensions
Returns
operator !=(BlockDimensions, BlockDimensions)
Implements the inequality operator to determine whether two values are not equal.
public static bool operator !=(BlockDimensions left, BlockDimensions right)
Parameters
leftBlockDimensionsrightBlockDimensions