Skip to content

variables map between OpenMP and HardCloud buffer #2

@ciroceissler

Description

@ciroceissler

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions