Loading...
Searching...
No Matches
itkOpenCL.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef itkOpenCL_h
#define itkOpenCL_h
#include "itkOpenCLExport.h"
#ifndef CL_TARGET_OPENCL_VERSION
# define CL_TARGET_OPENCL_VERSION 120
#endif
#if defined(__APPLE__) || defined(__MACOSX)
# include <OpenCL/cl_platform.h>
# include <OpenCL/cl.h>
#else
# include <CL/cl_platform.h>
# include <CL/cl.h>
#endif
namespace itk
{
enum OpenCLVersion
{
VERSION_1_0 = 0x0001,
VERSION_1_1 = 0x0002,
VERSION_1_2 = 0x0003,
VERSION_2_0 = 0x0004,
VERSION_2_1 = 0x0005
};
} // end namespace itk
#endif /* itkOpenCL_h */
itkOpenCLExport.h
itk
Definition itkAdvancedImageToImageMetric.h:43
itk::OpenCLVersion
OpenCLVersion
Definition itkOpenCL.h:46
itk::VERSION_2_1
@ VERSION_2_1
Definition itkOpenCL.h:51
itk::VERSION_1_2
@ VERSION_1_2
Definition itkOpenCL.h:49
itk::VERSION_1_0
@ VERSION_1_0
Definition itkOpenCL.h:47
itk::VERSION_1_1
@ VERSION_1_1
Definition itkOpenCL.h:48
itk::VERSION_2_0
@ VERSION_2_0
Definition itkOpenCL.h:50

Generated on 1768596610 for elastix by 1.15.0 |