Skip to content

Commit 5a08b8d

Browse files
committed
Add a 3D test
1 parent ea0ad5c commit 5a08b8d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/base/texture.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ end
110110
texarr3D_2 = CuTextureArray(texarr3D)
111111
tex3D_2 = CuTexture(texarr3D_2)
112112
@test Array(fetch_all(tex3D_2)) == a3D
113+
texarr3D_3 = CuTextureArray{Float32, 3}(texarr3D)
114+
tex3D_3 = CuTexture(texarr3D_3)
115+
@test Array(fetch_all(tex3D_3)) == a3D
113116
@test sizeof(texarr3D) == sizeof(a3D)
114117
@test eltype(texarr3D) == Float32
115118
end

0 commit comments

Comments
 (0)