Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 123677

Forum Post: RE: Can I allocate my data in OpenMP's shared region directly?

$
0
0

Marvin,

The SharedRegion you mention is used to create a heap for malloc's in OpenMP. If your data is static, you can define a variable of the appropriate size and place it in DDR using the DATA_SECTION pragma.

I'm not entirely clear on the "data transfer from memory heap to shared region" comment - can you explain?

Regds, Ajay


Viewing all articles
Browse latest Browse all 123677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>