1 # Copyright
2010-2024 Free Software Foundation
, Inc.
3 # This
program is free software
; you can redistribute it and
/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation
; either version
3 of the License
, or
6 #
(at your option
) any later version.
8 # This
program is distributed in the hope that it will be useful
,
9 # but WITHOUT
ANY WARRANTY
; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License
for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this
program.
If not
, see
<http
://www.gnu.org
/licenses
/>.
*/
16 # Contributed by Ken Werner
<ken.werner@de.ibm.com
>.
18 # Tests component access of OpenCL vectors.
22 require allow_opencl_tests
24 set testfile
"vec_comps"
25 set clprogram
[remote_download target $
{srcdir
}/$
{subdir
}/$
{testfile
}.cl
]
27 #
Compile the generic OpenCL host app
28 if { [gdb_compile_opencl_hostapp
"${clprogram}" "${testfile}" "" ] != "" } {
29 untested
"failed to compile"
34 clean_restart $
{testfile
}
36 #
Set breakpoint at the OpenCL kernel
37 gdb_test
"tbreak testkernel" \
39 "Set pending breakpoint" \
40 ".*Function \"testkernel\" not defined.*Make breakpoint pending.*y or \\\[n\\\]. $" \
44 gdb_test
"" ".*reakpoint.*1.*testkernel.*" "run"
46 #
Continue to the marker
47 gdb_breakpoint
[gdb_get_line_number
"marker" "${clprogram}"]
48 gdb_continue_to_breakpoint
"marker"
50 # Check
if the language was switched to opencl
51 gdb_test
"show language" "The current source language is \"auto; currently opencl\"\."
53 #
Retrieve some information about the OpenCL version and the availability of extensions
54 set opencl_version
[get_integer_valueof
"opencl_version" 0]
55 set have_cl_khr_fp64
[get_integer_valueof
"have_cl_khr_fp64" 0]
56 set have_cl_khr_fp16
[get_integer_valueof
"have_cl_khr_fp16" 0]
59 proc check_basic
{ name type size
} {
60 gdb_test
"ptype ${name}" "type = ${type}16"
61 gdb_test
"p sizeof(${name})" " = [expr ${size} * 16]"
62 gdb_test
"print/d ${name}" " = \\{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\\}"
65 proc check_type
{ name type alttype
} {
66 gdb_test
"whatis ${name}.lo" "type = ${type}8"
67 gdb_test
"whatis ${name}.hi" "type = ${type}8"
68 gdb_test
"whatis ${name}.even" "type = ${type}8"
69 gdb_test
"whatis ${name}.odd" "type = ${type}8"
70 gdb_test
"whatis ${name}.low" "Invalid OpenCL vector component accessor low"
71 gdb_test
"whatis ${name}.high" "Invalid OpenCL vector component accessor high"
73 gdb_test
"whatis ${name}.hi.even" "type = ${type}4"
74 gdb_test
"whatis ${name}.odd.odd.lo" "type = ${type}2"
75 gdb_test
"whatis ${name}.even.hi.lo.odd" "type = ${alttype}|${type}"
77 gdb_test
"whatis ${name}.x" "type = ${alttype}|${type}"
78 gdb_test
"whatis ${name}.y" "type = ${alttype}|${type}"
79 gdb_test
"whatis ${name}.z" "type = ${alttype}|${type}"
80 gdb_test
"whatis ${name}.w" "type = ${alttype}|${type}"
81 gdb_test
"whatis ${name}.v" "Invalid OpenCL vector component accessor v"
83 gdb_test
"whatis ${name}.xy" "type = ${type}2"
84 gdb_test
"whatis ${name}.xx" "type = ${type}2"
85 gdb_test
"whatis ${name}.wy" "type = ${type}2"
86 gdb_test
"whatis ${name}.zv" "Invalid OpenCL vector component accessor zv"
88 gdb_test
"whatis ${name}.xyz" "type = ${type}3"
89 gdb_test
"whatis ${name}.yxy" "type = ${type}3"
90 gdb_test
"whatis ${name}.yzx" "type = ${type}3"
91 gdb_test
"whatis ${name}.yzv" "Invalid OpenCL vector component accessor yzv"
93 gdb_test
"whatis ${name}.xywz" "type = ${type}4"
94 gdb_test
"whatis ${name}.zzyy" "type = ${type}4"
95 gdb_test
"whatis ${name}.wwww" "type = ${type}4"
96 gdb_test
"whatis ${name}.yxwv" "Invalid OpenCL vector component accessor yxwv"
97 gdb_test
"whatis ${name}.zyxwv" "Invalid OpenCL vector component accessor zyxwv"
99 gdb_test
"whatis ${name}.xy.x" "type = ${alttype}|${type}"
100 gdb_test
"whatis ${name}.wzyx.yy" "type = ${type}2"
101 gdb_test
"whatis ${name}.wzyx.yx.x" "type = ${alttype}|${type}"
102 gdb_test
"whatis ${name}.xyzw.w" "type = ${alttype}|${type}"
103 gdb_test
"whatis ${name}.xy.z" "Invalid OpenCL vector component accessor z"
105 gdb_test
"whatis ${name}.s0" "type = ${alttype}|${type}"
106 gdb_test
"whatis ${name}.s9" "type = ${alttype}|${type}"
107 gdb_test
"whatis ${name}.sa" "type = ${alttype}|${type}"
108 gdb_test
"whatis ${name}.sf" "type = ${alttype}|${type}"
109 gdb_test
"whatis ${name}.sF" "type = ${alttype}|${type}"
110 gdb_test
"whatis ${name}.sg" "Invalid OpenCL vector component accessor sg"
111 gdb_test
"whatis ${name}.sG" "Invalid OpenCL vector component accessor sG"
112 gdb_test
"whatis ${name}.Sg" "Invalid OpenCL vector component accessor Sg"
113 gdb_test
"whatis ${name}.SG" "Invalid OpenCL vector component accessor SG"
115 gdb_test
"whatis ${name}.s01" "type = ${type}2"
116 gdb_test
"whatis ${name}.s00" "type = ${type}2"
117 gdb_test
"whatis ${name}.sF0" "type = ${type}2"
118 gdb_test
"whatis ${name}.S42" "type = ${type}2"
120 gdb_test
"whatis ${name}.s567" "type = ${type}3"
121 gdb_test
"whatis ${name}.S333" "type = ${type}3"
122 gdb_test
"whatis ${name}.Sf0A" "type = ${type}3"
123 gdb_test
"whatis ${name}.SB1D" "type = ${type}3"
124 gdb_test
"whatis ${name}.s01g" "Invalid OpenCL vector component accessor s01g"
126 gdb_test
"whatis ${name}.s9876" "type = ${type}4"
127 gdb_test
"whatis ${name}.sFFFF" "type = ${type}4"
128 gdb_test
"whatis ${name}.sCafe" "type = ${type}4"
129 gdb_test
"whatis ${name}.Sf001" "type = ${type}4"
130 gdb_test
"whatis ${name}.s1fg2" "Invalid OpenCL vector component accessor s1fg2"
131 gdb_test
"whatis ${name}.s012345" "Invalid OpenCL vector component accessor s012345"
133 gdb_test
"whatis ${name}.s00000000" "type = ${type}8"
134 gdb_test
"whatis ${name}.s00224466" "type = ${type}8"
135 gdb_test
"whatis ${name}.sDEADBEEF" "type = ${type}8"
136 gdb_test
"whatis ${name}.Sa628c193" "type = ${type}8"
138 gdb_test
"whatis ${name}.s876543210" "Invalid OpenCL vector component accessor s876543210"
139 gdb_test
"whatis ${name}.s0123456789abcde" "Invalid OpenCL vector component accessor s0123456789abcde"
141 gdb_test
"whatis ${name}.s0123456789aBcDeF" "type = ${type}16"
142 gdb_test
"whatis ${name}.s0022446688AACCFF" "type = ${type}16"
143 gdb_test
"whatis ${name}.S0123456776543210" "type = ${type}16"
144 gdb_test
"whatis ${name}.sFEDCBA9876543210" "type = ${type}16"
146 gdb_test
"whatis ${name}.sfedcba98.S0246" "type = ${type}4"
147 gdb_test
"whatis ${name}.sfedcba98.S0246.s13" "type = ${type}2"
148 gdb_test
"whatis ${name}.sfedcba98.S0246.s13.s0" "type = ${alttype}|${type}"
149 gdb_test
"whatis ${name}.s0123456789abcdef.s22" "type = ${type}2"
151 gdb_test
"whatis ${name}.hi.s7654.wx" "type = ${type}2"
152 gdb_test
"whatis ${name}.s0123456789abcdef.even.lo" "type = ${type}4"
153 gdb_test
"whatis ${name}.odd.xyzw.s23" "type = ${type}2"
154 gdb_test
"whatis ${name}.xyzw.hi.odd" "type = ${alttype}|${type}"
156 gdb_test
"ptype ${name}.lo" "type = ${type}8"
157 gdb_test
"ptype ${name}.hi" "type = ${type}8"
158 gdb_test
"ptype ${name}.even" "type = ${type}8"
159 gdb_test
"ptype ${name}.odd" "type = ${type}8"
161 gdb_test
"ptype ${name}.hi.even" "type = ${type}4"
162 gdb_test
"ptype ${name}.odd.odd.lo" "type = ${type}2"
163 gdb_test
"ptype ${name}.even.hi.lo.odd" "type = ${alttype}|${type}"
165 gdb_test
"ptype ${name}.x" "type = ${alttype}|${type}"
166 gdb_test
"ptype ${name}.y" "type = ${alttype}|${type}"
167 gdb_test
"ptype ${name}.z" "type = ${alttype}|${type}"
168 gdb_test
"ptype ${name}.w" "type = ${alttype}|${type}"
170 gdb_test
"ptype ${name}.xy" "type = ${type}2"
171 gdb_test
"ptype ${name}.xx" "type = ${type}2"
172 gdb_test
"ptype ${name}.wy" "type = ${type}2"
174 gdb_test
"ptype ${name}.xyz" "type = ${type}3"
175 gdb_test
"ptype ${name}.yxy" "type = ${type}3"
176 gdb_test
"ptype ${name}.yzx" "type = ${type}3"
178 gdb_test
"ptype ${name}.xywz" "type = ${type}4"
179 gdb_test
"ptype ${name}.zzyy" "type = ${type}4"
180 gdb_test
"ptype ${name}.wwww" "type = ${type}4"
182 gdb_test
"ptype ${name}.xy.x" "type = ${alttype}|${type}"
183 gdb_test
"ptype ${name}.wzyx.yy" "type = ${type}2"
184 gdb_test
"ptype ${name}.wzyx.yx.x" "type = ${alttype}|${type}"
185 gdb_test
"ptype ${name}.xyzw.w" "type = ${alttype}|${type}"
187 gdb_test
"ptype ${name}.s0" "type = ${alttype}|${type}"
188 gdb_test
"ptype ${name}.s9" "type = ${alttype}|${type}"
189 gdb_test
"ptype ${name}.sa" "type = ${alttype}|${type}"
190 gdb_test
"ptype ${name}.sf" "type = ${alttype}|${type}"
191 gdb_test
"ptype ${name}.sF" "type = ${alttype}|${type}"
193 gdb_test
"ptype ${name}.s01" "type = ${type}2"
194 gdb_test
"ptype ${name}.s00" "type = ${type}2"
195 gdb_test
"ptype ${name}.sF0" "type = ${type}2"
196 gdb_test
"ptype ${name}.S42" "type = ${type}2"
198 gdb_test
"ptype ${name}.s567" "type = ${type}3"
199 gdb_test
"ptype ${name}.S333" "type = ${type}3"
200 gdb_test
"ptype ${name}.Sf0A" "type = ${type}3"
201 gdb_test
"ptype ${name}.SB1D" "type = ${type}3"
203 gdb_test
"ptype ${name}.s9876" "type = ${type}4"
204 gdb_test
"ptype ${name}.sFFFF" "type = ${type}4"
205 gdb_test
"ptype ${name}.sCafe" "type = ${type}4"
206 gdb_test
"ptype ${name}.Sf001" "type = ${type}4"
208 gdb_test
"ptype ${name}.s00000000" "type = ${type}8"
209 gdb_test
"ptype ${name}.s00224466" "type = ${type}8"
210 gdb_test
"ptype ${name}.sDEADBEEF" "type = ${type}8"
211 gdb_test
"ptype ${name}.Sa628c193" "type = ${type}8"
213 gdb_test
"ptype ${name}.s0123456789aBcDeF" "type = ${type}16"
214 gdb_test
"ptype ${name}.s0022446688AACCFF" "type = ${type}16"
215 gdb_test
"ptype ${name}.S0123456776543210" "type = ${type}16"
216 gdb_test
"ptype ${name}.sFEDCBA9876543210" "type = ${type}16"
218 gdb_test
"ptype ${name}.sfedcba98.S0246" "type = ${type}4"
219 gdb_test
"ptype ${name}.sfedcba98.S0246.s13" "type = ${type}2"
220 gdb_test
"ptype ${name}.sfedcba98.S0246.s13.s0" "type = ${alttype}|${type}"
221 gdb_test
"ptype ${name}.s0123456789abcdef.s22" "type = ${type}2"
223 gdb_test
"ptype ${name}.hi.s7654.wx" "type = ${type}2"
224 gdb_test
"ptype ${name}.s0123456789abcdef.even.lo" "type = ${type}4"
225 gdb_test
"ptype ${name}.odd.xyzw.s23" "type = ${type}2"
226 gdb_test
"ptype ${name}.xyzw.hi.odd" "type = ${alttype}|${type}"
229 proc check_sizeof
{ name size
} {
230 gdb_test
"print sizeof (${name}.lo)" " = [expr $size * 8]"
231 gdb_test
"print sizeof (${name}.hi)" " = [expr $size * 8]"
232 gdb_test
"print sizeof (${name}.even)" " = [expr $size * 8]"
233 gdb_test
"print sizeof (${name}.odd)" " = [expr $size * 8]"
235 gdb_test
"print sizeof (${name}.hi.even)" " = [expr $size * 4]"
236 gdb_test
"print sizeof (${name}.odd.odd.lo)" " = [expr $size * 2]"
237 gdb_test
"print sizeof (${name}.even.hi.lo.odd)" " = $size"
239 gdb_test
"print sizeof (${name}.x)" " = $size"
240 gdb_test
"print sizeof (${name}.xy)" " = [expr $size * 2]"
241 gdb_test
"print sizeof (${name}.xyz)" " = [expr $size * 4]"
242 gdb_test
"print sizeof (${name}.xyzw)" " = [expr $size * 4]"
244 gdb_test
"print sizeof (${name}.xy.x)" " = $size"
245 gdb_test
"print sizeof (${name}.wzyx.yy)" " = [expr $size * 2]"
246 gdb_test
"print sizeof (${name}.wzyx.yx.x)" " = $size"
247 gdb_test
"print sizeof (${name}.xyzw.w)" " = $size"
249 gdb_test
"print sizeof (${name}.s0)" " = $size"
250 gdb_test
"print sizeof (${name}.s01)" " = [expr $size * 2]"
251 gdb_test
"print sizeof (${name}.s012)" " = [expr $size * 4]"
252 gdb_test
"print sizeof (${name}.s0123)" " = [expr $size * 4]"
253 gdb_test
"print sizeof (${name}.s01234567)" " = [expr $size * 8]"
254 gdb_test
"print sizeof (${name}.s0123456789abcdef)" " = [expr $size * 16]"
256 gdb_test
"print sizeof (${name}.sfedcba98.S0246)" " = [expr $size * 4]"
257 gdb_test
"print sizeof (${name}.sfedcba98.S0246.s13)" " = [expr $size * 2]"
258 gdb_test
"print sizeof (${name}.sfedcba98.S0246.s13.s0)" " = $size"
259 gdb_test
"print sizeof (${name}.s0123456789abcdef.s22)" " = [expr $size * 2]"
261 gdb_test
"print sizeof (${name}.hi.s7654.wx)" " = [expr $size * 2]"
262 gdb_test
"print sizeof (${name}.s0123456789abcdef.even.lo)" " = [expr $size * 4]"
263 gdb_test
"print sizeof (${name}.odd.xyzw.s23)" " = [expr $size * 2]"
264 gdb_test
"print sizeof (${name}.xyzw.hi.odd)" " = $size"
267 # OpenCL vector component access
268 proc check_access
{ name } {
269 gdb_test
"print/d ${name}.lo" " = \\{0, 1, 2, 3, 4, 5, 6, 7\\}"
270 gdb_test
"print/d ${name}.hi" " = \\{8, 9, 10, 11, 12, 13, 14, 15\\}"
271 gdb_test
"print/d ${name}.even" " = \\{0, 2, 4, 6, 8, 10, 12, 14\\}"
272 gdb_test
"print/d ${name}.odd" " = \\{1, 3, 5, 7, 9, 11, 13, 15\\}"
274 gdb_test
"print/d ${name}.hi.even" " = \\{8, 10, 12, 14\\}"
275 gdb_test
"print/d ${name}.odd.odd.lo" " = \\{3, 7\\}"
276 gdb_test
"print/d ${name}.even.hi.lo.odd" " = 10"
278 gdb_test
"print/d ${name}.x" " = 0"
279 gdb_test
"print/d ${name}.y" " = 1"
280 gdb_test
"print/d ${name}.z" " = 2"
281 gdb_test
"print/d ${name}.w" " = 3"
283 gdb_test
"print/d ${name}.xy" " = \\{0, 1\\}"
284 gdb_test
"print/d ${name}.xx" " = \\{0, 0\\}"
285 gdb_test
"print/d ${name}.wy" " = \\{3, 1\\}"
287 gdb_test
"print/d ${name}.xyz" " = \\{0, 1, 2\\}"
288 gdb_test
"print/d ${name}.yxy" " = \\{1, 0, 1\\}"
289 gdb_test
"print/d ${name}.yzx" " = \\{1, 2, 0\\}"
291 gdb_test
"print/d ${name}.xywz" " = \\{0, 1, 3, 2\\}"
292 gdb_test
"print/d ${name}.zzyy" " = \\{2, 2, 1, 1\\}"
293 gdb_test
"print/d ${name}.wwww" " = \\{3, 3, 3, 3\\}"
295 gdb_test
"print/d ${name}.xy.x" " = 0"
296 gdb_test
"print/d ${name}.wzyx.yy" " = \\{2, 2\\}"
297 gdb_test
"print/d ${name}.wzyx.yx.x" " = 2"
298 gdb_test
"print/d ${name}.xyzw.w" " = 3"
300 for {set i
0} {$i
< 16} {incr i
} {
301 gdb_test
"print/d ${name}.s[format "%x" $i]" " = $i"
302 gdb_test
"print/d ${name}.S[format "%x" $i]" " = $i"
304 gdb_test
"print/d ${name}.s[format "%X" $i]" " = $i"
305 gdb_test
"print/d ${name}.S[format "%X" $i]" " = $i"
309 gdb_test
"print/d ${name}.s01" " = \\{0, 1\\}"
310 gdb_test
"print/d ${name}.s00" " = \\{0, 0\\}"
311 gdb_test
"print/d ${name}.sF0" " = \\{15, 0\\}"
312 gdb_test
"print/d ${name}.S42" " = \\{4, 2\\}"
314 gdb_test
"print/d ${name}.s567" " = \\{5, 6, 7\\}"
315 gdb_test
"print/d ${name}.S333" " = \\{3, 3, 3\\}"
316 gdb_test
"print/d ${name}.Sf0A" " = \\{15, 0, 10\\}"
317 gdb_test
"print/d ${name}.SB1D" " = \\{11, 1, 13\\}"
319 gdb_test
"print/d ${name}.s9876" " = \\{9, 8, 7, 6\\}"
320 gdb_test
"print/d ${name}.sFFFF" " = \\{15, 15, 15, 15\\}"
321 gdb_test
"print/d ${name}.sCafe" " = \\{12, 10, 15, 14\\}"
322 gdb_test
"print/d ${name}.Sf001" " = \\{15, 0, 0, 1\\}"
324 gdb_test
"print/d ${name}.s00000000" " = \\{0, 0, 0, 0, 0, 0, 0, 0\\}"
325 gdb_test
"print/d ${name}.s00224466" " = \\{0, 0, 2, 2, 4, 4, 6, 6\\}"
326 gdb_test
"print/d ${name}.sDEADBEEF" " = \\{13, 14, 10, 13, 11, 14, 14, 15\\}"
327 gdb_test
"print/d ${name}.Sa628c193" " = \\{10, 6, 2, 8, 12, 1, 9, 3\\}"
329 gdb_test
"print/d ${name}.s0123456789aBcDeF" " = \\{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\\}"
330 gdb_test
"print/d ${name}.s0022446688AACCEE" " = \\{0, 0, 2, 2, 4, 4, 6, 6, 8, 8, 10, 10, 12, 12, 14, 14\\}"
331 gdb_test
"print/d ${name}.S0123456776543210" " = \\{0, 1, 2, 3, 4, 5, 6, 7, 7, 6, 5, 4, 3, 2, 1, 0\\}"
332 gdb_test
"print/d ${name}.sFEDCBA9876543210" " = \\{15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0\\}"
334 gdb_test
"print/d ${name}.sfedcba98.S0246" " = \\{15, 13, 11, 9\\}"
335 gdb_test
"print/d ${name}.sfedcba98.S0246.s13" " = \\{13, 9\\}"
336 gdb_test
"print/d ${name}.sfedcba98.S0246.s13.s0" " = 13"
337 gdb_test
"print/d ${name}.s0123456789abcdef.s22" " = \\{2, 2\\}"
339 gdb_test
"print/d ${name}.hi.s7654.wx" " = \\{12, 15\\}"
340 gdb_test
"print/d ${name}.s0123456789abcdef.even.lo" " = \\{0, 2, 4, 6\\}"
341 gdb_test
"print/d ${name}.odd.xyzw.s23" " = \\{5, 7\\}"
342 gdb_test
"print/d ${name}.xyzw.hi.odd" " = 3"
345 for {set i
0} {$i
< 16} {incr i
} {
346 gdb_test_no_output
"set variable ${name}.s[format "%x" $i] = [expr 15 - $i]"
347 gdb_test
"print/d ${name}.s[format "%x" $i]" " = [expr 15 - $i]"
349 gdb_test
"print/d ${name}" " = \\{15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0\\}"
351 gdb_test_no_output
"set variable ${name}.s02468ace = ${name}.s13579bdf"
352 gdb_test
"print/d ${name}" " = \\{14, 14, 12, 12, 10, 10, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0\\}"
354 gdb_test_no_output
"set variable ${name}.wzyx = ${name}.even.odd"
355 gdb_test
"print/d ${name}" " = \\{0, 4, 8, 12, 10, 10, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0\\}"
357 gdb_test_no_output
"set variable ${name}.odd.lo = ${name}.hi.even"
358 gdb_test
"print/d ${name}" " = \\{0, 6, 8, 4, 10, 2, 8, 0, 6, 6, 4, 4, 2, 2, 0, 0\\}"
360 gdb_test_no_output
"set variable ${name}.hi.hi.hi = ${name}.lo.s1623.lo"
361 gdb_test
"print/d ${name}" " = \\{0, 6, 8, 4, 10, 2, 8, 0, 6, 6, 4, 4, 2, 2, 6, 8\\}"
364 proc do_check
{ name type alttype size
} {
365 check_basic $
{name} $
{type
} $
{size
}
366 check_type $
{name} $
{type
} $
{alttype
}
367 check_sizeof $
{name} $
{size
}
371 do_check
"c16" "char" "char" 1
372 do_check
"uc16" "uchar" "unsigned char" 1
373 do_check
"s16" "short" "short" 2
374 do_check
"us16" "ushort" "unsigned short" 2
375 do_check
"i16" "int" "int" 4
376 do_check
"ui16" "uint" "unsigned int" 4
377 do_check
"l16" "long" "long" 8
378 do_check
"ul16" "ulong" "unsigned long" 8
379 if { $
{have_cl_khr_fp16
} } {
380 do_check
"h16" "half" "half" 2
382 do_check
"f16" "float" "float" 4
383 if { $
{have_cl_khr_fp64
} } {
384 do_check
"d16" "double" "double" 8
387 #
Delete the OpenCL
program source
388 remote_file target
delete $
{clprogram
}