File: commonFunctionsInc.xml

package info (click to toggle)
khronos-opencl-man 1.0~svn33624-5.1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,380 kB
  • sloc: xml: 58,847; makefile: 603; ruby: 183; sh: 22
file content (30 lines) | stat: -rw-r--r-- 1,350 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

    <para>
      The generic type name <type>gentype</type> is used to indicate that the function can
      take <type>float</type>, <type>float2</type>, <type>float3</type>, <type>float4</type>,
      <type>float8</type>, <type>float16</type>, <type>double</type>, <type>double2</type>,
      <type>double3</type>, <type>double4</type>, <type>double8</type>, or <type>double16</type>
      as the type for the arguments.
    </para>

    <para>
      The generic type name <type>gentypef</type> is used to indicate that the function can
      take <type>float</type>, <type>float2</type>, <type>float3</type>, <type>float4</type>,
      <type>float8</type>, or <type>float16</type> as the type for the arguments.
    </para>

    <para>
      The generic type name <type>gentyped</type> is used to indicate that the function can take
      <type>double</type>, <type>double2</type>, <type>double3</type>, <type>double4</type>,
      <type>double8</type>, or <type>double16</type> as the type for the arguments.
    </para>

    <para>
      The built-in common functions are implemented using the round to nearest even rounding mode.
    </para>

<!-- don't mention the half option here because it doesn't apply to all the files that include
this file.  Instead, mention it in each individual .xml file where it applies. -->

<!-- 17-Oct-2011 -->