Struct WmmaShape
- Namespace
- DotCompute.Backends.CUDA.Advanced
- Assembly
- DotCompute.Backends.CUDA.dll
WMMA shape configuration.
public struct WmmaShape : IEquatable<WmmaShape>
- Implements
- Inherited Members
Properties
K
Gets or sets the k.
public int K { readonly get; set; }
Property Value
- int
The k.
M
Gets or sets the m.
public int M { readonly get; set; }
Property Value
- int
The m.
N
Gets or sets the n.
public int N { readonly get; set; }
Property Value
- int
The n.
Methods
Equals(WmmaShape)
Determines whether the specified WmmaShape is equal to the current WmmaShape.
public bool Equals(WmmaShape other)
Parameters
otherWmmaShapeThe WmmaShape to compare.
Returns
- bool
True if equal; otherwise, false.
Equals(object?)
Determines whether the specified object is equal to the current WmmaShape.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare.
Returns
- bool
True if equal; otherwise, false.
GetHashCode()
Returns the hash code for this WmmaShape.
public override int GetHashCode()
Returns
- int
A hash code for the current WmmaShape.
Operators
operator ==(WmmaShape, WmmaShape)
Determines whether two WmmaShape instances are equal.
public static bool operator ==(WmmaShape left, WmmaShape right)
Parameters
Returns
- bool
True if equal; otherwise, false.
operator !=(WmmaShape, WmmaShape)
Determines whether two WmmaShape instances are not equal.
public static bool operator !=(WmmaShape left, WmmaShape right)
Parameters
Returns
- bool
True if not equal; otherwise, false.