From f0be27fdde7ed85110d4e88cb533e63888f33504 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Thu, 6 Feb 2025 14:26:53 +0100 Subject: [PATCH] Re-enable test. --- test/libraries/cublas/level2.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/libraries/cublas/level2.jl b/test/libraries/cublas/level2.jl index 145c0312de..65e6d8a922 100644 --- a/test/libraries/cublas/level2.jl +++ b/test/libraries/cublas/level2.jl @@ -120,14 +120,14 @@ k = 13 end end end - # This is causing illegal memory access errors... unsure why - #=@testset "mul! y = $f(A) * x * $Ts(a) + y * $Ts(b)" for f in (identity, transpose, adjoint), Ts in (Int, elty) + + @testset "mul! y = $f(A) * x * $Ts(a) + y * $Ts(b)" for f in (identity, transpose, adjoint), Ts in (Int, elty) y, A, x = rand(elty, 5), rand(elty, 5, 5), rand(elty, 5) dy, dA, dx = CuArray(y), CuArray(A), CuArray(x) mul!(dy, f(dA), dx, Ts(1), Ts(2)) mul!(y, f(A), x, Ts(1), Ts(2)) @test Array(dy) ≈ y - end=# + end @testset "hermitian" begin y, A, x = rand(elty, 5), Hermitian(rand(elty, 5, 5)), rand(elty, 5)