Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / thirdparty / clDNN / kernel_selector / core / cl_kernels / include / vec_typedefs.cl
1 /*
2 // Copyright (c) 2016 Intel Corporation
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //      http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 */
16
17 typedef struct half1  { half s0; }                                                               half1;
18 typedef struct half5  { half s0; half s1; half s2; half s3; half s4; }                           half5;
19 typedef struct half6  { half s0; half s1; half s2; half s3; half s4; half s5; }                  half6;
20 typedef struct half7  { half s0; half s1; half s2; half s3; half s4; half s5; half s6; }         half7;
21 typedef struct half9  { half s0; half s1; half s2; half s3; half s4; half s5; half s6; half s7; 
22                         half s8; }                                                               half9;
23 typedef struct half10 { half s0; half s1; half s2; half s3; half s4; half s5; half s6; half s7; 
24                         half s8; half s9; }                                                      half10;
25 typedef struct half11 { half s0; half s1; half s2; half s3; half s4; half s5; half s6; half s7; 
26                         half s8; half s9; half sa; }                                             half11;
27 typedef struct half12 { half s0; half s1; half s2; half s3; half s4; half s5; half s6; half s7; 
28                         half s8;  half s9; half sa; half sb;}                                    half12;
29 typedef struct half13 { half s0; half s1; half s2; half s3; half s4; half s5; half s6; half s7; 
30                         half s8;  half s9; half sa; half sb; half sc;}                           half13;
31 typedef struct half14 { half s0; half s1; half s2; half s3; half s4; half s5; half s6; half s7; 
32                         half s8;  half s9; half sa; half sb; half sc; half se;}                  half14;
33 typedef struct half15 { half s0; half s1; half s2; half s3; half s4; half s5; half s6; half s7; 
34                        half s8;  half s9; half sa; half sb; half sc; half se; half sf;}          half15;
35 typedef struct half0  { half s0; } half0; //never used but makes compiler happy.
36
37 typedef struct float1 { float s0; } float1;
38 typedef struct float5 { float s0; float s1; float s2; float s3; float s4; } float5;
39 typedef struct float6 { float s0; float s1; float s2; float s3; float s4; float s5; } float6;
40 typedef struct float7 { float s0; float s1; float s2; float s3; float s4; float s5; float s6; } float7;
41 typedef struct float9 { float s0; float s1; float s2; float s3; float s4; float s5; float s6; float s7; float s8; } float9;
42 typedef struct float10 { float s0; float s1; float s2; float s3; float s4; float s5;
43                          float s6; float s7; float s8; float s9;} float10;
44 typedef struct float11 { float s0; float s1; float s2; float s3; float s4; float s5;
45                          float s6; float s7; float s8; float s9; float sa;} float11;
46 typedef struct float12 { float s0; float s1; float s2; float s3; float s4; float s5;
47                          float s6; float s7; float s8; float s9; float sa; float sb; } float12;
48 typedef struct float13 { float s0; float s1; float s2; float s3; float s4; float s5;
49                          float s6; float s7; float s8; float s9; float sa; float sb; float sc;} float13;
50 typedef struct float14 { float s0; float s1; float s2; float s3; float s4; float s5;
51                          float s6; float s7; float s8; float s9; float sa; float sb; float sc; float sd; } float14;
52 typedef struct float15 { float s0; float s1; float s2; float s3; float s4; float s5;
53                          float s6; float s7; float s8; float s9; float sa; float sb; float sc; float sd; float se; } float15;
54 typedef struct float0 { float s0; } float0; //never used but makes compiler happy.