diff --git a/res/support.toml b/res/support.toml index c0f939d1..4f5ac117 100644 --- a/res/support.toml +++ b/res/support.toml @@ -523,8 +523,8 @@ use_ccall_macro = true [api.onemklCgesvd.argtypes] 6 = "ZePtr{ComplexF32}" -8 = "ZePtr{ComplexF32}" -9 = "ZePtr{Float32}" +8 = "ZePtr{Float32}" +9 = "ZePtr{ComplexF32}" 11 = "ZePtr{ComplexF32}" 13 = "ZePtr{ComplexF32}" diff --git a/test/onemkl.jl b/test/onemkl.jl index 11248b0d..a829082d 100644 --- a/test/onemkl.jl +++ b/test/onemkl.jl @@ -1169,7 +1169,8 @@ end for (uplo, diag, wrapper) in [('L', 'N', LowerTriangular), ('L', 'U', UnitLowerTriangular), ('U', 'N', UpperTriangular), ('U', 'U', UnitUpperTriangular)] (transa == 'N') || continue - A = rand(T, 10, 10) |> sparse + A = rand(T, 10, 10) + I + A = sparse(A) x = rand(T, 10) y = rand(T, 10)