blob: f2536bc9fc99f61ff5dfc52a559101669c6a737e [file] [log] [blame]
Peter Collingbourned5395fb2012-01-08 22:09:58 +00001#ifndef cl_clang_storage_class_specifiers
2#error Implementation requires cl_clang_storage_class_specifiers extension!
3#endif
4
5#pragma OPENCL EXTENSION cl_clang_storage_class_specifiers : enable
6
7#ifdef cl_khr_fp64
8#pragma OPENCL EXTENSION cl_khr_fp64 : enable
9#endif
10
11/* Function Attributes */
12#include <clc/clcfunc.h>
13
14/* Pattern Macro Definitions */
15#include <clc/clcmacro.h>
16
17/* 6.1 Supported Data Types */
18#include <clc/clctypes.h>
19
Peter Collingbourne3a78a472012-05-28 20:42:54 +000020/* 6.2.3 Explicit Conversions */
21#include <clc/convert.h>
22
Peter Collingbourned5395fb2012-01-08 22:09:58 +000023/* 6.2.4.2 Reinterpreting Types Using as_type() and as_typen() */
24#include <clc/as_type.h>
25
26/* 6.11.1 Work-Item Functions */
27#include <clc/workitem/get_global_size.h>
28#include <clc/workitem/get_global_id.h>
29#include <clc/workitem/get_local_size.h>
30#include <clc/workitem/get_local_id.h>
31#include <clc/workitem/get_num_groups.h>
32#include <clc/workitem/get_group_id.h>
33
34/* 6.11.2 Math Functions */
35#include <clc/math/cos.h>
36#include <clc/math/sin.h>
37#include <clc/math/sqrt.h>
38#include <clc/math/native_cos.h>
39#include <clc/math/native_divide.h>
40#include <clc/math/native_sin.h>
41#include <clc/math/native_sqrt.h>
42
43/* 6.11.3 Integer Functions */
44#include <clc/integer/abs.h>
45#include <clc/integer/abs_diff.h>
46#include <clc/integer/add_sat.h>
47
48/* 6.11.5 Geometric Functions */
49#include <clc/geometric/cross.h>
50#include <clc/geometric/length.h>
51#include <clc/geometric/normalize.h>
52
53/* 6.11.6 Relational Functions */
54#include <clc/relational/select.h>
55
56/* 6.11.8 Synchronization Functions */
57#include <clc/synchronization/cl_mem_fence_flags.h>
58#include <clc/synchronization/barrier.h>
59
60#pragma OPENCL EXTENSION all : disable