Home
last modified time | relevance | path

Searched refs:cl_khr_fp16 (Results 1 – 25 of 101) sorted by relevance

12345

/external/llvm-project/clang/test/SemaOpenCL/
Dhalf.cl4 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
Dextensions.cl11 …-unknown-unknown -target-cpu r600 -verify -pedantic -fsyntax-only -cl-ext=+cl_khr_fp64,+cl_khr_fp16
22 …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 -DNOFP64
67 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
69 // expected-warning@-2{{unsupported OpenCL extension 'cl_khr_fp16' - ignoring}}
/external/clang/test/SemaOpenCL/
Dhalf.cl3 #pragma OPENCL EXTENSION cl_khr_fp16 : disable
4 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
/external/llvm-project/libclc/generic/lib/math/
Dfmin.inc18 #ifdef cl_khr_fp16
20 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
26 #endif // ifdef cl_khr_fp16
Dfmax.inc18 #ifdef cl_khr_fp16
20 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
26 #endif // ifdef cl_khr_fp16
Dunary_builtin.inc18 #ifdef cl_khr_fp16
20 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
Dcopysign.cl14 #ifdef cl_khr_fp16
16 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
Dfmin.cl14 #ifdef cl_khr_fp16
16 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
Dfmax.cl15 #ifdef cl_khr_fp16
17 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
/external/llvm-project/libclc/generic/include/math/
Dclc_ldexp.h8 #ifdef cl_khr_fp16
9 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
/external/llvm-project/libclc/generic/include/clc/
Dclc.h11 #ifdef cl_khr_fp16
12 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
/external/llvm-project/libclc/amdgpu/lib/math/
Dnextafter.cl12 #ifdef cl_khr_fp16
13 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
/external/llvm-project/libclc/generic/lib/relational/
Disnan.cl20 #ifdef cl_khr_fp16
22 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
Disnormal.cl19 #ifdef cl_khr_fp16
21 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
Dsignbit.cl20 #ifdef cl_khr_fp16
22 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
Disfinite.cl19 #ifdef cl_khr_fp16
21 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
Disinf.cl19 #ifdef cl_khr_fp16
21 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
Disnotequal.cl22 #ifdef cl_khr_fp16
23 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
Disordered.cl22 #ifdef cl_khr_fp16
23 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
Dislessgreater.cl23 #ifdef cl_khr_fp16
25 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
Dislessequal.cl23 #ifdef cl_khr_fp16
25 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
Disunordered.cl23 #ifdef cl_khr_fp16
25 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
Disgreaterequal.cl23 #ifdef cl_khr_fp16
25 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
/external/llvm-project/clang/test/CodeGenOpenCL/
Damdgpu-sizeof-alignof.cl17 #ifdef cl_khr_fp16
18 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
51 #ifdef cl_khr_fp16
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dunify-metadata.ll14 ; ALL-DAG: ![[USED_EXT_1]] = !{!"cl_khr_fp16"}
24 !3 = !{!"cl_images", !"cl_khr_fp16"}

12345