We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5774411 commit a1ea773Copy full SHA for a1ea773
src/texture.jl
@@ -61,7 +61,7 @@ Base.length(tm::CuTextureArray) = prod(size(tm))
61
Base.eltype(tm::CuTextureArray{T,N}) where {T,N} = T
62
Base.elsize(tm::CuTextureArray) = aligned_sizeof(eltype(tm))
63
64
-Base.sizeof(tm::CuTextureArray) = elsize(tm) * length(tm)
+Base.sizeof(tm::CuTextureArray) = Base.elsize(tm) * length(tm)
65
66
Base.pointer(t::CuTextureArray) = t.mem.ptr
67
0 commit comments