Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Image_GL / INC / 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 namespace cpu
13 {
14
15 //#define uchar unsigned char
16 typedef unsigned char uchar; //Mieux, en plus tu as la coloration synthaxique
17
18 struct float2
19 {
20 float x;
21 float y;
22 };
23
24 struct float3
25 {
26 float x;
27 float y;
28 float z;
29 };
30
31 struct uchar4
32 {
33 uchar x;
34 uchar y;
35 uchar z;
36 uchar w;
37 };
38 }
39
40 #endif
41
42 /*----------------------------------------------------------------------*\
43 |* End *|
44 \*---------------------------------------------------------------------*/