Skip to content

Commit 1ac8cc6

Browse files
authored
Merge pull request #103 from JuliaGPU/sd/fix87
fix #87
2 parents 45a8d5d + fba8d04 commit 1ac8cc6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/jlbackend.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ struct JLArray{T, N} <: GPUArray{T, N}
77
size::NTuple{N, Int}
88
end
99

10+
function showarray(io::IO, A::JLArray, repr::Bool)
11+
print(io, "CPU: ")
12+
showarray(io, Array(A), repr)
13+
end
1014
"""
1115
Thread group local memory
1216
"""

0 commit comments

Comments
 (0)