From 28a289277919014c8e0c77b813acf33eeeed2ca7 Mon Sep 17 00:00:00 2001 From: lijunlin <70465472+L-Xiafeng@users.noreply.github.com> Date: Tue, 27 Jun 2023 12:55:13 +0800 Subject: [PATCH] Update broadcast_matmul.cpp fix compile error --- oneflow/core/ep/cuda/primitive/broadcast_matmul.cpp | 6 ------ 1 file changed, 6 deletions(-) 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(); }