diff --git a/oneflow/core/ep/cuda/primitive/broadcast_matmul.cpp b/oneflow/core/ep/cuda/primitive/broadcast_matmul.cpp index 27ce829d9a1..790455028a9 100644 --- a/oneflow/core/ep/cuda/primitive/broadcast_matmul.cpp +++ b/oneflow/core/ep/cuda/primitive/broadcast_matmul.cpp @@ -75,12 +75,6 @@ CublasScalarParameter GetCublasScalarParameter(Scalar scalar, cublasComputeType_ sp.s = scalar.Value(); } else if (compute_type == CUBLAS_COMPUTE_16F) { sp.h = static_cast(scalar.Value()); - } else if (compute_type == CUDA_C_32F) { - const std::complex cpp_value = scalar.Value>(); - sp.c = cuComplex{cpp_value.real(), cpp_value.imag()}; - } else if (compute_type == CUDA_C_64F) { - const std::complex cpp_value = scalar.Value>(); - sp.z = cuDoubleComplex{cpp_value.real(), cpp_value.imag()}; } else { UNIMPLEMENTED(); }