Backends/SiaNet.Backend.TensorSharp/Cuda/MatrixMul/CudaMatrixMulMM.cs
/// <summary>
/// Gets the cuda blas op.
/// </summary>
/// <param name="op">The op.</param>
/// <returns>Operation.</returns>
/// <exception cref="InvalidOperationException">BlasOp not supported: " + op</exception>
Gets the cuda blas op.
Gets the cuda blas op .
private static Operation GetCudaBlasOp(BlasOp op)
        {
            switch(op)
            {
                case BlasOp.NonTranspose: return Operation.NonTranspose;
                case BlasOp.Transpose: return Operation.Transpose;
                case BlasOp.ConjugateTranspose: return Operation.ConjugateTranspose;
                default:
                    throw new InvalidOperationException("BlasOp not supported: " + op);
            }
        }
private static Operation GetCudaBlasOp ( BlasOp op ) { switch ( op ) { case BlasOp . NonTranspose : return Operation . NonTranspose ; case BlasOp . Transpose : return Operation . Transpose ; case BlasOp . ConjugateTranspose : return Operation . ConjugateTranspose ; default : throw new InvalidOperationException ( " " + op ) ; } }
Gets the cuda blas op.
Gets the cuda blas op .
None
BlasOp not supported: " + op
BlasOp not supported : " + op
op
BlasOp
None