/*======================================================================================

	Program:		Range Imaging Toolkit (RITK)
	Module:			RITKOpenCL.h
	Version:		TODO
	Date:			TODO

	Copyright (c) 2010-2011
	Pattern Recognition Lab, 
    University Erlangen-Nuremberg, Germany
    All rights reserved.

	This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
	See RITKCopyright.txt for more information.

	http://www5.informatik.uni-erlangen.de/research/software/ritk

========================================================================================*/

#ifndef RITKOPENCL_H__
#define RITKOPENCL_H__


//#include <QtCore/QtGlobal>



// Due to explicit template instantiation
#pragma warning(disable : 4661)

namespace ritk
{

// Shared library export/import macro for the cuda group
#if defined(RITKOPENCL_SHAREDLIB_EXPORT)
#  define OPENCL_EXPORT __declspec(dllexport)
#else
#  define OPENCL_EXPORT __declspec(dllimport)
#endif




/*#define CheckCUDAError()																				\
{																										\
	cudaError_t err = cudaGetLastError();																\
	if ( cudaSuccess != err )																			\
	{																									\
		fprintf(stderr, "%s %i: CUDA error: %s.\n",  __FILE__, __LINE__, cudaGetErrorString( err) );	\
		exit(EXIT_FAILURE);																				\
	}																									\
}
*/

	

} // end namespace ritk


#endif // RITKOPENCL_H__