Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / BilatTools_CPP / src / core / tools / header / namespace_cpu / cudaType_CPU.h
1 #ifndef CUDA_TYPE_CPU_H_
2 #define CUDA_TYPE_CPU_H_
3
4 /*----------------------------------------------------------------------*\
5 |* Declaration *|
6 \*---------------------------------------------------------------------*/
7
8 /*--------------------------------------*\
9 |* Public *|
10 \*-------------------------------------*/
11
12 // Attention : code duplicated : aussi dans shared_lib api image
13 // Contrainte : Les deux versions doivent etre identique
14
15 namespace cpu
16 {
17
18 #define uchar unsigned char
19 #define uint unsigned int
20 #define ulong unsigned long
21
22 struct float2
23 {
24 float x;
25 float y;
26 };
27
28 struct float3
29 {
30 float x;
31 float y;
32 float z;
33 };
34
35 struct uchar4
36 {
37 uchar x;
38 uchar y;
39 uchar z;
40 uchar w;
41 };
42 }
43
44 #endif
45
46 /*----------------------------------------------------------------------*\
47 |* End *|
48 \*---------------------------------------------------------------------*/