Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variables map between OpenMP and HardCloud buffer #2

Open
ciroceissler opened this issue May 15, 2018 · 0 comments
Open

variables map between OpenMP and HardCloud buffer #2

ciroceissler opened this issue May 15, 2018 · 0 comments
Assignees

Comments

@ciroceissler
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant