Software Archive
Read-only legacy content
17061 Discussions

Allocating memory on the MIC from the host

Akshay_Venkatesh
Beginner
221 Views

Hi All,

Just out of curiosity, is there way to allocate memory on the MIC from the host or does the offload engine entirely responsible for this?

Thanks,

0 Kudos
1 Reply
Kevin_D_Intel
Employee
221 Views

With offload the offload engine should perform the allocation. The Behind the Scenes: Offload Memory Management on the Intel® Xeon Phi™ coprocessor blog discusses reasons why.

One can allocate/manage heap-allocated data within an offload region if that's the interest. Refer to Explicitly managed Heap-allocated Data discussed here. A related thread here may offer further insight.

0 Kudos
Reply