X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FBilatTools_Cuda_smart_switch%2Fsrc%2Fcore%2Fswitch%2Fheader%2Ftype%2FcudaType.h;fp=WCudaMSE%2FBilatTools_Cuda_smart_switch%2Fsrc%2Fcore%2Fswitch%2Fheader%2Ftype%2FcudaType.h;h=8d21c812addf8f2a79efdc4a83d11d5fd939ec37;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/BilatTools_Cuda_smart_switch/src/core/switch/header/type/cudaType.h b/WCudaMSE/BilatTools_Cuda_smart_switch/src/core/switch/header/type/cudaType.h new file mode 100755 index 0000000..8d21c81 --- /dev/null +++ b/WCudaMSE/BilatTools_Cuda_smart_switch/src/core/switch/header/type/cudaType.h @@ -0,0 +1,43 @@ +#ifndef CUDA_TYPE_PRIORITE_H_ +#define CUDA_TYPE_PRIORITE_H_ + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +#ifndef CBI_NO_CUDA // pour compilation avec cuda + +#include "cudaTools.h" +#include "cuda_runtime.h" +//#include "prioriteGPU.h" + +#ifndef uchar +#define uchar unsigned char +#endif + +#ifndef uint +#define uint unsigned char +#endif + +#ifndef ulong +#define ulong unsigned char +#endif + + +#else // pour compilation sans cuda + +#include "cudaType_CPU.h" +#include "prioriteCPU.h" + +#endif + + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/