12065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto/*
22065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** Copyright (c) 2015-2016 The Khronos Group Inc.
32065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto**
42065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** Permission is hereby granted, free of charge, to any person obtaining a copy
52065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** of this software and/or associated documentation files (the "Materials"),
62065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** to deal in the Materials without restriction, including without limitation
72065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** the rights to use, copy, modify, merge, publish, distribute, sublicense,
82065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** and/or sell copies of the Materials, and to permit persons to whom the
92065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** Materials are furnished to do so, subject to the following conditions:
102065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto**
112065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** The above copyright notice and this permission notice shall be included in
122065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** all copies or substantial portions of the Materials.
132065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto**
142065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
152065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
162065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
172065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto**
182065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
192065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
202065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
212065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
222065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
232065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS
242065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto** IN THE MATERIALS.
252065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto*/
262065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
272065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto//
282065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto// Author: Boaz Ouriel, Intel
292065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto//
302065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
312065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Netonamespace OpenCLLIB {
322065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
332065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Netoenum Entrypoints {
342065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
352065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    // math functions
362065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Acos = 0,
372065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Acosh = 1,
382065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Acospi = 2,
392065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Asin = 3,
402065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Asinh = 4,
412065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Asinpi = 5,
422065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Atan = 6,
432065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Atan2 = 7,
442065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Atanh = 8,
452065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Atanpi = 9,
462065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Atan2pi = 10,
472065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Cbrt = 11,
482065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Ceil = 12,
492065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Copysign = 13,
502065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Cos = 14,
512065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Cosh = 15,
522065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Cospi = 16,
532065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Erfc = 17,
542065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Erf = 18,
552065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Exp = 19,
562065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Exp2 = 20,
572065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Exp10 = 21,
582065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Expm1 = 22,
592065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Fabs = 23,
602065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Fdim = 24,
612065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Floor = 25,
622065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Fma = 26,
632065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Fmax = 27,
642065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Fmin = 28,
652065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Fmod = 29,
662065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Fract = 30,
672065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Frexp = 31,
682065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Hypot = 32,
692065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Ilogb = 33,
702065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Ldexp = 34,
712065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Lgamma = 35,
722065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Lgamma_r = 36,
732065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Log = 37,
742065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Log2 = 38,
752065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Log10 = 39,
762065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Log1p = 40,
772065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Logb = 41,
782065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Mad = 42,
792065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Maxmag = 43,
802065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Minmag = 44,
812065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Modf = 45,
822065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Nan = 46,
832065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Nextafter = 47,
842065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Pow = 48,
852065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Pown = 49,
862065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Powr = 50,
872065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Remainder = 51,
882065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Remquo = 52,
892065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Rint = 53,
902065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Rootn = 54,
912065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Round = 55,
922065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Rsqrt = 56,
932065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Sin = 57,
942065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Sincos = 58,
952065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Sinh = 59,
962065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Sinpi = 60,
972065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Sqrt = 61,
982065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Tan = 62,
992065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Tanh = 63,
1002065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Tanpi = 64,
1012065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Tgamma = 65,
1022065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Trunc = 66,
1032065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Half_cos = 67,
1042065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Half_divide = 68,
1052065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Half_exp = 69,
1062065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Half_exp2 = 70,
1072065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Half_exp10 = 71,
1082065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Half_log = 72,
1092065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Half_log2 = 73,
1102065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Half_log10 = 74,
1112065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Half_powr = 75,
1122065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Half_recip = 76,
1132065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Half_rsqrt = 77,
1142065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Half_sin = 78,
1152065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Half_sqrt = 79,
1162065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Half_tan = 80,
1172065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Native_cos = 81,
1182065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Native_divide = 82,
1192065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Native_exp = 83,
1202065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Native_exp2 = 84,
1212065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Native_exp10 = 85,
1222065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Native_log = 86,
1232065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Native_log2 = 87,
1242065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Native_log10 = 88,
1252065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Native_powr = 89,
1262065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Native_recip = 90,
1272065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Native_rsqrt = 91,
1282065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Native_sin = 92,
1292065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Native_sqrt = 93,
1302065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Native_tan = 94,
1312065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
1322065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    // Common
1332065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    FClamp = 95,
1342065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Degrees = 96,
1352065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    FMax_common = 97,
1362065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    FMin_common = 98,
1372065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Mix = 99,
1382065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Radians = 100,
1392065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Step = 101,
1402065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Smoothstep = 102,
1412065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Sign = 103,
1422065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
1432065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    // Geometrics
1442065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Cross = 104,
1452065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Distance = 105,
1462065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Length = 106,
1472065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Normalize = 107,
1482065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Fast_distance = 108,
1492065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Fast_length = 109,
1502065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Fast_normalize = 110,
1512065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
1522065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    // Images - Deprecated
1532065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_imagef = 111,
1542065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_imagei = 112,
1552065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_imageui = 113,
1562065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_imageh = 114,
1572065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
1582065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_imagef_samplerless = 115,
1592065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_imagei_samplerless = 116,
1602065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_imageui_samplerless = 117,
1612065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_imageh_samplerless = 118,
1622065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
1632065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Write_imagef = 119,
1642065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Write_imagei = 120,
1652065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Write_imageui = 121,
1662065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Write_imageh = 122,
1672065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_imagef_mipmap_lod = 123,
1682065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_imagei_mipmap_lod = 124,
1692065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_imageui_mipmap_lod = 125,
1702065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_imagef_mipmap_grad = 126,
1712065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_imagei_mipmap_grad = 127,
1722065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_imageui_mipmap_grad = 128,
1732065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
1742065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    // Image write with LOD
1752065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Write_imagef_mipmap_lod = 129,
1762065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Write_imagei_mipmap_lod = 130,
1772065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Write_imageui_mipmap_lod = 131,
1782065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
1792065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    // Images - Deprecated
1802065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Get_image_width = 132,
1812065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Get_image_height = 133,
1822065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Get_image_depth = 134,
1832065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Get_image_channel_data_type = 135,
1842065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Get_image_channel_order = 136,
1852065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Get_image_dim = 137,
1862065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Get_image_array_size = 138,
1872065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Get_image_num_samples = 139,
1882065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Get_image_num_mip_levels = 140,
1892065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
1902065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    // Integers
1912065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    SAbs = 141,
1922065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    SAbs_diff = 142,
1932065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    SAdd_sat = 143,
1942065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    UAdd_sat = 144,
1952065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    SHadd = 145,
1962065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    UHadd = 146,
1972065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    SRhadd = 147,
1982065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    URhadd = 148,
1992065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    SClamp = 149,
2002065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    UClamp = 150,
2012065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Clz = 151,
2022065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Ctz = 152,
2032065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    SMad_hi = 153,
2042065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    UMad_sat = 154,
2052065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    SMad_sat = 155,
2062065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    SMax = 156,
2072065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    UMax = 157,
2082065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    SMin = 158,
2092065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    UMin = 159,
2102065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    SMul_hi = 160,
2112065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Rotate = 161,
2122065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    SSub_sat = 162,
2132065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    USub_sat = 163,
2142065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    U_Upsample = 164,
2152065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    S_Upsample = 165,
2162065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Popcount = 166,
2172065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    SMad24 = 167,
2182065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    UMad24 = 168,
2192065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    SMul24 = 169,
2202065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    UMul24 = 170,
2212065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
2222065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    // Vector Loads/Stores
2232065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Vloadn = 171,
2242065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Vstoren = 172,
2252065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Vload_half = 173,
2262065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Vload_halfn = 174,
2272065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Vstore_half = 175,
2282065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Vstore_half_r = 176,
2292065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Vstore_halfn = 177,
2302065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Vstore_halfn_r = 178,
2312065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Vloada_halfn = 179,
2322065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Vstorea_halfn = 180,
2332065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Vstorea_halfn_r = 181,
2342065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
2352065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    // Vector Misc
2362065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Shuffle = 182,
2372065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Shuffle2 = 183,
2382065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
2392065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    //
2402065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Printf = 184,
2412065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Prefetch = 185,
2422065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
2432065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    // Relationals
2442065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Bitselect = 186,
2452065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Select = 187,
2462065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
2472065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    // pipes
2482065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Read_pipe = 188,
2492065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Write_pipe = 189,
2502065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Reserve_read_pipe = 190,
2512065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Reserve_write_pipe = 191,
2522065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Commit_read_pipe = 192,
2532065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Commit_write_pipe = 193,
2542065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Is_valid_reserve_id = 194,
2552065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Work_group_reserve_read_pipe = 195,
2562065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Work_group_reserve_write_pipe = 196,
2572065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Work_group_commit_read_pipe = 197,
2582065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Work_group_commit_write_pipe = 198,
2592065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Get_pipe_num_packets = 199,
2602065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    Get_pipe_max_packets = 200,
2612065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
2622065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    // more integers
2632065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    UAbs = 201,
2642065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    UAbs_diff = 202,
2652065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto    UMul_hi = 203,
266d61c73e509fe3c2739252b9d9a9ba678c3749179David Neto    UMad_hi = 204
2672065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto};
2682065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
2692065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
2702065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
271d61c73e509fe3c2739252b9d9a9ba678c3749179David Neto} // end namespace OpenCL20
2722065e59fa566c4596e469e8c4b1d23246b8fb4dDavid Neto
273