cacao  Release 0.1.03-dev
Compute And Control For Adaptive Optics
AOloopControl_AOcompute.h
Go to the documentation of this file.
1 #ifndef _AOLOOPCONTROL_AOcompute_H
2 #define _AOLOOPCONTROL_AOcompute_H
3 
4 
5 
6 typedef struct
7 {
8  int_fast8_t ComputeWFSsol_FLAG;
9  int_fast8_t ComputeFLAG0;
10  int_fast8_t ComputeFLAG1;
11  int_fast8_t ComputeFLAG2;
12  int_fast8_t ComputeFLAG3;
13 
14  int_fast8_t GPU0; // NB of GPU devices in set 0. 1+ if matrix multiplication done by GPU (set 0)
15  int_fast8_t GPU1; // NB of GPU devices in set 1. 1+ if matrix multiplication done by GPU (set 1)
16  int_fast8_t GPU2; // NB of GPU devices in set 2. 1+ if matrix multiplication done by GPU (set 2)
17  int_fast8_t GPU3; // NB of GPU devices in set 3. 1+ if matrix multiplication done by GPU (set 3)
18  int_fast8_t GPU4; // NB of GPU devices in set 4. 1+ if matrix multiplication done by GPU (set 4)
19  int_fast8_t GPU5; // NB of GPU devices in set 5. 1+ if matrix multiplication done by GPU (set 5)
20  int_fast8_t GPU6; // NB of GPU devices in set 6. 1+ if matrix multiplication done by GPU (set 6)
21  int_fast8_t GPU7; // NB of GPU devices in set 7. 1+ if matrix multiplication done by GPU (set 7)
22 
23  int_fast8_t GPUall; // 1 if scaling computations done by GPU
24  int_fast8_t GPUusesem; // 1 if using semaphores to control GPU
25  int_fast8_t AOLCOMPUTE_TOTAL_ASYNC; // 1 if performing image total in separate thread (runs faster, but image total dates from last frame)
26 
28 
29 
30 
31 
32 
33 
35  long loop,
36  double frequ
37  );
38 
39 
40 #endif
int_fast8_t GPU3
Definition: AOloopControl_AOcompute.h:17
Definition: AOloopControl_AOcompute.h:6
int_fast8_t ComputeFLAG0
Definition: AOloopControl_AOcompute.h:9
int_fast8_t GPUall
Definition: AOloopControl_AOcompute.h:23
int_fast8_t ComputeFLAG2
Definition: AOloopControl_AOcompute.h:11
int_fast8_t GPUusesem
Definition: AOloopControl_AOcompute.h:24
int_fast8_t GPU1
Definition: AOloopControl_AOcompute.h:15
int AOloopControl_AOcompute_GUI(long loop, double frequ)
Definition: AOloopControl_AOcompute.c:159
int_fast8_t AOLCOMPUTE_TOTAL_ASYNC
Definition: AOloopControl_AOcompute.h:25
int_fast8_t GPU2
Definition: AOloopControl_AOcompute.h:16
int_fast8_t GPU0
Definition: AOloopControl_AOcompute.h:14
int_fast8_t ComputeFLAG1
Definition: AOloopControl_AOcompute.h:10
int_fast8_t ComputeFLAG3
Definition: AOloopControl_AOcompute.h:12
int_fast8_t GPU4
Definition: AOloopControl_AOcompute.h:18
int_fast8_t GPU5
Definition: AOloopControl_AOcompute.h:19
int_fast8_t GPU7
Definition: AOloopControl_AOcompute.h:21
int_fast8_t GPU6
Definition: AOloopControl_AOcompute.h:20
int_fast8_t ComputeWFSsol_FLAG
Definition: AOloopControl_AOcompute.h:8