From 2e2233b0af0ccfe7d2484145655056e3d90bd8ea Mon Sep 17 00:00:00 2001 From: Katharine Hyatt Date: Thu, 9 Oct 2025 06:03:26 -0400 Subject: [PATCH] Try to unbreak linalg test on nightly --- test/testsuite/linalg.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testsuite/linalg.jl b/test/testsuite/linalg.jl index b042d940..5379f6c3 100644 --- a/test/testsuite/linalg.jl +++ b/test/testsuite/linalg.jl @@ -124,8 +124,8 @@ gpu_b = AT{Float32}(undef, 128, 128) |> TR gpu_c = copyto!(gpu_b, gpu_a) - @test all(Array(gpu_b) .== Array(gpu_a)) - @test all(Array(gpu_c) .== Array(gpu_a)) + @test all(TR(Array(parent(gpu_b))) .== TR(Array(parent(gpu_a)))) + @test all(TR(Array(parent(gpu_c))) .== TR(Array(parent(gpu_a)))) @test gpu_c isa TR end end