Searched refs:cl_khr_fp16 (Results 1 – 25 of 101) sorted by relevance
12345
4 constant float f = 1.0h; // expected-error{{half precision constant requires cl_khr_fp16}}11 …error{{loading directly from pointer to type '__private half' requires cl_khr_fp16. Use vector dat…12 …*p = 0; // expected-error{{assigning directly to pointer to type 'half' requires cl_khr_fp16. Use …13 …error{{loading directly from pointer to type '__private half' requires cl_khr_fp16. Use vector dat…14 …p[1] = 0; // expected-error{{assigning directly to pointer to type 'half' requires cl_khr_fp16. Us…18 c = (float) 1.0h; // expected-error{{half precision constant requires cl_khr_fp16}}19 b = 1.0h; // expected-error{{half precision constant requires cl_khr_fp16}}31 // Exactly the same as above but with the cl_khr_fp16 extension enabled.32 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
11 …-unknown-unknown -target-cpu r600 -verify -pedantic -fsyntax-only -cl-ext=+cl_khr_fp64,+cl_khr_fp1622 …ify -pedantic -fsyntax-only -cl-ext=-all -cl-ext=+cl_khr_fp64 -cl-ext=+cl_khr_fp16 -cl-ext=-cl_khr…23 …verify -pedantic -fsyntax-only -cl-ext=-all -cl-ext=+cl_khr_fp64,-cl_khr_fp64,+cl_khr_fp16 -DNOFP6467 #pragma OPENCL EXTENSION cl_khr_fp16 : enable69 // expected-warning@-2{{unsupported OpenCL extension 'cl_khr_fp16' - ignoring}}
3 #pragma OPENCL EXTENSION cl_khr_fp16 : disable4 constant float f = 1.0h; // expected-error{{half precision constant requires cl_khr_fp16}}16 c = (float) 1.0h; // expected-error{{half precision constant requires cl_khr_fp16}}17 b = 1.0h; // expected-error{{half precision constant requires cl_khr_fp16}}26 // Exactly the same as above but with the cl_khr_fp16 extension enabled.27 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
18 #ifdef cl_khr_fp1620 #pragma OPENCL EXTENSION cl_khr_fp16 : enable26 #endif // ifdef cl_khr_fp16
18 #ifdef cl_khr_fp1620 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
14 #ifdef cl_khr_fp1616 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
15 #ifdef cl_khr_fp1617 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
8 #ifdef cl_khr_fp169 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
11 #ifdef cl_khr_fp1612 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
12 #ifdef cl_khr_fp1613 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
20 #ifdef cl_khr_fp1622 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
19 #ifdef cl_khr_fp1621 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
22 #ifdef cl_khr_fp1623 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
23 #ifdef cl_khr_fp1625 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
17 #ifdef cl_khr_fp1618 #pragma OPENCL EXTENSION cl_khr_fp16 : enable51 #ifdef cl_khr_fp16
14 ; ALL-DAG: ![[USED_EXT_1]] = !{!"cl_khr_fp16"}24 !3 = !{!"cl_images", !"cl_khr_fp16"}