Consider the following example:
#pragma omp target device(HARPSIM) map(to: A, B, C) map(from: D, E, F, G, H)
#pragma omp parallel for use(hrw) module(loopback)
for (int i = 0; i < NI; i++) {
// some code
}
In the hardware side, the IP developer expect the pattern below:
| Variable |
Buffer Number |
| A |
0 |
| B |
1 |
| C |
2 |
| D |
3 |
| E |
4 |
| F |
5 |
| G |
6 |
| H |
7 |
However, this is not true because depend of the code inside the for loop.