Skip to content

Commit e69e8dd

Browse files
authored
Update device.jl for PT3
1 parent 9b35d64 commit e69e8dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hip/device.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ function __pretty_data(dev::HIPDevice)
168168
end
169169

170170
function Base.show(io::IO, mime::MIME{Symbol("text/plain")}, dev::HIPDevice)
171-
PrettyTables.pretty_table(io, __pretty_data(dev); header=[
171+
PrettyTables.pretty_table(io, __pretty_data(dev); column_labels=[
172172
"Id", "Name", "GCN arch", "Wavefront", "Memory", "Shared Memory"])
173173
end
174174

175175
function Base.show(io::IO, mime::MIME{Symbol("text/plain")}, devs::Vector{HIPDevice})
176-
PrettyTables.pretty_table(io, vcat(__pretty_data.(devs)...); header=[
176+
PrettyTables.pretty_table(io, vcat(__pretty_data.(devs)...); column_labels=[
177177
"Id", "Name", "GCN arch", "Wavefront", "Memory", "Shared Memory"])
178178
end

0 commit comments

Comments
 (0)