Skip to content

Commit fba8d04

Browse files
committed
fix #87
1 parent 45a8d5d commit fba8d04

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)