We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa4aaee commit fa009dcCopy full SHA for fa009dc
1 file changed
test/amd/tensors.jl
@@ -283,7 +283,6 @@ for V in spacelist
283
284
AMDGPU.@allowscalar begin
285
t3 = @constinferred repartition(t, $k)
286
- t3 = repartition(t, k)
287
@test norm(t3) ≈ norm(t)
288
t3′ = @constinferred repartition!(similar(t3), t′)
289
@test norm(t3′) ≈ norm(t′)
@@ -432,12 +431,12 @@ for V in spacelist
432
431
t = AMDGPU.rand(T, W1, W2)
433
@test t1 * (t1 \ t) ≈ t
434
@test (t / t2) * t2 ≈ t
435
- AMDGPU.@allowscalar begin
+ #=AMDGPU.@allowscalar begin
436
@test t1 \ one(t1) ≈ inv(t1)
437
@test one(t1) / t1 ≈ pinv(t1)
438
tp = pinv(t) * t
439
@test tp ≈ tp * tp
440
- end
+ end=#
441
@test_throws SpaceMismatch inv(t)
442
@test_throws SpaceMismatch t2 \ t
443
@test_throws SpaceMismatch t / t1
0 commit comments