Skip to content

Commit 7cecbc1

Browse files
committed
Address feedback
1 parent f808f8f commit 7cecbc1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/util.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ function versioninfo(io::IO=stdout)
9393
print(io, " · $(device.name)")
9494

9595
# show a list of tags
96-
tags = []
96+
tags = String[]
9797
## memory back-ends
9898
let
99-
svm_tags = []
99+
svm_tags = String[]
100100
svm_caps = cl.svm_capabilities(device)
101101
if svm_caps.coarse_grain_buffer
102102
push!(svm_tags, "c")
@@ -107,7 +107,7 @@ function versioninfo(io::IO=stdout)
107107
push!(tags, "svm:"*join(svm_tags, "+"))
108108
end
109109
if cl.usm_supported(device)
110-
usm_tags = []
110+
usm_tags = String[]
111111
usm_caps = cl.usm_capabilities(device)
112112
if usm_caps.host.access
113113
push!(usm_tags, "h")
@@ -134,7 +134,7 @@ function versioninfo(io::IO=stdout)
134134
push!(tags, "il")
135135
end
136136
if cl.sub_groups_supported(device)
137-
sg_tags = []
137+
sg_tags = String[]
138138
if in("cl_khr_subgroup_shuffle", device.extensions)
139139
push!(sg_tags, "shfl")
140140
end

0 commit comments

Comments
 (0)