Struct StreamId
- Namespace
- DotCompute.Backends.CUDA.Execution
- Assembly
- DotCompute.Backends.CUDA.dll
Unique identifier for CUDA streams
public readonly struct StreamId : IEquatable<StreamId>
- Implements
- Inherited Members
Methods
Equals(StreamId)
Determines equals.
public bool Equals(StreamId other)
Parameters
otherStreamIdThe 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.
New()
Gets new.
public static StreamId New()
Returns
- StreamId
The result of the operation.
ToString()
Gets to string.
public override string ToString()
Returns
- string
The result of the operation.
Operators
operator ==(StreamId, StreamId)
Implements the equality operator to determine whether two values are equal.
public static bool operator ==(StreamId left, StreamId right)
Parameters
Returns
operator !=(StreamId, StreamId)
Implements the inequality operator to determine whether two values are not equal.
public static bool operator !=(StreamId left, StreamId right)