go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkOpenCLExtension.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef itkOpenCLExtension_h
19#define itkOpenCLExtension_h
20
21#include "itkOpenCL.h"
22
23// This file provides standard OpenCL definitions
24// that may not be present in the system headers.
25// See the "cl.h" file on your system.
26
27// OpenCL 1.1 extension definitions
28// cl_khr_fp64
29#ifndef CL_DEVICE_DOUBLE_FP_CONFIG
30# define CL_DEVICE_DOUBLE_FP_CONFIG 0x1032
31#endif
32
33// cl_khr_fp16
34#ifndef CL_DEVICE_HALF_FP_CONFIG
35# define CL_DEVICE_HALF_FP_CONFIG 0x1033
36#endif
37
38// OpenCL 1.2 extension definitions
39#ifndef CL_COMMAND_BARRIER
40# define CL_COMMAND_BARRIER 0x1205
41#endif
42
43#ifndef CL_COMMAND_MIGRATE_MEM_OBJECTS
44# define CL_COMMAND_MIGRATE_MEM_OBJECTS 0x1206
45#endif
46
47#ifndef CL_COMMAND_FILL_BUFFER
48# define CL_COMMAND_FILL_BUFFER 0x1207
49#endif
50
51#ifndef CL_COMMAND_FILL_IMAGE
52# define CL_COMMAND_FILL_IMAGE 0x1208
53#endif
54
55#ifndef CL_MEM_OBJECT_IMAGE2D_ARRAY
56# define CL_MEM_OBJECT_IMAGE2D_ARRAY 0x10F3
57#endif
58
59#ifndef CL_MEM_OBJECT_IMAGE1D
60# define CL_MEM_OBJECT_IMAGE1D 0x10F4
61#endif
62
63#ifndef CL_MEM_OBJECT_IMAGE1D_ARRAY
64# define CL_MEM_OBJECT_IMAGE1D_ARRAY 0x10F5
65#endif
66
67#ifndef CL_MEM_OBJECT_IMAGE1D_BUFFER
68# define CL_MEM_OBJECT_IMAGE1D_BUFFER 0x10F6
69#endif
70
71// cl_khr_icd
72// http://www.khronos.org/registry/cl/extensions/khr/cl_khr_icd.txt
73#ifndef CL_PLATFORM_ICD_SUFFIX_KHR
74# define CL_PLATFORM_ICD_SUFFIX_KHR 0x0920
75#endif
76#ifndef CL_PLATFORM_NOT_FOUND_KHR
77# define CL_PLATFORM_NOT_FOUND_KHR -1001
78#endif
79
80#endif /* itkOpenCLExtension_h */


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo