Skip to content

Commit

Permalink
Correction
Browse files Browse the repository at this point in the history
  • Loading branch information
pxl-th committed Sep 6, 2023
1 parent 6f66f07 commit c9b3fc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/rocarray/base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
B = AMDGPU.Runtime.Mem.HIPBuffer
x = ROCArray{Float32, 2, B}(undef, 16, 12)
@test size(x) == (16, 12)
@test x.buf isa B
@test x.buf[] isa B
x = ROCArray{Float32, 2, B}(undef, (16, 12))
@test size(x) == (16, 12)
@test x.buf isa B
@test x.buf[] isa B
end

@testset "ones/zeros" begin
Expand Down

0 comments on commit c9b3fc9

Please sign in to comment.